[web2py] Re: Web2py 2.27.2 missing pg8000 driver for postgresql databases

2018-11-19 Thread Anthony
pg8000 was removed from web2py contrib (I think due to bugs/lack of maintenance). Anthony On Sunday, November 18, 2018 at 1:46:35 PM UTC-5, jonathan.cl...@whatho.net wrote: > > Hi, > > In the past I have successfully used driver pg8000 to access postgresql > databases via the DAL. I have a

[web2py] Re: Web2py 2.27.2 missing pg8000 driver for postgresql databases

2018-11-19 Thread jonathan . clark
Happy to say all I had to do was pip install --user pg8000. On Sunday, 18 November 2018 18:46:35 UTC, jonatha...@whatho.net wrote: > > Hi, > > In the past I have successfully used driver pg8000 to access postgresql > databases via the DAL. I have a live application now using web2py 2.16.1 > and

Re: [web2py] Re: web2py and jenkins

2018-10-22 Thread Milton Medina
Thanks for your reply! El sáb., 20 oct. 2018 a las 17:58, 黄祥 () escribió: > pls see this thread: > > https://groups.google.com/forum/#!searchin/web2py/jenkins|sort:date/web2py/WZHxzPsI1_c/0fUscGqwAwAJ > > perhaps you can tell what you want to achieve in more speciific, btw it's > oot in this

[web2py] Re: web2py and jenkins

2018-10-20 Thread 黄祥
pls see this thread: https://groups.google.com/forum/#!searchin/web2py/jenkins|sort:date/web2py/WZHxzPsI1_c/0fUscGqwAwAJ perhaps you can tell what you want to achieve in more speciific, btw it's oot in this web2py forum, further detail info can get in jenkins forum best regards, stifan --

[web2py] Re: web2py 2.17.1

2018-10-06 Thread Massimo Di Pierro
web2py 2.17.2 is out and it includes this fix. Thanks Leonel. On Saturday, 6 October 2018 03:54:56 UTC-7, Leonel Câmara wrote: > > Dave see: > https://github.com/web2py/web2py/pull/2030 > > I've fixed many minor incompatibility problems with 2.17.1 this was one of > them. > -- Resources: -

[web2py] Re: web2py 2.17.1

2018-10-06 Thread Leonel Câmara
Dave see: https://github.com/web2py/web2py/pull/2030 I've fixed many minor incompatibility problems with 2.17.1 this was one of them. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: web2py 2.17.1

2018-10-05 Thread David Manns
I have this problem too, there are a few forms where for information clarity I want to show fields which cannot be changed in a particular context. On Monday, October 1, 2018 at 7:43:06 AM UTC-4, Awe wrote: > > Well, yes I think it breaks something, > in 2.16.1 this was fine: > form =

[web2py] Re: web2py 2.17.1

2018-10-01 Thread 'Awe' via web2py-users
Well, yes I think it breaks something, in 2.16.1 this was fine: form = SQLFORM.factory( Field('always_show', default='123', readable=True, writable=False), Field('writable_if_intended', default='456', readable=True, writable=True), readonly=False, ) Both fields were shown, first

[web2py] Re: Web2py website list

2018-09-17 Thread Massimo Di Pierro
Thanks for letting us know. :-) We have not done a good job at maintaining that list and we should clean it up. Anyway, you should be able to submit the site yourself. Let us know if it doe not work and we will fix it. http://web2py.com/poweredby On Sunday, 2 September 2018 14:28:08 UTC-7,

Re: [web2py] Re: Web2py ports busy

2018-09-05 Thread Jim S
So, I assume your using linux on your host. Try this command to see what is running on port 8000: lsof -i :8000 What other ports did you try? -Jim On Wednesday, September 5, 2018 at 2:06:10 AM UTC-5, FRANK OJAMBO wrote: > > the tool am using is putty. > > On Wed, 5 Sep 2018 at 00:18, Jim S >

[web2py] Re: Web2py Python3 ready

2018-09-05 Thread justice Nanhou
i already create some github issues describing erros i found. like this one https://github.com/web2py/web2py/issues/1993#issue-353999376 Am Montag, 3. September 2018 02:20:30 UTC+2 schrieb 黄祥: > > i try web2py on python3 but round about every 2 hours i get some >> ticket from the standard

[web2py] Re: Web2py Python3 ready

2018-09-05 Thread justice Nanhou
Thanks for the quick response. Am Sonntag, 2. September 2018 22:53:41 UTC+2 schrieb Massimo Di Pierro: > > "End-Of-Life of py2 version in 2020" it is not going to happen. Large > banks use python 2. > > Anyway, this is not a web2py problem. It is a python problem. People do > not want to port

Re: [web2py] Re: Web2py ports busy

2018-09-05 Thread FRANK OJAMBO
the tool am using is putty. On Wed, 5 Sep 2018 at 00:18, Jim S wrote: > Sounds like you already have web2py (or something else) running on that > port. > > You can try running on a different port using: > > python web2py.py -p 8001 > > Or, use the tools on your host os to determine what is

[web2py] Re: Web2py ports busy

2018-09-04 Thread Jim S
Sounds like you already have web2py (or something else) running on that port. You can try running on a different port using: python web2py.py -p 8001 Or, use the tools on your host os to determine what is running on port 8000 and stop that process. -Jim On Tuesday, September 4, 2018 at

[web2py] Re: Web2py website shell not available?

2018-09-03 Thread broneksmiglo1
Thank you for help! W dniu poniedziałek, 3 września 2018 17:36:34 UTC+2 użytkownik Anthony napisał: > > On Monday, September 3, 2018 at 10:52:44 AM UTC-4, bronek...@gmail.com > wrote: >> >> Dear All, >> >> First of all, I'm quite a newbie in web app dev, so there's a big chance >> I have a

[web2py] Re: Web2py website shell not available?

2018-09-03 Thread Anthony
On Monday, September 3, 2018 at 10:52:44 AM UTC-4, broneksmig...@gmail.com wrote: > > Dear All, > > First of all, I'm quite a newbie in web app dev, so there's a big chance I > have a trival question - apologies for that (tried to find the answer here > - without positive results). > > I want

[web2py] Re: web2py & jenkins

2018-09-02 Thread 黄祥
think you can use git, subversion, etc for version control system (git most used by people) for jenkins extensions or plugins perhaps you can get more detail info from their site or forum as you can see from example of my previous post is just simply - copy the web2py app from my repository

[web2py] Re: web2py & jenkins

2018-09-02 Thread Vowner
Hello, Thanks for your reply. Actually I am in a initial stage to implement Jenkins for the python webdelopers to automate their process. We are planning for setup a version control system and Jenkins as ci. But I am confused here about that up to what extension, Jenkins can help them to

[web2py] Re: web2py & jenkins

2018-09-02 Thread 黄祥
yes, you can *e.g.* *note : change path with your own path* *~/.jenkins/jobs/web2py/config.xml* false app /Users/sugizo/git/web2py/ ALL false false ALL

[web2py] Re: Web2py Python3 ready

2018-09-02 Thread 黄祥
> > i try web2py on python3 but round about every 2 hours i get some > ticket from the standard library describing some python syntax errors who > doesn't make me more productive. I already create some issues with py3 on > Github. > pls post the error traceback that you got best regards,

[web2py] Re: Web2py Python3 ready

2018-09-02 Thread Massimo Di Pierro
"End-Of-Life of py2 version in 2020" it is not going to happen. Large banks use python 2. Anyway, this is not a web2py problem. It is a python problem. People do not want to port code (apps) that have written long ago. The developers may have left. On Sunday, 2 September 2018 11:03:30 UTC-7,

[web2py] Re: web2py & jenkins

2018-09-02 Thread Vowner
I am also having the same doubt. How to make jenkins to automate the testing and deployment of web2py tool. On Thursday, October 17, 2013 at 9:46:40 PM UTC+5:30, Mirko wrote: > > Hi there, > > does anybody here know how to set up jenkins to run "python web2py.py > --run_system_tests" ? > > It

[web2py] Re: Web2py and Janrain: facebook login redirect misfires

2018-08-26 Thread GiuGiu Roberti
I noticed that in the last release of Web2py the problem was solved. I tried to upgrade from Web2py 2.14 to 2.17 but since the site stopped working I chose this temporary solution: 1) these are the new files I added (taken from Web2py 2.17) */web2py/gluon/contrib/ipaddress.py*

[web2py] Re: web2py 2.17.1

2018-08-25 Thread lyn2py
I'm using Python 3, and when I run into a traceback, this is the ticket details (it's the same one...) 'NoneType' object has no attribute 'strip'Version web2py™ Version 2.17.1-stable+timestamp.2018.08.05.17.57.00Traceback 1. no traceback because template parsing error On Monday, August 6,

[web2py] Re: web2py 2.17.1

2018-08-24 Thread pbreit
I'm still not sure how to upgrade a git installation. git pull git submodule update --recursive git pull --recurse-submodules ? Maybe that could be added to: https://github.com/web2py/web2py/blob/master/README.markdown -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] Re: web2py 2.17.1

2018-08-20 Thread Bob St John
I just downloaded 2.17.1 and it works great... thankyou! However I am a bit confused with the pyDAL that came with it... _version_ = 17.11 Same version 17.11 when I downloaded pyDAL using pip Is this the latest pyDAL 18.08 only without the _version_ number updated? On Sunday, August 5, 2018 at

[web2py] Re: web2py won't update mysql table with new fields

2018-08-18 Thread Erik
Thanks! That fixed it. On Saturday, August 18, 2018 at 11:09:23 AM UTC-7, Anthony wrote: > > It's hard to say what the original problem could have been, but once you > do a fake migrate, the DAL will think the current table definition > represents the state of the database and will therefore

[web2py] Re: web2py won't update mysql table with new fields

2018-08-18 Thread Anthony
It's hard to say what the original problem could have been, but once you do a fake migrate, the DAL will think the current table definition represents the state of the database and will therefore not attempt any migration. You can try the following: - Comment out the lines with the two new

[web2py] Re: web2py 2.17.1

2018-08-13 Thread Jim Karsten
I am conditionally displaying the form input in a view. Something like this: {{if 'name' in form.fields:}} Name: {{=form.custom.widget.name}} {{pass}} I can change that to: {{if 'name' in form.custom.widget:}} ... {{pass}} On Sunday, August 12, 2018 at 9:36:06 PM UTC-4, Massimo Di Pierro

Re: [web2py] Re: web2py 2.17.1

2018-08-13 Thread sandeep patel
Thanks, @Leonel Câmara Now works fine! /sp On Mon, Aug 13, 2018 at 5:30 PM Leonel Câmara wrote: > Sandeep I think that's this issue: > > https://github.com/web2py/web2py/issues/1972 > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > -

[web2py] Re: web2py 2.17.1

2018-08-13 Thread Leonel Câmara
Sandeep I think that's this issue: https://github.com/web2py/web2py/issues/1972 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this

[web2py] Re: web2py 2.17.1

2018-08-12 Thread Massimo Di Pierro
Cannot reproduce this. it works for me. Mind that configuration.take('app.toolbar') == 'false' while configuration.get('app.toolbar') is False On Tuesday, 7 August 2018 07:28:55 UTC-7, 黄祥 wrote: > > configuration.take() no longer worked > *e.g.* > *private/appconfig.ini* > [app] > toolbar =

[web2py] Re: web2py 2.17.1

2018-08-12 Thread Massimo Di Pierro
On second look this is correct and intentional and fixed a bug. this form is a from a factory and there is no record. the field is not writable therefore it can only be displayed in read-only mode but there is no value (record) to display. Does it break something? On Sunday, 12 August 2018

Re: [web2py] Re: web2py broken

2018-08-12 Thread 黄祥
still not sure where problem is in web2py part or in database sqlite part just an idea, why not separate the root cause first. in dev or testing environment, 1. use the same web2py app, with new database (test crud work or not). if work, then the problem probably is in database part 2. just

Re: [web2py] Re: web2py broken

2018-08-12 Thread BlueShadow
well in windows (home pc) I got full access for myself, system, admin and authenticated users. on my linux server I got the following: -rw-r--r-- 1 www-data www-data but never the less it doesn't work on either system. Any other idea? On Sunday, August 12, 2018 at 12:44:10 PM UTC+2, Junior

[web2py] Re: web2py 2.17.1

2018-08-12 Thread Massimo Di Pierro
No. will fix it. On Sunday, 12 August 2018 12:52:31 UTC-7, Jim Karsten wrote: > > I'm seeing a change in behaviour between versions 2.16.1 and 2.17.1. > > form = SQLFORM.factory(Field('name', writable=False)) > print form.fields > > # In 2.16.1 prints: ['id', 'name'] > # In 2.17.1 prints: ['id']

[web2py] Re: web2py 2.17.1

2018-08-12 Thread Jim Karsten
I'm seeing a change in behaviour between versions 2.16.1 and 2.17.1. form = SQLFORM.factory(Field('name', writable=False)) print form.fields # In 2.16.1 prints: ['id', 'name'] # In 2.17.1 prints: ['id'] Is this intentional? -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Re: web2py broken

2018-08-12 Thread Junior Phanter
check the database permissions... Em 12/08/2018 06:14, "BlueShadow" escreveu: Do you guys have any tips what I can try next in order to fix it? Do you need to see other files? thanks for your help kind regards BlueShadow -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Re: web2py broken

2018-08-12 Thread BlueShadow
Do you guys have any tips what I can try next in order to fix it? Do you need to see other files? thanks for your help kind regards BlueShadow -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: web2py broken

2018-08-11 Thread BlueShadow
So I tried to connect on python. and it seems to work. I wrote this tiny program: import sqlite3 conn = sqlite3.connect('storage.sqlite') print(conn) c = conn.cursor() c.close() this is the output: So I guess it has nothing to do with a corrupted database. -- Resources: - http://web2py.com -

Re: [web2py] Re: web2py broken

2018-08-10 Thread BlueShadow
here is my menu.py: # -*- coding: utf-8 -*- # this file is released under public domain and you can use without limitations # ## Customize your APP title, subtitle and menus here

Re: [web2py] Re: web2py broken

2018-08-10 Thread 黄祥
if you sure the problem is with database sqlite file and your data is not corrupted (integrity checked database = OK) just an idea why not extract your data and put it on new database (sqlite or another dbms (recommended using export_to_csv_file() and import_from_csv_file() ) *# backup

Re: [web2py] Re: web2py broken

2018-08-10 Thread Anthony
Are you able to connect to the database (either the one on your server or the copy you have downloaded to your machine) via a Python shell using https://docs.python.org/2/library/sqlite3.html (i.e., no web2py or DAL)? Anthony On Friday, August 10, 2018 at 11:00:43 AM UTC-4, BlueShadow wrote:

Re: [web2py] Re: web2py broken

2018-08-10 Thread Jim S
What about menu.py? Can we see that? -Jim On Friday, August 10, 2018 at 10:00:43 AM UTC-5, BlueShadow wrote: > > Hi thanks for all the answers. > Just before I got your answers I found this article: > https://www.team-mediaportal.com/wiki/display/MediaPortal1/Repair+SQLite+Database > > which

Re: [web2py] Re: web2py broken

2018-08-10 Thread villas
Although I don't really use SQLite, I just noticed that I have "SQLite2009 Pro Enterprise Manager" on my Windows PC. For a better list of tools, try the SQLite website: https://www.sqlite.org/cvstrac/wiki?p=ManagementTools -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: web2py broken

2018-08-10 Thread 黄祥
you said your last backup is not work, is it on web2py app backup (*.py, etc) or database backup (something.sqlite or *.csv or *.sql) ? did you do incremental backup? if yes pls restore it one by one (date descending) to verify which one is work and the rest is same like the other's suggestion:

Re: [web2py] Re: web2py broken

2018-08-10 Thread Jim S
How much of your app/data can you share with us? What does db.py look like? -Jim On Friday, August 10, 2018 at 7:32:05 AM UTC-5, BlueShadow wrote: > > Hi thanks for the post villas. > I have the database on my local pc. (storage.sqlite) > I opened it with the tool db browser and it seems to be

Re: [web2py] Re: web2py broken

2018-08-10 Thread Kevin Bethke
Hi thanks for the post villas. I have the database on my local pc. (storage.sqlite) I opened it with the tool db browser and it seems to be OK. At least I can view all the tables and I checked a few entries which are still there. Are there any tools you reccommend to verify and check it. I looked

[web2py] Re: web2py broken

2018-08-10 Thread villas
Hi Blueshadow, I think I would first make a copy of the SQLite database file and then use SQLite tools to examine and verify its integrity. By the way, whilst I find SQLite very useful for new experimental apps, I would not advise using SQLite in a production environment. I believe you

[web2py] Re: web2py broken

2018-08-09 Thread BlueShadow
No one? Did I give insufficient information? I really need some help with this Problem thanks guys. On Thursday, August 9, 2018 at 1:27:42 PM UTC+2, BlueShadow wrote: > > > I just downloaded my entire app. (with FTP since I can't access the > webinterface) Now when I try to run it locally on a

[web2py] Re: web2py broken

2018-08-09 Thread BlueShadow
I just downloaded my entire app. (with FTP since I can't access the webinterface) Now when I try to run it locally on a web2py compiled server (newest one directly from the site). I get the following error: 127.0.0.1.2018-08-09.13-16-30.9c125719-b261-4285-8a88-3012470558cc file is encrypted

Re: [web2py] Re: web2py 2.17.1

2018-08-07 Thread Ben Duncan
Installed it and it's up whilst I learn it ... On Tue, Aug 7, 2018 at 9:29 AM 黄祥 wrote: > configuration.take() no longer worked > *e.g.* > *private/appconfig.ini* > [app] > toolbar = false > > *models/db.py* > response.show_toolbar = configuration.take('app.toolbar') # not worked > while in

[web2py] Re: web2py 2.17.1

2018-08-07 Thread 黄祥
configuration.take() no longer worked *e.g.* *private/appconfig.ini* [app] toolbar = false *models/db.py* response.show_toolbar = configuration.take('app.toolbar') # not worked while in the past worked, result the response.toolbar() is shown even the value is false, use configuration.get()

[web2py] Re: web2py internal error

2018-07-19 Thread Anthony
Googling that error message, it looks like it could have something to do with concurrency and the .pyc file for the module. Maybe confirm the module isn't corrupted, and remove its .pyc file. Anthony On Thursday, July 19, 2018 at 2:04:00 AM UTC-4, Dave S wrote: > > > > On Monday, July 16, 2018

[web2py] Re: web2py internal error

2018-07-19 Thread Dave S
On Monday, July 16, 2018 at 3:18:34 PM UTC-7, Anthony wrote: > > On Monday, July 16, 2018 at 3:18:44 PM UTC-4, Peter Hendriks wrote: >> >> Ticket issued: >> malta_advies/141.8.9.39.2018-07-16.13-01-34.2270ef94-db9a-47a5-8866-f081bdf9715f >> >>

[web2py] Re: web2py internal error

2018-07-17 Thread Peter Hendriks
When web2py generates an error like that, the ticket that it links to contains details of what is causing the error. That ticket is also written to disk somewhere. You can check the web2py documentation for where the ticket is stored so you can look at it to determiner what is wrong. Thanks

[web2py] Re: web2py internal error

2018-07-17 Thread Peter Hendriks
I can go in to the admin by typing https://www.maltaa-advies.nl/admin then I get the login screen for admin. Op dinsdag 17 juli 2018 00:12:29 UTC+2 schreef Dave S: > > > > On Monday, July 16, 2018 at 12:18:44 PM UTC-7, Peter Hendriks wrote: >> >> Ticket issued: >>

[web2py] Re: web2py internal error

2018-07-16 Thread Anthony
On Monday, July 16, 2018 at 3:18:44 PM UTC-4, Peter Hendriks wrote: > > Ticket issued: > malta_advies/141.8.9.39.2018-07-16.13-01-34.2270ef94-db9a-47a5-8866-f081bdf9715f > >

[web2py] Re: web2py internal error

2018-07-16 Thread Dave S
On Monday, July 16, 2018 at 12:18:44 PM UTC-7, Peter Hendriks wrote: > > Ticket issued: > malta_advies/141.8.9.39.2018-07-16.13-01-34.2270ef94-db9a-47a5-8866-f081bdf9715f > >

[web2py] Re: web2py + gevent

2018-07-11 Thread 黄祥
did you use gevent as web server using anyserver.py? if yes, perhaps this thread can give any clue: https://groups.google.com/forum/#!topic/web2py/VP6KiNkR4OY best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: web2py-ipython shell error: "list index out of range"

2018-07-08 Thread Jose C
Great Stifan, thanks for confirming. I'll file a bug report with the dev team. Regards, Jose On Sunday, 8 July 2018 12:41:59 UTC+1, 黄祥 wrote: > > yes, have the same error too on docker, not sure on line 329, i've checked > it shown: > 'import IPython error; use default python shell') > >

[web2py] Re: web2py-ipython shell error: "list index out of range"

2018-07-08 Thread 黄祥
yes, have the same error too on docker, not sure on line 329, i've checked it shown: 'import IPython error; use default python shell') *step to reproduce an error on docker* *python 2 docker ubuntu image with web2py nightly source* docker pull ubuntu docker run -it ubuntu /bin/bash apt update

[web2py] Re: web2py-ipython shell error: "list index out of range"

2018-07-08 Thread Jose C
Hi Stifan, Many thanks for checking. I noticed you used the stable version: 2.16.1-stable+timestamp.2017.11.14.05.54.25. I was using the latest nightly: 2.16.1-stable+timestamp.2018.06.02.04.50.21 I tested with the stable version you used and it works fine here too. This implies that a bug

[web2py] Re: web2py-ipython shell error: "list index out of range"

2018-07-07 Thread 黄祥
tested on docker with ubuntu image no problem with python 2 and python 3 *e.g.* *python 2 docker ubuntu image* docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y python-pip unzip wget pip install ipython wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o

[web2py] Re: WEB2PY CAS with basic auth

2018-06-18 Thread Ben Hagen
I have filed an issue for this: https://github.com/web2py/web2py/issues/1938 Maybe someone can point me in the right direction how it could be fixed. Am Mittwoch, 23. Mai 2018 16:19:02 UTC+2 schrieb Ben Hagen: > > Sorry yeah I truncated the URL in this message for privacy. In fact it > does

[web2py] Re: Web2py locks row at auth_user and web2py_session_* tables and doesn't unlock them

2018-06-04 Thread Lisandro
I just wanted to confirm that the problem was apparently solved after upgrading web2py to version 2.16.1 and also upgrading Redis to latest stable 64bit version (version 1.8.1). The app has been running for a couple of weeks now and the problem didn't arise. I truly sorry having bothered you

[web2py] Re: WEB2PY CAS with basic auth

2018-05-23 Thread Ben Hagen
Sorry yeah I truncated the URL in this message for privacy. In fact it does look like this auth = Auth(db, cas_provider='https:/example.com/central/default/user/cas') auth.settings.allow_basic_login = True @auth.requires_login() def default(): return dict() CAS is working as expected. The

[web2py] Re: WEB2PY CAS with basic auth

2018-05-22 Thread 黄祥
cas_provider value should be using the url 1. auth = Auth(db,cas_provider = 'http://applocal/main/default/user/cas') *ref:* http://www.web2pyslices.com/slice/show/1877/single-login-by-two-different-ways best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: WEB2PY CAS with basic auth

2018-05-22 Thread Ben Hagen
I am having the same issue here on version 2.16.1. Basic example would be auth = Auth(db, cas_provider='/central/default/user/cas') auth.settings.allow_basic_login = True @auth.requires_login() def default(): return dict() @massimo did you create a bug? Can't find it on github. Am

[web2py] Re: web2py 2.16.1 is OUT

2018-05-16 Thread 黄祥
test in web2py source 2.16.1-stable+timestamp.2017.11.14.05.54.25 (Running on Rocket 1.2.6, Python 3.6.2) Traceback (most recent call last): File "/Users/sugizo/python/web2py/gluon/custom_import.py", line 77, in custom_importer return NATIVE_IMPORTER(oname, globals, locals, fromlist,

[web2py] Re: web2py Requires gitpython module

2018-05-14 Thread Andrea Fae'
Yes I installed but it's not working showing me the message below. Il giorno domenica 13 maggio 2018 16:31:41 UTC+2, Andrea Fae' ha scritto: > > When I try to "push git " i See the error "requires gitpython module" > > Requires gitpython module, but not installed or incompatible version: >

[web2py] Re: web2py auto generated forms

2018-05-06 Thread Anthony
On Sunday, May 6, 2018 at 8:37:18 PM UTC-4, Ali Mhrez wrote: > > Hello web2py community > I heard that using auto generated forms (e.i forms, grid ...etc) is not > good in production, so i wonder if this is true? and if yes why is that? > If i can remember correctly, mr massimo says that in one

[web2py] Re: web2py 2.16.1 is OUT

2018-05-06 Thread lyn2py
Hi Massimo, I explained with some examples over at: https://groups.google.com/forum/#!topic/web2py/tNmfCY5nxHM I tried to fiddle with gluon/restricted.py but not knowing what the functions / methods are for, I gave up after some hours and used a quick fix for now, in hope of a proper traceback

[web2py] Re: Web2py locks row at auth_user and web2py_session_* tables and doesn't unlock them

2018-05-05 Thread Massimo Di Pierro
That is a very old version of web2py. The problem may have been solved years ago. ;-) On Thursday, 3 May 2018 16:37:53 UTC-5, Lisandro wrote: > > I came back to reply this particular message, because the problem happened > again yesterday. > > Just in order to remember, the problem was with

[web2py] Re: web2py 2.16.1 is OUT

2018-05-05 Thread Massimo Di Pierro
can you show an example of what you mean? On Friday, 27 April 2018 21:21:47 UTC-5, lyn2py wrote: > > Hello, > > The traceback for Python 3 is not like the ones in Python 2 and it can get > difficult to debug the program, is it possible to see a fix soon? > > Thank you! > > On Tuesday, November

[web2py] Re: Web2py locks row at auth_user and web2py_session_* tables and doesn't unlock them

2018-05-04 Thread Anthony
> > I'm using an old web2py version (Version > 2.10.3-stable+timestamp.2015.04.02.21.42.07). > I already have plans to upgrade. > But before, could I manually update only gluon/contrib/redis_*.py files? > In your opinion, does that test worthwhile? Does it make any sense? > I haven't studied

[web2py] Re: Web2py locks row at auth_user and web2py_session_* tables and doesn't unlock them

2018-05-03 Thread Lisandro
I came back to reply this particular message, because the problem happened again yesterday. Just in order to remember, the problem was with redis_cache.py failing to write some specific key name. Not *__lock object was found in the cache during the incident. Connecting manually to redis-cli

[web2py] Re: web2py, PostgreSQL and exclusive locks

2018-05-03 Thread Lisandro
Please ignore that last message of mine. The hanging problem was produced by an issue with the redis_cache.py adapter failing to write a cache key. El miércoles, 2 de mayo de 2018, 17:08:38 (UTC-3), Lisandro escribió: > > Well, I've commented out the line of the postgresql adapter of web2py,

[web2py] Re: web2py, PostgreSQL and exclusive locks

2018-05-02 Thread Lisandro
Well, I've commented out the line of the postgresql adapter of web2py, the line where it runs the SET standard_conforming_strings=on; but now it hangs in the previous line "SET CLIENT_ENCODING TO 'UTF8'". This is the function of the web2py's adapter where the application hangs:

[web2py] Re: web2py, PostgreSQL and exclusive locks

2018-05-02 Thread Lisandro
Hi there, sorry to bother in this old post. I'm having a problem regarding standard_conforming_strings. Today my app experienced a problem with Redis going out of memory. After the problem was fixed, all my websites started to work normally, except four of them (of a total of 260 websites). For

[web2py] Re: web2py pwa

2018-04-30 Thread Valdeck Rowe
Hey, Check out upup by Tal Ater ( https://www.talater.com/upup/getting-started-with-offline-first.html). Run through the simple tutorial. Saved me a ton of time. I've used it in a project where I needed a PWA. Not a web2py app, but the process should be applicable. Found out about it here:

[web2py] Re: web2py 2.16.1 is OUT

2018-04-27 Thread lyn2py
Hello, The traceback for Python 3 is not like the ones in Python 2 and it can get difficult to debug the program, is it possible to see a fix soon? Thank you! On Tuesday, November 14, 2017 at 1:59:52 PM UTC+8, Massimo Di Pierro wrote: > > web2py 2.16.1 is OUT > > Lots of bugs fixes contributed

Re: [web2py] Re: web2py 2.16.1 and login menu on mobile systems NOT WORKING

2018-04-24 Thread Massimo Di Pierro
thanks Anthony. I keep saying "trunk" and should switch to a more appropriate terminology. :-) On Monday, 23 April 2018 09:19:48 UTC-5, Anthony wrote: > > On Monday, April 23, 2018 at 7:35:35 AM UTC-4, Andrea Fae' wrote: >> >> I'm sorry. What is "in trunk"? >> > > That just refers to the master

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-24 Thread Richard Vézina
Here : https://github.com/web2py/web2py/issues/1911 On Tue, Apr 24, 2018 at 11:20 AM, Richard Vézina < ml.richard.vez...@gmail.com> wrote: > Also, to my understanding it only log an error, it no big deal, as long as > the welcome app package is there... What we could do it to log an error > when

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-24 Thread Richard Vézina
Also, to my understanding it only log an error, it no big deal, as long as the welcome app package is there... What we could do it to log an error when there is actually no welcome app pacakge as it break web2py functionality other then that as long as the welcome package is there the only issue

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-24 Thread Richard Vézina
Yes but even then, in the end you don't want to create a new welcome package if it not a new install as it gonna slow things down... So it will end slow down thing and always create an new welcome package, no?? I would leave it like that and add a NEWINSTALL empty file in the repository... We

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-24 Thread Carlos Cesar Caballero Díaz
I think we should check if the file exists before try to delete it. or move the unlik() function to a new "try-except" block, something like: if welcome.w2p is correctly created:     try:     os.unlink('NEWINSTALL')     except FileNotFoundError:     nothing to do     except:   

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-23 Thread Richard Vézina
Actually it already inside a try... And it only logging an error... Should this be an error or a warning?? I guess this is done for the appadmin to allow it to create new app as it base on welcome... The welcome template is provision at first web2py run once install and derived from the welcome

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-23 Thread Richard Vézina
I guess we could had a simple "try" there... Richard On Mon, Apr 23, 2018 at 1:26 PM, Richard Vézina wrote: > Yeah this file is not there when we clone web2py... But I just check and > it's there when you download web2py build from web2py.com... > > What's weird

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-23 Thread Richard Vézina
Yeah this file is not there when we clone web2py... But I just check and it's there when you download web2py build from web2py.com... What's weird is that I didn't have the issue... Richard On Mon, Apr 23, 2018 at 12:39 PM, Carlos Cesar Caballero Díaz < carlos.caball...@cfg.jovenclub.cu> wrote:

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-23 Thread Carlos Cesar Caballero Díaz
Ok, I have found the issue: Traceback (most recent call last):   File "/home/carlos.caballero/test/w2ptest/gluon/fileutils.py", line 270, in create_welcome_w2p     os.unlink('NEWINSTALL') FileNotFoundError: [Errno 2] No such file or

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-23 Thread Carlos Cesar Caballero Díaz
Hi, after replacing there are no changes, the message appears again. I have also noted that in my system is happening with python 2.7 too. El 23/04/18 a las 11:48, Richard Vézina escribió: In gluon/fileutil.py Richard On Mon, Apr 23, 2018 at 11:47 AM, Richard Vézina

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-23 Thread Richard Vézina
In gluon/fileutil.py Richard On Mon, Apr 23, 2018 at 11:47 AM, Richard Vézina < ml.richard.vez...@gmail.com> wrote: > The python3 welcome.w2p creation issue?? > > I think it a dependency issue that might be obufuscated by _compat.py > > You can try to replace this line : > >

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-23 Thread Richard Vézina
The python3 welcome.w2p creation issue?? I think it a dependency issue that might be obufuscated by _compat.py You can try to replace this line : w2p_pack('welcome.w2p', 'applications/welcome') By w2p_pack('welcome.w2p', 'applications', 'welcome') And report here if it help... Richard On

Re: [web2py] Re: web2py 2.16.1 is OUT

2018-04-23 Thread Carlos Cesar Caballero Díaz
I have the same issue, using the current master branch in Ubuntu. Greetings. El 21/04/18 a las 08:21, Richard Vézina escribió: Actually I can't reproduced... It could it be a permission error?? Try to clone it fresh some where you have full access with this command : git clone --recursive

Re: [web2py] Re: web2py 2.16.1 and login menu on mobile systems NOT WORKING

2018-04-23 Thread Anthony
On Monday, April 23, 2018 at 7:35:35 AM UTC-4, Andrea Fae' wrote: > > I'm sorry. What is "in trunk"? > That just refers to the master branch on Github (I think the term "trunk" is more commonly used in the context of the Subversion version control system to represent the "main line" of

Re: [web2py] Re: web2py 2.16.1 and login menu on mobile systems NOT WORKING

2018-04-23 Thread 黄祥
> > I'm sorry. What is "in trunk"? > it means you should try the fixed version from the github repo itself by: git clone --recursive https://github.com/web2py/web2py.git best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: web2py 2.16.1 and login menu on mobile systems NOT WORKING

2018-04-23 Thread andfae
I'm sorry. What is "in trunk"? Il Lun 23 Apr 2018, 13:17 Paolo Caruccio ha scritto: > This issue has been already fixed in trunk. Please see: > > https://github.com/web2py/web2py/issues/1828 > > https://github.com/web2py/web2py/issues/1886 > > If you don't want to

[web2py] Re: web2py 2.16.1 and login menu on mobile systems NOT WORKING

2018-04-23 Thread Paolo Caruccio
This issue has been already fixed in trunk. Please see: https://github.com/web2py/web2py/issues/1828 https://github.com/web2py/web2py/issues/1886 If you don't want to download the updated version of layout.html file and prefer to manually correct the problem please see

[web2py] Re: Web2py locks row at auth_user and web2py_session_* tables and doesn't unlock them

2018-04-21 Thread Lisandro
El sábado, 21 de abril de 2018, 18:00:36 (UTC-3), Anthony escribió: > > A quick comment about a couple of tests I did regarding RedisSession (that >> also has a "with_lock" argument). >> To the test, I updated web2py locally to version >> 2.16.1-stable+timestamp.2017.11.14.05.54.25 >> And then I

<    1   2   3   4   5   6   7   8   9   10   >