[web2py] Re: !web2py, but i'm asking someone's help with aws-sdk-js.

2019-05-16 Thread Dave S
On Wednesday, May 15, 2019 at 8:44:52 PM UTC-7, lucas wrote: > > [...] > i'm crazy because all of the examples are spread all over hell and some > have similar code but then mix in a thing called node.js and hence a > require('aws-sdk') which i can't figure out if node.js is a client side >

[web2py] Re: web2py - didn't disconect from postgreSQL auth database (TIME_WAIT)

2019-05-15 Thread Dave S
On Monday, May 13, 2019 at 3:18:35 AM UTC-7, Krzysztof Jeleń wrote: [...] > Current;y I'm not sure is this only Chrome issue, the problem is that > using DAL withput calling explicity DAL close method leave a lot of sockets > in wating state on server side. I was able to reduce its number

Re: [web2py] Re: Web2py/DAL equivalent of "not in [a table]"

2019-05-14 Thread Eliezer (Vlad) Tseytkin
Oh, no problem, I've adjusted it for my case. My problem was that I wasn't aware about subqueries (_select vs. select), so that was the main take away :) On Wed, May 15, 2019, 1:28 AM Massimo Di Pierro wrote: > Something is wrong. You are searching that the id of one table is not the > id of

Re: [web2py] Re: Web2py/DAL equivalent of "not in [a table]"

2019-05-14 Thread Massimo Di Pierro
Something is wrong. You are searching that the id of one table is not the id of another table. But that is not a reference. On Tuesday, 14 May 2019 19:49:32 UTC-7, Vlad wrote: > > works like a charm! > thank you ! > > On Tue, May 14, 2019 at 7:16 PM Val K wrote: > >> should help: >> >>

Re: [web2py] Re: Web2py/DAL equivalent of "not in [a table]"

2019-05-14 Thread Eliezer (Vlad) Tseytkin
works like a charm! thank you ! On Tue, May 14, 2019 at 7:16 PM Val K wrote: > should help: > > sql_str = db()._select(db.tbl2.id) #note underscore before `select` > db(~db.tbl1.id.belongs(sql_str)).select(db.tbl1.id, db.tbl1.name) > > > > > > > On Wednesday, May 15, 2019 at 1:06:49 AM UTC+3,

[web2py] Re: Web2py/DAL equivalent of "not in [a table]"

2019-05-14 Thread Val K
should help: sql_str = db()._select(db.tbl2.id) #note underscore before `select` db(~db.tbl1.id.belongs(sql_str)).select(db.tbl1.id, db.tbl1.name) On Wednesday, May 15, 2019 at 1:06:49 AM UTC+3, Vlad wrote: > > What would be an equivalent of the following? > > SELECT ID, Name > FROM

[web2py] Re: web2py - didn't disconect from postgreSQL auth database (TIME_WAIT)

2019-05-13 Thread Krzysztof Jeleń
> >> I'm using web2py (Version 2.14.6-stable+timestamp.2016.05.09.19.18.48). >> > > How long have you been using this version? What OS and what front end and > what version of Python? > 3 years currently, python version is 2.7.5, Centos 7.5.1804, kernel 3.10.0 > > >> Last week I've start

[web2py] Re: web2py - didn't disconect from postgreSQL auth database (TIME_WAIT)

2019-05-12 Thread Dave S
On Monday, May 6, 2019 at 8:29:48 AM UTC-7, Krzysztof Jeleń wrote: > > Hello > > I'm using web2py (Version 2.14.6-stable+timestamp.2016.05.09.19.18.48). > How long have you been using this version? What OS and what front end and what version of Python? > Last week I've start getting

[web2py] Re: web2py 2.18.5 is OUT

2019-04-26 Thread Web2_3py
2.18.5 under python 2: File "C:\Python27\lib\pickle.py", line 892, in load_proto raise ValueError, "unsupported pickle protocol: %d" % proto ValueError: unsupported pickle protocol: 3 2.18.5 under python 3: *import_from_csv_file error* 'charmap' codec can't decode byte 0x81 in

Re: [web2py] Re: Web2py binaries

2019-04-24 Thread Nico Zanferrari
Hello, I'm happy to say that I've gained the Win version, too! So, now we have a working web2py binary made with PyInstaller with python 3.7.3 or 2.7.16 - for MacOs or Windows. Also, the current web2py version (2.18.5) should be easily updated in the future by changing the gluon folder inside

Re: [web2py] Re: Web2py binaries

2019-04-22 Thread Nico Zanferrari
Hi, the binary Mac version with python 2.7.16 is easily done, you can grab it here . It's the command version only, because the APP version is problematic - due to the already reported bug with Tk on

Re: [web2py] Re: Web2py binaries

2019-04-20 Thread Nico Zanferrari
Ciao Massimo, I've tried today to build the Windows version with python 2.7 - but it's not so easy as I thought. I'll let you know ... nico Il giorno sab 20 apr 2019 alle ore 17:24 Massimo Di Pierro < massimo.dipie...@gmail.com> ha scritto: > Can you point me to a version OSX and WIN for

Re: [web2py] Re: Web2py binaries

2019-04-20 Thread Massimo Di Pierro
Can you point me to a version OSX and WIN for python 2.7? On Friday, 19 April 2019 01:16:29 UTC-7, Nico Zanferrari wrote: > > Thanks for testing, Dave, I'm happy to hear that it's working fine! > > I think that the Welcome app with latest web2py versions don't look so > fine in Windows and

Re: [web2py] Re: Web2py binaries

2019-04-19 Thread Nico Zanferrari
Thanks for testing, Dave, I'm happy to hear that it's working fine! I think that the Welcome app with latest web2py versions don't look so fine in Windows and python 3, but I cannot see any difference from running it from sources. Let me know if I'm wrong or there are anything else. Nico Il

Re: [web2py] Re: Web2py binaries

2019-04-18 Thread Dave S
On Thursday, April 18, 2019 at 12:48:04 AM UTC-7, Dave S wrote: > > > > On Sunday, April 14, 2019 at 1:28:30 PM UTC-7, Nico Zanferrari wrote: >> >> Hi all, >> >> I've just updated the experimental binaries for MacOs and Windows to >> the latest web2py version (2.18.5) on >>

Re: [web2py] Re: Web2py binaries

2019-04-18 Thread Dave S
On Sunday, April 14, 2019 at 1:28:30 PM UTC-7, Nico Zanferrari wrote: > > Hi all, > > I've just updated the experimental binaries for MacOs and Windows to the > latest web2py version (2.18.5) on > https://github.com/nicozanf/web2py-pyinstaller . They now contain python > 3.7.3 64 bit. Also,

Re: [web2py] Re: Web2py binaries

2019-04-14 Thread Nico Zanferrari
Hi all, I've just updated the experimental binaries for MacOs and Windows to the latest web2py version (2.18.5) on https://github.com/nicozanf/web2py-pyinstaller . They now contain python 3.7.3 64 bit. Also, the web2py sources inside the ZIP is now replaceble with newer web2py versions when

[web2py] Re: web2py 2.18.5 is OUT

2019-04-12 Thread 黄祥
it's work, no error in web2py app, my bad, it's just about configuration migrate_enabled=*True *(in dev environment), already change before but forgot the value of Appconfig(reload=*False*), correct one is *True*, because it's in dev environment, in production environment run well, because the

[web2py] Re: web2py 2.18.5 is OUT

2019-04-11 Thread Massimo Di Pierro
did this code work in earlier versions of web2py? Can you post minimal code to reproduce? On Thursday, 11 April 2019 18:58:23 UTC-7, 黄祥 wrote: > > Traceback (most recent call last): > File "/Users/sugizo/learn/python/web2py/gluon/authapi.py", line 590, in > has_membership > group_id =

[web2py] Re: web2py 2.18.5 breaks mysql connection

2019-04-11 Thread Massimo Di Pierro
will release 2.18.6 asap. fixed in pydal master On Tuesday, 9 April 2019 17:43:43 UTC-7, var...@seas.upenn.edu wrote: > > > Commit 59a9260c5d7b5677d207a90798c1058779dfe871 adds the following line to > gluon/packages/dal/pydal/adapters/mysql.py (line 44 in 2.18.5): > >

[web2py] Re: web2py 2.18.5 is OUT

2019-04-11 Thread 黄祥
Traceback (most recent call last): File "/Users/sugizo/learn/python/web2py/gluon/authapi.py", line 590, in has_membership group_id = int(group_id) ValueError: invalid literal for int() with base 10: 'Admin' During handling of the above exception, another exception occurred: Traceback

[web2py] Re: web2py 2.18.5 is OUT

2019-04-07 Thread Massimo Di Pierro
errata. Many **thanks** to Paolo Pastori for his many bugs fixes and patches. :-) On Sunday, 7 April 2019 22:02:22 UTC-7, Massimo Di Pierro wrote: > > Contains mostly bug fixes, backward compatibility fixes, internal rewrites. > Many takes to Paolo Pastori for his many bugs fixes and patches. >

[web2py] Re: web2py returns an ImportError that can't find the module, but the .pyc file is in the _pycache__ dir

2019-03-26 Thread João Matos
If I recreate the modules\__pycache__ dir on my side, recompile and reinstall the app on the destination server, the compiled app copies the __pycache__ to the destination server when installing (which is correct), but does not copy the __pycache__\general.cpython-37.pyc to modules dir (which

[web2py] Re: web2py returns an ImportError that can't find the module, but the .pyc file is in the _pycache__ dir

2019-03-26 Thread João Matos
I deleted both as instructed. After that I compiled and installed the compiled app on the destination server. The compiled app does not install the modules\general.py or the modules\general.pyc. terça-feira, 26 de Março de 2019 às 03:52:12 UTC, Massimo Di Pierro escreveu: > > all of them. > >

[web2py] Re: web2py returns an ImportError that can't find the module, but the .pyc file is in the _pycache__ dir

2019-03-25 Thread Massimo Di Pierro
all of them. On Monday, 25 March 2019 03:19:01 UTC-7, João Matos wrote: > > Which one? I asked with 2 options. > > segunda-feira, 25 de Março de 2019 às 01:33:00 UTC, Massimo Di Pierro > escreveu: >> >> Yes. Try delete it. >> >> On Sunday, 24 March 2019 11:39:31 UTC-7, João Matos wrote: >>> >>>

[web2py] Re: web2py returns an ImportError that can't find the module, but the .pyc file is in the _pycache__ dir

2019-03-25 Thread João Matos
Which one. I asked with 2 options. segunda-feira, 25 de Março de 2019 às 01:33:00 UTC, Massimo Di Pierro escreveu: > > Yes. Try delete it. > > On Sunday, 24 March 2019 11:39:31 UTC-7, João Matos wrote: >> >> I don't have or use Python 2, only Python 3. >> You want me to delete the __pycache__

[web2py] Re: web2py returns an ImportError that can't find the module, but the .pyc file is in the _pycache__ dir

2019-03-24 Thread Massimo Di Pierro
Yes. Try delete it. On Sunday, 24 March 2019 11:39:31 UTC-7, João Matos wrote: > > I don't have or use Python 2, only Python 3. > You want me to delete the __pycache__ dir from my web2py (where I compile > the app) or from the client end (where I install the compiled app)? > > > domingo, 24 de

[web2py] Re: web2py returns an ImportError that can't find the module, but the .pyc file is in the _pycache__ dir

2019-03-24 Thread João Matos
I don't have or use Python 2, only Python 3. You want me to delete the __pycache__ dir from my web2py (where I compile the app) or from the client end (where I install the compiled app)? domingo, 24 de Março de 2019 às 18:35:19 UTC, Massimo Di Pierro escreveu: > > I recommend deleting

[web2py] Re: web2py returns an ImportError that can't find the module, but the .pyc file is in the _pycache__ dir

2019-03-24 Thread Massimo Di Pierro
I recommend deleting __pycache__. It may be due switching between python 2 and python 3. On Monday, 18 March 2019 13:42:53 UTC-7, João Matos wrote: > > After installing a compiled app, web2py returns an ImportError that can't > find the module, but the .pyc file is in the modules\__pycache__

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-18 Thread Jim S
+1 to what Massimo said On Sunday, March 17, 2019 at 9:43:58 PM UTC-5, Massimo Di Pierro wrote: > > In 2019 I really do not feel recommending using Apache to anybody. nginx > has clearly won this battle. > > On Sunday, 17 March 2019 19:35:55 UTC-7, gertk wrote: >> >> apt-get install

[web2py] Re: web2py 2.18.4 is OUT

2019-03-18 Thread Константин Комков
I describe it here and also I can repeat it when forgot bracket in that query. I think that web2py don't save app if it contain syntax error but not in that case. graduationTypesLevels=[[rec.s_graduation_types.NAME,rec.t_levels.NAME]

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-17 Thread Massimo Di Pierro
In 2019 I really do not feel recommending using Apache to anybody. nginx has clearly won this battle. On Sunday, 17 March 2019 19:35:55 UTC-7, gertk wrote: > > apt-get install libapache2-mod-wsgi-py3 > > laupäev, 16. märts 2019 15:34.22 UTC+2 kirjutas Mamisoa Andriantafika: >> >> This script

Re: [web2py] Re: Web2py binaries

2019-03-17 Thread Massimo Di Pierro
Fantastic. Will process this within the week and make it the new default. On Friday, 15 March 2019 07:55:16 UTC-7, Nico Zanferrari wrote: > > Hi all, > > I've was successful in making the experimental Mac app, too, with python3. > Grab it from https://github.com/nicozanf/web2py-pyinstaller ,

[web2py] Re: web2py 2.18.4 is OUT

2019-03-17 Thread Massimo Di Pierro
can you provide steps to reproduce? On Thursday, 14 March 2019 23:49:22 UTC-7, Константин Комков wrote: > > I think I saved error in my app and after that I have error in web2py. > invalid syntax (, line 14)Версия > web2py™ Version 2.18.4-stable+timestamp.2019.03.13.05.27.54 > Python Python

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-17 Thread gertk
apt-get install libapache2-mod-wsgi-py3 laupäev, 16. märts 2019 15:34.22 UTC+2 kirjutas Mamisoa Andriantafika: > > This script works with python 3 but is under nginx: > > > https://raw.githubusercontent.com/arisobel/web2py_scripts/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh > > > > Le samedi 16

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread Mamisoa Andriantafika
This script works with python 3 but is under nginx: https://raw.githubusercontent.com/arisobel/web2py_scripts/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh Le samedi 16 mars 2019 13:12:06 UTC+1, Mamisoa Andriantafika a écrit : > > Sorry this does not work for me. > > Did you manage to get a

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread 黄祥
perhaps you can share the error log (web server or web2py) tested before in 2018 is worked ref: https://groups.google.com/forum/#!topic/web2py/IFasLOdWsbI best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread Mamisoa Andriantafika
Sorry this does not work for me. Did you manage to get a server working with python 3 and apache? Le samedi 16 mars 2019 12:37:02 UTC+1, 黄祥 a écrit : > > think on line 164 and 165 is the culprit, should be > sudo -u www-data *python3* -c "from gluon.widget import console; > console();" > sudo

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread 黄祥
think on line 164 and 165 is the culprit, should be sudo -u www-data *python3* -c "from gluon.widget import console; console();" sudo -u www-data *python3* -c "from gluon.main import save_password; save_password(raw_input('admin password: '),443)" best regards, stifan -- Resources: -

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-16 Thread Mamisoa Andriantafika
Hi, I uses the 2nd link (python 3) you gave to get it work with apache on ubuntu server 18.04. The first is for nginx. But I still get that web2py is running on 2.7 version of python? Le samedi 16 mars 2019 01:46:30 UTC+1, 黄祥 a écrit : > > might we know which script that you used ? > >

[web2py] Re: Web2py install script python 3/Apache/Ubuntu

2019-03-15 Thread 黄祥
might we know which script that you used ? check script is with python2 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh check script is with python3 https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ubuntu.sh best regards, stifan --

Re: [web2py] Re: Web2py binaries

2019-03-15 Thread Nico Zanferrari
Hi all, I've was successful in making the experimental Mac app, too, with python3. Grab it from https://github.com/nicozanf/web2py-pyinstaller , where there are also all the instructions in order to build it by yourself ;-) A private feedback is appreciated. Nico Il giorno ven 15 mar 2019

Re: [web2py] Re: Web2py online book page is returning an error

2019-03-15 Thread João Matos
Yes, now it's working. sexta-feira, 15 de Março de 2019 às 10:24:33 UTC, Nico Zanferrari escreveu: > > I had the ticket even on the main page, but it worked fine some hours > later. Now I cannot see any problem at all. > > Nico > > > > Il giorno ven 15 mar 2019 alle ore 09:46 João Matos > ha

Re: [web2py] Re: Web2py online book page is returning an error

2019-03-15 Thread Nico Zanferrari
I had the ticket even on the main page, but it worked fine some hours later. Now I cannot see any problem at all. Nico Il giorno ven 15 mar 2019 alle ore 09:46 João Matos ha scritto: > http://web2py.com/books/default/search/29?search=signature > > sexta-feira, 15 de Março de 2019 às 03:54:07

[web2py] Re: Web2py online book page is returning an error

2019-03-15 Thread João Matos
http://web2py.com/books/default/search/29?search=signature sexta-feira, 15 de Março de 2019 às 03:54:07 UTC, Massimo Di Pierro escreveu: > > which page? > > On Wednesday, 13 March 2019 02:12:32 UTC-7, João Matos wrote: >> >> Web2py online book page is returning an error >> >> Internal

[web2py] Re: web2py 2.18.4 is OUT

2019-03-15 Thread Константин Комков
I think I saved error in my app and after that I have error in web2py. invalid syntax (, line 14)Версия web2py™ Version 2.18.4-stable+timestamp.2019.03.13.05.27.54 Python Python 2.7.10: C:\Python27\python.exe (prefix: C:\Python27)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.

[web2py] Re: Web2py binaries

2019-03-14 Thread Massimo Di Pierro
The official version is currently broken. On Wednesday, 13 March 2019 15:53:09 UTC-7, Nico Zanferrari wrote: > > Hi, > > I've just updated the experimental Windows binary version with python > 3.7.2 to web2py 2.18.4 . Also, now there is in addition the no_console > binary and there is the

[web2py] Re: Web2py online book page is returning an error

2019-03-14 Thread Massimo Di Pierro
which page? On Wednesday, 13 March 2019 02:12:32 UTC-7, João Matos wrote: > > Web2py online book page is returning an error > > Internal errorTicket issued: > books/178.166.36.79.2019-03-13.09-10-57.75ae8466-170e-4585-92bb-608882e50879 >

[web2py] Re: web2py 2.18.4 is OUT

2019-03-13 Thread Leonel Câmara
I've sent a fix for the book, it was using a helper function from validators that's not imported right now. https://github.com/web2py/web2py-book/pull/417/files It's more a problem with the book app than the new web2py version. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: web2py 2.18.4 is OUT

2019-03-13 Thread Константин Комков
Thank you! But http://web2py.com/book don't work. -- 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 message because you are subscribed to

[web2py] Re: web2py and timezones

2019-03-09 Thread Valdeck Rowe
Hi, I started to try out niphlod's timezone plugin (https://github.com/niphlod/w2p_timezone_plugin) only to realize that my web2py doesn't recognize the timezone attribute of the IS_DATE* validators. It was then that I noticed the 2.5.4 web2py version that it works with. Any ideas when this

Re: [web2py] Re: web2py reports "invalid function (client/get_approval)" when function has typing return type

2019-03-08 Thread João Matos
Hello, I already opened an issue on Github. Thanks, but I prefer to stick with the old type syntax # type: () -> Dict[str, SQLFORM] solution instead of creating another function. Best regards, João Matos On 08-03-2019 16:45,

[web2py] Re: web2py reports "invalid function (client/get_approval)" when function has typing return type

2019-03-08 Thread Anthony
In order to determine which functions in a controller file to expose as actions, web2py uses the following regex (the intention is to identify only functions that take no arguments and don't start with a double underscore): '^def\s+(?P_?[a-zA-Z0-9]\w*)\( *\)\s*:' As you can see, this does not

[web2py] Re: Web2py Thumbnail App

2019-03-06 Thread Rahul
Hi Jeff, I have an app here (http://www.targetsoft.co.in/artpic) but it isn't open source yet. Besides, I am working heavily to transform it to a new pro level app which would include a social platform and loads of goodies. Also it would be an independent app/site. This app does let

Re: [web2py] Re: web2py 2.18.3 is OUT

2019-03-05 Thread Nico Zanferrari
Hi all, I've just build the experimental Web2py 2.18.3 64 bit windows binaries with Python 3.7.2 . If you want to help, please grab it from https://github.com/nicozanf/web2py-pyinstaller , test it and write the result directly on the related wiki page

[web2py] Re: web2py 2.18.3 is OUT

2019-03-05 Thread Massimo Di Pierro
A new version will be out within the week -- 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 message because you are subscribed to the

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Yi Liu
Is this fix going to be included in next release? or we are on our own? Thanks! On Monday, March 4, 2019 at 9:45:27 AM UTC-8, Leonel Câmara wrote: > > Kevin I didn't test that, but this fix should indeed fix auth messages as > well since they're also LazyT objects that go into session.flash >

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread João Matos
Hello, I tried your fix after upgrading to 2.18.3, but it didn't work for me. I had to continue to use my kludge of copying 3 files from 2.18.1 (compileapp.py, languages.py and utils.py). In my case even the Logged in and Logged out messages from web2py would appear with the b prefix. Best

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Kevin Keller
Just tested it.. works fine now. Your fix works. Thanks heaps! On Monday, 4 March 2019 18:45:27 UTC+1, Leonel Câmara wrote: > > Kevin I didn't test that, but this fix should indeed fix auth messages as > well since they're also LazyT objects that go into session.flash > -- Resources: -

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Kevin Keller
ahh it does fix it.. I applied your fix wrong.. Thanks!!! On Monday, 4 March 2019 18:40:08 UTC+1, Kevin Keller wrote: > > Create a sample app i.e. with the wizard or create a page that needs login > with the inbuild login form and

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Leonel Câmara
Kevin I didn't test that, but this fix should indeed fix auth messages as well since they're also LazyT objects that go into session.flash -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Kevin Keller
Create a sample app i.e. with the wizard or create a page that needs login with the inbuild login form and try to login. The flash message will have the "b" in front off it.. Your fix may address the problem with the other flash messages, but not with the messages from the authapi.py On

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Leonel Câmara
The only way I could reproduce the b' issue was by putting something in the session that was being translated like this: session.flash = T("Hello World") I've fixed that particular case: https://github.com/web2py/web2py/pull/2127 I can't reproduce the b' problem you guys are having in any

Re: [web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Lovedie JC
Nice. Thanks for the bug fixes. Any info on the xml()? Regards On Mon, 4 Mar 2019, 14:58 Kevin Keller wrote: > Thanks! > > Its so cool seeing this moving along so quickly. > > There is one thing about this release that is still bothering me, which I > tried to fix myself, but to no avail. > The

[web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Kevin Keller
Thanks! Its so cool seeing this moving along so quickly. There is one thing about this release that is still bothering me, which I tried to fix myself, but to no avail. The "b" that is showing in the flash messages. See screenshot. and here: https://github.com/web2py/web2py/issues/2119

[web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Massimo Di Pierro
The problem really is that urlib_quote is never imported from gluon._compat. Will push a 2.18.3 today with this and other small fixes. On Saturday, 2 March 2019 23:57:03 UTC-8, Ricardo Antonio Zarco wrote: > > The same, I was using python 2.7.5 In my case was the main.py in gluon. > The

Re: [web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Kevin Keller
Ricardos change fixes it: main.py in gluon. The urllib_quote is not recognized, i change by urllib2.quote On Sunday, 3 March 2019 11:22:37 UTC+1, Lovedie JC wrote: > > Same to me and I have to save se3times and even merge the documents for it > ot finally save. > Regards > > On Sun, 3 Mar

Re: [web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Lovedie JC
Same to me and I have to save se3times and even merge the documents for it ot finally save. Regards On Sun, 3 Mar 2019, 13:20 Kevin Keller wrote: > The same here with python 3.7.1 on Windows10 latest Web2py from git from > this morning. > Pressing the save button twice brings up the merge

[web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Kevin Keller
The same here with python 3.7.1 on Windows10 latest Web2py from git from this morning. Pressing the save button twice brings up the merge dialogue, which does the trick for me for now.. On Tuesday, 26 February 2019 19:25:32 UTC+1, John McMaster wrote: > > Just installed web2py version 2.18.2

[web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-02 Thread Ricardo Antonio Zarco
The same, I was using python 2.7.5 In my case was the main.py in gluon. The urllib_quote is not recognized, i change by urllib2.quote El martes, 26 de febrero de 2019, 19:25:32 (UTC+1), John McMaster escribió: > > Just installed web2py version 2.18.2 and now I get a communications error > when

[web2py] Re: web2py - docker - sending email

2019-03-01 Thread Paul Ellis
Naturally the one thing I didn't post. The Email configuration. Was not correct. The appconfig.ini, correctly, is not the same on the new server as the old one and still had fake email settings. Copied the working settings in, restarted and it works. Note: Exposing the email ports is not

[web2py] Re: Web2py freezes when inserting rows. Problem seems to be database connection limit per application.

2019-03-01 Thread William
I have somehow fixed this by adding "*enable-threads = true*" to my uwsgi ini file. Just leaving this here in case someone faces the same problem. [uwsgi] chdir = /opt/web2py_apps/web2py module = wsgihandler:application master = true *enable-threads = true* processes = 10 uid = web2py socket

[web2py] Re: Web2py freezes when inserting rows. Problem seems to be database connection limit per application.

2019-02-27 Thread Leonel Câmara
If you're inserting a lot of rows you should probably be using the scheduler. That said you don't have a harakiri config so it's probably a timeout in your nginx config. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Web2py Windows edition with 3.x Interpreter

2019-02-27 Thread Jitun John
Fixed the pickle issue by deleting "databases" folder in the app. Wondering if we will ever (if it is possible) to get a 3.x python version of web2py windows ("python37.dll" and "pywintypes37.dll" files.) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: web2py xml() in python 3

2019-02-20 Thread Maurice Waka
I'm not so conversant with that. On Thu, Feb 21, 2019 at 2:10 AM Dave S wrote: > > > On Wednesday, February 20, 2019 at 1:13:03 PM UTC-8, Maurice Waka wrote: >> >> Hi, >> I know I asked this before. I know people are very busy but could someone >> help here. >> From this web2py page: >>

[web2py] Re: web2py xml() in python 3

2019-02-20 Thread Dave S
On Wednesday, February 20, 2019 at 1:13:03 PM UTC-8, Maurice Waka wrote: > > Hi, > I know I asked this before. I know people are very busy but could someone > help here. > From this web2py page: > http://www.web2py.com/books/default/chapter/29/11/jquery-and-ajax?search=xml%28%29 > I got this

[web2py] Re: Web2py with python3: difference in error reporting

2019-02-15 Thread veiko99
Some python3 error issues were fixed in master branch https://github.com/web2py/web2py/pull/2045 . Not sure when new official version will be released. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: web2py dev env on chromebook?

2019-02-13 Thread Eliezer (Vlad) Tseytkin
I finally figured it out with crouton etc, but your way is much better. I'll look into this sandbox thing; wasn't aware of it. Thank you On Wed, Feb 13, 2019, 10:46 AM I use python/web2py on my chromebook without installing dev mode and > without crouton etc, by using the linux shell sandbox

[web2py] Re: Web2py Website seems like abandoned...

2019-01-31 Thread Jim S
I agree we could use some fresh ideas and a contest sounds like a great way for us to give back. On Wednesday, January 30, 2019 at 5:53:11 AM UTC-6, Ramos wrote: > > hello all > > Its like it is for a long time > It deserves a new layout. > Whos is in for a contest ? > > Regards > António >

[web2py] Re: Web2py Website seems like abandoned...

2019-01-31 Thread Yi Liu
Especially if we compare to our rival's website: https://www.djangoproject.com/ I wish web2py get more resources as django does. On Wednesday, January 30, 2019 at 3:53:11 AM UTC-8, Ramos wrote: > > hello all > > Its like it is for a long time > It deserves a new layout. > Whos is in for a

Re: [web2py] Re: web2py apps & github

2019-01-16 Thread Dave S
On Wednesday, January 16, 2019 at 4:21:10 PM UTC-8, 黄祥 wrote: > > agree, learn from several web2py app on github some of them didn't include > the private folders > btw github now offering private repo for free, so if you want to keep it > on just set it in the private repo > > best regards >

Re: [web2py] Re: web2py apps & github

2019-01-16 Thread Eliezer (Vlad) Tseytkin
Thank you! On Wed, Jan 16, 2019, 6:46 PM Dave S > > On Wednesday, January 16, 2019 at 3:10:22 PM UTC-8, Vlad wrote: >> >> Dave, >> you mentioned "Sanitize private/appconfig.ini" - could you please comment >> on it - >> I am not sure how this file is used by web2py, but seems that it may have >>

Re: [web2py] Re: web2py apps & github

2019-01-16 Thread 黄祥
agree, learn from several web2py app on github some of them didn't include the private folders btw github now offering private repo for free, so if you want to keep it on just set it in the private repo best regards stifan -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Re: web2py apps & github

2019-01-16 Thread Dave S
On Wednesday, January 16, 2019 at 3:10:22 PM UTC-8, Vlad wrote: > > Dave, > you mentioned "Sanitize private/appconfig.ini" - could you please comment > on it - > I am not sure how this file is used by web2py, but seems that it may have > some private info (though has some generics for me

Re: [web2py] Re: web2py apps & github

2019-01-16 Thread Vlad
Dave, you mentioned "Sanitize private/appconfig.ini" - could you please comment on it - I am not sure how this file is used by web2py, but seems that it may have some private info (though has some generics for me now). Should I just exclude it from git? Is it getting recreated by w2p or...

Re: [web2py] Re: web2py apps & github

2019-01-15 Thread Dave S
On Sunday, January 13, 2019 at 6:33:14 AM UTC-8, Vlad wrote: > > Got it, > thank you very much. > Learning git now - it's so messy and unstructured as far as learning curve > :) I guess once I get it, it becomes quick and easy... > > In my opinion, git is ugly, but then I went from rcs to

Re: [web2py] Re: web2py apps & github

2019-01-13 Thread Vlad
Got it, thank you very much. Learning git now - it's so messy and unstructured as far as learning curve :) I guess once I get it, it becomes quick and easy... On Monday, January 7, 2019 at 7:21:55 PM UTC-5, Dave S wrote: > > > > On Sunday, January 6, 2019 at 12:45:27 PM UTC-8, Vlad wrote: >>

[web2py] Re: web2py docker

2019-01-10 Thread 黄祥
> > How do i put my application at applications web2py folder? > not sure what do you want to achieve - if you want to distribute your docker image with web2py app inside, must put your web2py app under applications folder in dockerfile file, so when the user execute docker run your web2py

Re: [web2py] Re: web2py apps & github

2019-01-07 Thread Dave S
On Sunday, January 6, 2019 at 12:45:27 PM UTC-8, Vlad wrote: > > Oh, I didn't express myself precisely: I am asking about Github - I am > setting up a Github repository and wondering what exactly from the app > directory should go in there - without extra files and without missing > files -

Re: [web2py] Re: web2py apps & github

2019-01-06 Thread Eliezer (Vlad) Tseytkin
Got it, Thank you On Sun, Jan 6, 2019, 4:48 PM 黄祥 it depends on what you want to have version record of your files (better > to put it all web2py apps on github) > $ tree web2py/applications/web2pyapp > web2py/applications/web2pyapp > |-- ABOUT [if any] > |-- LICENSE [if any] > |-- __init__.py >

Re: [web2py] Re: web2py apps & github

2019-01-06 Thread 黄祥
it depends on what you want to have version record of your files (better to put it all web2py apps on github) $ tree web2py/applications/web2pyapp web2py/applications/web2pyapp |-- ABOUT [if any] |-- LICENSE [if any] |-- __init__.py |-- controllers |-- cron [if any] |-- languages |-- models |--

Re: [web2py] Re: web2py apps & github

2019-01-06 Thread Eliezer (Vlad) Tseytkin
Oh, I didn't express myself precisely: I am asking about Github - I am setting up a Github repository and wondering what exactly from the app directory should go in there - without extra files and without missing files - to preserve complete app/set On Sun, Jan 6, 2019 at 2:51 PM 黄祥 wrote: >

[web2py] Re: web2py apps & github

2019-01-06 Thread 黄祥
for pack or unpack thing it's use tar ref: https://groups.google.com/d/msg/web2py/khiGuJYxHpo/clEEU7n3VGEJ best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Web2py .exe pack custom

2019-01-06 Thread Anthony
On Sunday, January 6, 2019 at 9:48:57 AM UTC-5, mostwanted wrote: > > The one you gave a link to i am familiar with, i just wanted to understand > if the .exe custom pack introduced something new. > It adds your application to the /applications folder of the produced zip file. Anthony --

[web2py] Re: Web2py .exe pack custom

2019-01-06 Thread mostwanted
The one you gave a link to i am familiar with, i just wanted to understand if the .exe custom pack introduced something new. On Sunday, January 6, 2019 at 4:17:04 PM UTC+2, Anthony wrote: > > It creates a standalone version of web2py (with its own Python > interpreter) that contains your

[web2py] Re: Web2py .exe pack custom

2019-01-06 Thread Anthony
It creates a standalone version of web2py (with its own Python interpreter) that contains your application, which you can then use to distribute as a standalone binary, as described here

[web2py] Re: web2py documentation

2018-12-26 Thread Dave S
On Wednesday, December 26, 2018 at 8:06:41 AM UTC-8, christ ibata wrote: > > *can I have pdf documents on web2py in french? I need it* > I don't follow the translations, but the book is an app, and there is a French translation. You can turn the markmin into PDF with scripts that I think are

Re: [web2py] Re: web2py and python3

2018-12-21 Thread Web2_3py
*export_to_csv_file* under python2 , no problem under python3 , the following problem File "C:\Users\assus\Desktop\Flash\python3\web2py_2_17_2_src\web2py\gluon\packages\dal\pydal\objects.py", line 2619, in export_to_csv_file writer.writerow(unquote_colnames(colnames)) TypeError: a

Re: [web2py] Re: web2py and python3

2018-12-21 Thread max
*Did some quick tests with python 3.5.2 and it seems now web2py master branch is python3 compatible.* *Is there anything , I should worry before switching it to a production modus.* On Thursday, May 11, 2017 at 2:08:43 PM UTC+2, Richard wrote: > > No problem... I can't say when Massimo's

[web2py] Re: [web2py-users] pygraphviz

2018-11-22 Thread Donald McClymont
I will try and have a look at this over the next few weeks - I think improving D3 solution is probably easier for me than installing pygraphviz on windows! Donald On Thursday, November 22, 2018 at 4:15:24 PM UTC, Richard wrote: > > Hi, > > I understand that we move to 3djs... Although right

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