Re: [web2py] Re: web2py 3.0.8 is OUT

2024-12-21 Thread Massimo DiPierro
Thank you. Great work. Surprised I did not see the effects of this in py4web. On Sat, Dec 21, 2024, 09:45 Nico Zanferrari wrote: > It took me another afternoon, but finally I've nailed down this nasty bug! > > It's just a wrong indentation on three lines of Rocket3, see > https://github.com/web

Re: [web2py] Re: web2py 3.0.8 is OUT

2024-12-21 Thread Nico Zanferrari
It took me another afternoon, but finally I've nailed down this nasty bug! It's just a wrong indentation on three lines of Rocket3, see https://github.com/web2py/rocket3/pull/5. You can easily apply it by yourself on your web2py/gluon/packages/rocket3/rocket3/__init__.py file. [image: image.png]

Re: [web2py] Re: web2py 3.0.8 is OUT

2024-12-20 Thread Nico Zanferrari
Sorry, the previous attachment was wrong. Please use this one (v2). If you prefer, you can easily make the changes by yourself on the sources, see the rocket3 PR. nico Il giorno ven 20 dic 2024 alle ore 18:15 Nico Zanferrari ha scritto: > I think I've found the reason for the random hangs, afte

Re: [web2py] Re: web2py 3.0.8 is OUT

2024-12-20 Thread Nico Zanferrari
I think I've found the reason for the random hangs, after a whole afternoon downgrading and testing. It should be due to this PR , that changed rocket with rocket3 . I'm attaching a fix (with the latest web2py, just

Re: [web2py] Re: web2py 3.0.8 is OUT

2024-12-17 Thread Nico Zanferrari
Hi, I've just release the new binaries (based on web2py 3.0.9 and python 3.12.7 + the latest pyinstaller) on https://github.com/nicozanf/web2py-pyinstaller. But be careful because the 3.x version of web2py is quite unstable on all O.S. - it hangs frequently, at least the admin app. There are a co

[web2py] Re: web2py 3.0.8 bug

2024-12-16 Thread Horst Horst
Thanks Simon! Py 3.12 indeed works. simon...@gmail.com schrieb am Freitag, 13. Dezember 2024 um 15:12:47 UTC+1: > cgi is removed in python 3.13. Web2Py was only tested in python 3.12, as > fas as I know. > > There is a legacy-cgi package on pypy that might help you: > > https://stackoverflow.com

[web2py] Re: web2py 3.0.8 bug

2024-12-13 Thread simon...@gmail.com
cgi is removed in python 3.13. Web2Py was only tested in python 3.12, as fas as I know. There is a legacy-cgi package on pypy that might help you: https://stackoverflow.com/questions/78635741/drop-in-replacement-for-the-cgi-module spamf...@gmail.com schrieb am Donnerstag, 12. Dezember 2024 um 1

[web2py] Re: web2py 3.0.8 bug

2024-12-12 Thread Horst Horst
I've downloaded the latest source release (3.0.9) and installed it on macos. When I run it with Python 3.13.0, I get the ModuleNotFoundError below. Apparently cgi was removed in Py 3.8. When I run it with Python 3.7, the error does not occur, and my app (that I've just ported from Python 2) se

[web2py] Re: web2py -> py4web

2024-12-07 Thread Massimo Di Pierro
responded in the other thread by I recommend asking those questions here https://groups.google.com/g/py4web On Saturday, 7 December 2024 at 11:08:35 UTC-8 lcham...@gmail.com wrote: > I've just come from web2py and I find the py4web doc very incomplete, even > for trivial things like: > > if you

[web2py] Re: web2py -> py4web

2024-12-07 Thread lcham...@gmail.com
I've just come from web2py and I find the py4web doc very incomplete, even for trivial things like: if you create an application from scaffold, well, you have a set of files and you have to write your functions in controllers.py, but you don't know why. If you try to create (as in web2py) a t

[web2py] Re: web2py -> py4web

2024-12-06 Thread Alexei Vinidiktov
Massimo, if you need any additional information from me, please let me know. I will really appreciate your answer. On Monday, December 2, 2024 at 9:25:18 PM UTC+7 Alexei Vinidiktov wrote: Basically, something like this (and I need to be able to provide sign up, sign in, change password, etc fo

[web2py] Re: web2py -> py4web

2024-12-02 Thread Alexei Vinidiktov
Basically, something like this (and I need to be able to provide sign up, sign in, change password, etc for users via an api - json-rpc or REST): myjwt = AuthJWT(auth, secret_key='SecretKey', expiration=300) @cors_allow @catch303 @myjwt.allows_jwt() @auth.requires_login() def call(): se

[web2py] Re: web2py 2.99.0-beta

2024-12-02 Thread simon...@gmail.com
I tested again in 3.0.8. The fix for the Exporter class in gluon/sqlhtml.py introduced a new error: 'DAL' object has no attribute 'compute' Version web2py™ Version 3.0.8-stable+timestamp.2024.12.01.23.08.05 Python Python 3.11.2: /home/web2py/myappenv/bin/uwsgi (prefix: /home/web2py/myappenv) Tra

[web2py] Re: web2py 3.0.8 is OUT

2024-12-02 Thread simon...@gmail.com
Hi Massimo, I am testing with Python 3.11 and so far, I found one bug in the admin-application: the view on todolist.load uses reduce() which is undefined: name 'reduce' is not defined Version web2py™ Version 3.0.8-stable+timestamp.2024.12.01.23.08.05 Python Python 3.11.2: /home/web2py/myappenv

[web2py] Re: web2py -> py4web

2024-12-01 Thread Massimo Di Pierro
If you can provide a minimalist example of code you want to port, I can help convert it. On Sunday, 1 December 2024 at 19:53:17 UTC-8 vinid...@gmail.com wrote: > Hello Massimo, > > Since web2py is very very slow (according to a benchmark I've seen), I'm > interested in moving to py4web but I'm

[web2py] Re: web2py -> py4web

2024-12-01 Thread Alexei Vinidiktov
Hello Massimo, Since web2py is very very slow (according to a benchmark I've seen), I'm interested in moving to py4web but I'm not sure how to handle the transition. My web2py app is used as a service layer communicating with the JavaScript frontend via json-rpc. It uses web2py JWT tokens for

[web2py] Re: web2py 2.99.0-beta

2024-12-01 Thread Massimo Di Pierro
Can you please help test version 3.0.7. This port has been painful. On Thursday, 28 November 2024 at 03:43:13 UTC-8 simon...@gmail.com wrote: > I have a few legacy apps on web2py and I am testing them with Web2Py 3.0.0 > on py 3.11 (Debian 12). So far, I found two bugs: > > 1) Error in ExportCla

[web2py] Re: web2py 2.99.0-beta

2024-11-28 Thread simon...@gmail.com
I have a few legacy apps on web2py and I am testing them with Web2Py 3.0.0 on py 3.11 (Debian 12). So far, I found two bugs: 1) Error in ExportClass of sqlhtml.py when using rows.setvirtualfields(). It appears, "_extra" is no longer used by DAL: Traceback (most recent call last): File "/home/w

[web2py] Re: web2py 2.99.0-beta

2024-11-17 Thread Massimo Di Pierro
While will make the transition easier, the increased overlap between the two products, means web2py (for python3) will be maintained better that it has ever been. :-) On Monday, 28 October 2024 at 19:41:50 UTC-7 ra...@tarkus.mx wrote: > Great, and sad news, at the same time. Web2py has been gre

[web2py] Re: web2py 2.99.0-beta

2024-10-28 Thread Raul Monares
Great, and sad news, at the same time. Web2py has been great for us. Time to develop new projects in py4web. On Sunday, October 27, 2024 at 9:32:05 PM UTC-6 Massimo Di Pierro wrote: > web2py 2.99-beta is out on github. The next release will be 3.0.0. > > What changed: > - support for python 3 on

[web2py] Re: web2py -> py4web

2024-09-15 Thread Massimo Di Pierro
I very much appreciate this kind of feedback. My support of web2py has been slow but it has not needed much. The fact is, if you are using python 2.7 with web2py my ability to improve web2py is limited by the python version before anything else. Moving from web2py + 2.7 to web2py + 3.11 is a rela

[web2py] Re: web2py -> py4web

2024-08-25 Thread Peter
I am not a professional developer and I understand others have to consider far greater risks in terms of any possible impact of errors and downtime but I wanted to add my two pence (cents) worth regarding my experience of upgrading to web2py to Python3! In 2016/17 I developed a web2py app f

[web2py] Re: Web2py move to a new server resulted in this 'CommonDialect' object has no attribute 'eq'

2024-08-16 Thread Clemens
Hello Massimo, it seems, that an existing database was wrongly migrated, because with a fresh database, everything works fine! Thus, there is obviously no pydal problem and nothing to do for you :-) But thanks a lot for web2py and all your support!!! Best regards Clemens On Friday, August 16

[web2py] Re: Web2py move to a new server resulted in this 'CommonDialect' object has no attribute 'eq'

2024-08-16 Thread Clemens
Hello Massimo, is it possible that this problem rises again with the latest version, because I have exactly this problem after updating web2py to Version 2.27.1-stable+timestamp.2023.11.16.08.03.57 (Python 3.12.3: /usr/local/bin/uwsgi). ... requires=IS_IN_DB(db(db.node.classification == 'activ

[web2py] Re: web2py -> py4web

2024-07-21 Thread Massimo Di Pierro
I encourage you at least to try run it to python 3 (probably only need to change the print statements if any at all). On Sunday 21 July 2024 at 21:23:40 UTC-7 gaelpri...@gmail.com wrote: > Hello Massimo. > > I'm still using for 5 Web2py applications with Python 2.7. > Developing is 2% of my time

[web2py] Re: web2py -> py4web

2024-07-21 Thread Massimo Di Pierro
I encourage you at least to try run it to python 3 (probably only need to change the print statements if any at all). On Sunday 21 July 2024 at 21:23:40 UTC-7 gaelpri...@gmail.com wrote: > Hello Massimo. > > I'm still using for 5 Web2py applications with Python 2.7. > Developing is 2% of my time

Re: [web2py] Re: web2py -> py4web

2024-07-21 Thread Chitti Siva
Hi, Why are you adding in this mail loop and why you reply on this mail. Please remove my mail in this mail loop. Thank & Regards, Siva Chitti. On Thu, 18 Jul, 2024, 6:57 pm xgp.l...@gmail.com, wrote: > Hi Massimo. > > At the moment I haven't moved to py4web. I would like you to consider > sup

[web2py] Re: web2py -> py4web

2024-07-21 Thread Gaël Princivalle
Hello Massimo. I'm still using for 5 Web2py applications with Python 2.7. Developing is 2% of my time work, so I need a platform reliable and simple, Web2py is perfect for that. I must begin a new application and I'll do it with py4web. Thanks Massimo and to all the guys that have supported Web

[web2py] Re: web2py -> py4web

2024-07-21 Thread Massimo Di Pierro
Not true anymore. I will fix that. On Tuesday 16 July 2024 at 23:17:49 UTC-7 Rowdy wrote: > On 14/7/2024 12:10 pm, Massimo Di Pierro wrote: > > Hello everybody, > > > > You may have noticed I am not very active on this mailing list. That is > > mostly because I have been concentrating my energy

[web2py] Re: web2py -> py4web

2024-07-18 Thread xgp.l...@gmail.com
Hi Massimo. At the moment I haven't moved to py4web. I would like you to consider support for web2py until python 3.13 at least. I understand the hard work it takes, but keep in mind improvements on newer versions of python are worth it. Only using python 3.10+ Not using GAE. Thanks your ha

[web2py] Re: web2py -> py4web

2024-07-17 Thread Bruce Young
I'm using web2py for several projects. Thanks for everything. Moved to Python 3.11 Never used GAE Hopefully we will still get security updated for a while. Haven't moved to py4web because of lack of time, and frankly partly because of the admin interface. It's hard to get used to after web2py. Br

[web2py] Re: web2py -> py4web

2024-07-17 Thread Jim S
I have moved most everything to py4web except for 3 big apps. However, we are migrating our ERP to Odoo and then these web2py apps will no longer be needed. Hope to have Python 2.7 support in web2py through March of 2025. We should be off by then. That being said, I doubt I'll be downloading/in

[web2py] Re: web2py -> py4web

2024-07-16 Thread Rowdy
On 14/7/2024 12:10 pm, Massimo Di Pierro wrote: Hello everybody, You may have noticed I am not very active on this mailing list. That is mostly because I have been concentrating my energy on py4web which I think is must more modern and faster than web2py. Once again I want to encourage you t

Re: [web2py] Re: web2py -> py4web

2024-07-16 Thread Carlos Correia
Hi, Moving to Python 3 is a must! As for Web2py I have several servers using it (one of them is an ERP) and I don't know when I will have time to move them to Py4web, so I beg you not to drop Web2py support. Best regards, Carlos Às 04:49 de 17/07/24, Massimo Di Pierro escreveu: It is very

[web2py] Re: web2py -> py4web

2024-07-16 Thread Massimo Di Pierro
It is very encouraging to know people have moved to python 3. :-) On Tuesday 16 July 2024 at 22:16:03 UTC-4 snide...@gmail.com wrote: > On Saturday, July 13, 2024 at 7:10:05 PM UTC-7 Massimo Di Pierro wrote: > > Hello everybody, > > You may have noticed I am not very active on this mailing list.

[web2py] Re: web2py -> py4web

2024-07-16 Thread Dave S
On Saturday, July 13, 2024 at 7:10:05 PM UTC-7 Massimo Di Pierro wrote: Hello everybody, You may have noticed I am not very active on this mailing list. That is mostly because I have been concentrating my energy on py4web which I think is must more modern and faster than web2py. Once again I

Re: [web2py] Re: web2py -> py4web

2024-07-15 Thread Christian Varas
Hi Massimo, In my case I have still one app in production using web2py, I haven’t migrated yet because is quite big. For the rest of my apps, are all migrated to py4web and they work so much faster :). In my opinion, drop the support of python 2.7 is recommended to avoid security issues, and also

[web2py] Re: web2py -> py4web

2024-07-15 Thread Brian M
I have a larger web2py app that would be a chore to migrate - hard to justify the time without clear incentives. It’s running Python 3.10 and not on GAE. Would be nice if there was at least some security updates. On Saturday, July 13, 2024 at 9:10:05 PM UTC-5 Massimo Di Pierro wrote: > Hello ev

[web2py] Re: web2py -> py4web

2024-07-14 Thread Raul Monares
Hi Massimo I have several web2py applications in production. Big systems that would be difficult to move to py4web as they are growing all the time. But we're using Python 3.8. Also, GAE is not relevant to us Web2py has been fantastic. On Sunday, July 14, 2024 at 2:11:23 AM UTC-6 Clemens wrot

[web2py] Re: web2py -> py4web

2024-07-14 Thread Clemens
Hello Massimo, I'm a vital web2py user with a 3 systems in production. I've moved to python 3.7+ (currently 3.8) a long time ago. I'm using postgres as database, thus for me GAE would not be relevant. But I'm really interested in any support and security updates of web2py. I would like to mig

[web2py] Re: web2py website

2024-02-29 Thread Dave S
On Wednesday, February 21, 2024 at 11:29:07 AM UTC-8 syna...@gmail.com wrote: Will the web2py website be getting a refresh anytime? That award badge - it's from 14 years ago. web2py is in maintenance mode. Spiffing up the website isn't an important sales tool. Here's hoping py4web gets so

[web2py] Re: web2py 2.27.1 released

2023-12-28 Thread Massimo Di Pierro
yes. sorry had forgotten to push the tags. -- 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 Goo

[web2py] Re: web2py 2.27.1 released

2023-11-28 Thread fabrizzio...@abogadoc.com
Great! where we can find it? https://github.com/web2py/web2py/tags ? On Saturday, November 18, 2023 at 7:15:07 PM UTC-3 ra...@tarkus.mx wrote: > Excellent !!! > > On Thursday, November 16, 2023 at 1:10:43 AM UTC-7 Massimo Di Pierro wrote: > >> web2py 2.27.1 was released >> >> - some linting and f

[web2py] Re: web2py 2.27.1 released

2023-11-18 Thread Raul Monares
Excellent !!! On Thursday, November 16, 2023 at 1:10:43 AM UTC-7 Massimo Di Pierro wrote: > web2py 2.27.1 was released > > - some linting and formatting > - added support to Python 3.11 > - fixed regexen and classname > - removed a circular dependency > > -- Resources: - http://web2py.com - htt

Re: [web2py] Re: web2py 2.26.1 released

2023-10-30 Thread Jim S
I highly recommend moving to py4web. These days I dread working on web2py apps we haven't yet converted to py4web. py4web is so much faster for execution and development. Much more flexibility in form and grid layouts. If there is something missing, let us know, we'd love to get more people

Re: [web2py] Re: web2py 2.26.1 released

2023-10-30 Thread Christian Varas
In my opinion Web2py is really comfortable but I strongly recommend to move to py4web. The scheduler in web2py is replaced with celery which is more powerful and py4web framework is really fast, light and is easy to code like in web2py. I’ve moved all my apps from web2py to py4web and I can’t compl

Re: [web2py] Re: web2py 2.26.1 released

2023-10-30 Thread António Ramos
I´m so comfortable with web2py, the admin dashboard and the scheduler are blocking me from moving to py4web... Regards Em seg., 30 de out. de 2023 às 04:48, Raul Monares escreveu: > Great news. I appreatiate your work on both platforms > > On Sunday, October 29, 2023 at 3:13:31 PM UTC-6 Massimo

[web2py] Re: web2py 2.26.1 released

2023-10-29 Thread Raul Monares
Great news. I appreatiate your work on both platforms On Sunday, October 29, 2023 at 3:13:31 PM UTC-6 Massimo Di Pierro wrote: > Changelog: > - adds support of python up to version 3.11 > - fixes a bug with serialization of headers introduced in version 2.25.1 > - improves handling of unstable db

[web2py] Re: web2py 2.25.1 - bug when running interactive shell?

2023-10-29 Thread Massimo Di Pierro
It should be abspath and should be fixed in master. I plan to release a new version today. On Friday, 27 October 2023 at 01:28:59 UTC-7 Tom Clerckx wrote: > I believe web2py/gluon/shell.py", line 238 should use os.path.*abspath* > instead of *absdir*? > > Unpacked and ran a clean version of web

[web2py] Re: Web2py move to a new server resulted in this 'CommonDialect' object has no attribute 'eq'

2023-10-29 Thread Massimo Di Pierro
This is a know issue with has been fixed in master. I will release a new version later today. On Sunday, 22 October 2023 at 02:07:32 UTC-7 vald...@gmail.com wrote: > Whenever I reload, It seems to create a new thread showing this in the CLI. > > For example, when I attempt to run the app, the er

[web2py] Re: Web2py move to a new server resulted in this 'CommonDialect' object has no attribute 'eq'

2023-10-22 Thread vald...@gmail.com
Whenever I reload, It seems to create a new thread showing this in the CLI. For example, when I attempt to run the app, the error, shown below, starts with: " ERROR:Rocket.Errors.Thread-2:Traceback (most recent call last):" The next time it runs showing " ERROR:Rocket.Errors.Thread-4:Traceback (

[web2py] Re: Web2py move to a new server resulted in this 'CommonDialect' object has no attribute 'eq'

2023-10-22 Thread vald...@gmail.com
It's as if any attempt to read tables based on the db object causes this error. I was getting this error where IS_IN_DB that references other tables as base tables. I've moved all those references from the models completely and now I'm getting the error when I attempt to log in to the app. Ver

[web2py] Re: web2py 2.25.1

2023-10-18 Thread CarlosDB
Hello. I believe this error is related to a thread I opened a few days ago: " File Download Broken after Pull Request #2471 " https://groups.google.com/g/web2py/c/ruhme28jvNo Carlos. El miércoles, 18 de octubre de 2023 a las 18:49:34 UTC+2, xgp.l...@gmail.com escribió: > Hi, > > Modified the c

[web2py] Re: web2py 2.25.1

2023-10-18 Thread xgp.l...@gmail.com
Hi, Modified the code to this: for k, v in iteritems(headers): if isinstance(v, list): rheaders += [(k, str(item)) for item in v] else: rheaders.append((k, str(v))) This was the code from version 2.24.1 Dont know if this is correct. Ch

[web2py] Re: web2py 2.25.1

2023-10-18 Thread xgp.l...@gmail.com
Hi Massimo, Getting this redirecting from nginx to uwsgi_pass http port. Traceback (most recent call last): File "/home/www-data/web2py/gluon/main.py", line 562, in wsgibase return http_response.to(responder, env=env) File "/home/www-data/web2py/gluon/http.py", line 129, in to respond

[web2py] Re: web2py 2.25.1

2023-10-09 Thread CarlosDB
A fantastic job. Thank you very much. Carlos. El domingo, 8 de octubre de 2023 a las 20:59:27 UTC+2, Massimo Di Pierro escribió: > Hello everybody, > > A new version of web2py, 2.25.1, is out. > > It contains some bug fixes, #2468 #2468 #2236, http headers sanitization, > and fixes this vulen

[web2py] Re: Web2py dal significantly slower than raw query

2023-10-03 Thread Niphlod
Think an int, that needs to be "casted" to an int for 50k times. You can't expect an abstraction layer to be as fast as raw sql. DAL doesn't just write queries for you, it adapts the resultset to the model. 50k rows in less than 2 seconds is not that bad. On Tuesday, October 3, 2023 at 8:29:12 

[web2py] Re: Web2py dal significantly slower than raw query

2023-10-02 Thread urban....@gmail.com
12 columns, 50k rows (17k rows in the query result) cacheable=True is about 0.3s faster. The costliness of building the whole model comes (mostly) from reference types? On Monday, October 2, 2023 at 11:22:53 PM UTC+2 Niphlod wrote: > how many rows and how many columns ? the raw one is returnin

[web2py] Re: Web2py dal significantly slower than raw query

2023-10-02 Thread Niphlod
how many rows and how many columns ? the raw one is returning whatever type the underlying database structure has as it is, the pydal one is building the whole model (including references) did you try with cacheable=True in the pydal one ? it won't build update_records and delete_records, for s

[web2py] Re: Web2py dal significantly slower than raw query

2023-10-02 Thread Jim S
The only thing I can see is that the SQL needs to be 'built' by pydal, but I find it hard to believe it takes a whole second. Massimo might have to add context here. -Jim On Monday, October 2, 2023 at 1:00:19 PM UTC-5 urban@gmail.com wrote: > Sorry my bad! I mixed up the timings when edit

[web2py] Re: Web2py dal significantly slower than raw query

2023-10-02 Thread urban....@gmail.com
Sorry my bad! I mixed up the timings when editing the post. The slower timing is for the dal version. Moreover the dal version is slower even if I remove the .as_list() call. I had originally tried that. When I get the time I'll try "debugging" it by looking at the dal.py source. Asking here if a

[web2py] Re: Web2py dal significantly slower than raw query

2023-10-02 Thread Jim S
It's possible I'm reading this wrong (it is Monday morning), but .09s (DAL) is faster than 1.8s (raw SQL). Is that a typo? Or, is it my Monday-morning-brain? If your raw query is slower, could it be because you're converting to a dict instead of a list as in your dal query? -Jim On Monday,

[web2py] Re: web2py 2.24.1 released

2023-05-06 Thread Peter
Thanks četvrtak, 23. mart 2023. u 06:20:20 UTC+1 Massimo Di Pierro je napisao/la: > Hello everybody, > > web2py 2.24.1 has been released. > > Thanks to Leonel, Cem, and Mark for bug fixes including: > - handling corrupt disk cache > - broken application packaging > - compare function logic > > >

[web2py] Re: web2py 2.24.1 released

2023-04-02 Thread Raul Monares
Excelent news. Thanks !! On Thursday, March 23, 2023 at 5:43:34 AM UTC-6 xgp.l...@gmail.com wrote: > Thank you Massimo! > > El jueves, 23 de marzo de 2023 a las 0:20:20 UTC-5, Massimo Di Pierro > escribió: > >> Hello everybody, >> >> web2py 2.24.1 has been released. >> >> Thanks to Leonel, Cem,

[web2py] Re: web2py 2.24.1 released

2023-03-23 Thread xgp.l...@gmail.com
Thank you Massimo! El jueves, 23 de marzo de 2023 a las 0:20:20 UTC-5, Massimo Di Pierro escribió: > Hello everybody, > > web2py 2.24.1 has been released. > > Thanks to Leonel, Cem, and Mark for bug fixes including: > - handling corrupt disk cache > - broken application packaging > - compare fun

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-03-22 Thread Massimo Di Pierro
This has been fixed and 2.24.1 released. My apologies for overlooking the issue. On Sunday, 26 February 2023 at 05:51:30 UTC-8 pcwa...@comcast.net wrote: > I submitted an issue #2457 > a month ago. Please leverage that one. > > On Monday, February

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-02-26 Thread pcwalden
I submitted an issue #2457 a month ago. Please leverage that one. On Monday, February 13, 2023 at 12:28:40 AM UTC-7 david@gmail.com wrote: > Hi pcg, > > I also created a bug report for this one and got a message from Massimo > that it would be

[web2py] Re: web2py with rocket server + nginx ?

2023-02-16 Thread Dave S
On Thursday, February 16, 2023 at 7:26:40 AM UTC-8 chriii...@gmail.com wrote: Hello! I'm wondering if it is a good idea to use web2py with rocket server in combination with nginx as a reverse proxy like in py4web. I need to run py4web and web2py on the same server and using nginx without uwsgi

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-02-12 Thread Davidiam
Hi pcg, I also created a bug report for this one and got a message from Massimo that it would be fixed in a new release. A work-around I used was to simply put the code below in the admin default.py into comment: *#if not a_for_check.startswith(web2py_apps_root):* *#raise HTTP(403)

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-02-12 Thread pcg...@gmail.com
Have the same issue (python 3.10) i've tried the latest web2py 2.23.1, and it's th same. I'm kind of lost on this one. Le lundi 9 janvier 2023 à 05:44:16 UTC-5, david@gmail.com a écrit : > I am using python 3.9.15 > > On Monday, January 9, 2023 at 11:00:22 AM UTC+1 Clemens wrote: > >> Jus

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-01-09 Thread Davidiam
I am using python 3.9.15 On Monday, January 9, 2023 at 11:00:22 AM UTC+1 Clemens wrote: > Just a guess: What python version are you using? If you're still using > python 2, it could be the reason. > > On Monday, January 9, 2023 at 10:55:21 AM UTC+1 david@gmail.com wrote: > >> Which is in tur

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-01-09 Thread Clemens
Just a guess: What python version are you using? If you're still using python 2, it could be the reason. On Monday, January 9, 2023 at 10:55:21 AM UTC+1 david@gmail.com wrote: > Which is in turn caused by: > > *def app_pack*(app, request, raise_ex=False, filenames=None): > """Builds a w2

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-01-09 Thread Davidiam
Which is in turn caused by: *def app_pack*(app, request, raise_ex=False, filenames=None): """Builds a w2p package for the application Args: app(str): application name request: the global request object Returns: filename of the w2p file or None on error """

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-01-09 Thread Davidiam
I found where this is occurring (out of the box run, no mods): C:\Users\u30591\web2py_2.23.0\web2py\applications\admin\controllers\default.py: def safe_open(a, b): if (DEMO_MODE or is_gae) and ('w' in b or 'a' in b): class tmp: def write(self, data): pass

[web2py] Re: web2py 2.23.0 is giving a 403 error when I try to package my applications

2023-01-09 Thread Davidiam
I just did a test on my own PC with web2py out of the box and I got a 403 error when packing the application. Now that I know that it has nothing to do with the webserver, I will try to debug the issue. I will debug the issue to determine where in the code it is occurring. On Thursday, January

[web2py] Re: web2py 2.23.0 released

2022-12-29 Thread Raul Monares
Great news. Thanks a lot !! On Thursday, December 29, 2022 at 3:15:56 AM UTC-7 Stephan wrote: > Thank you!! > > Massimo Di Pierro schrieb am Dienstag, 27. Dezember 2022 um 08:26:00 UTC+1: > >> Hello Everybody, >> >> My apologies for not being as engaged in this group as I used to be. >> >> web2py

[web2py] Re: web2py 2.23.0 released

2022-12-29 Thread Stephan
Thank you!! Massimo Di Pierro schrieb am Dienstag, 27. Dezember 2022 um 08:26:00 UTC+1: > Hello Everybody, > > My apologies for not being as engaged in this group as I used to be. > > web2py 2.23.0 was released. > > It includes: > - DKIM support to emails > - More configuration options for 2-fact

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-09-03 Thread Dave S
On Monday, August 29, 2022 at 3:13:02 AM UTC-7 silvia...@gmail.com wrote: > I will run it on a virtual server I think > Sounds like a good choice. Many virtual server providers make provisioning easy. /dps > > snide...@gmail.com schrieb am Montag, 29. August 2022 um 15:14:58 UTC+7: > >> O

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-08-29 Thread Silvian Cedru
I will run it on a virtual server I think snide...@gmail.com schrieb am Montag, 29. August 2022 um 15:14:58 UTC+7: > On Wednesday, August 24, 2022 at 7:59:43 PM UTC-7 silvia...@gmail.com > wrote: > >> Thanks Tom I will try that >> >> Tom Clerckx schrieb am Mittwoch, 24. August 2022 um 16:53:30 U

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-08-29 Thread Dave S
On Wednesday, August 24, 2022 at 7:59:43 PM UTC-7 silvia...@gmail.com wrote: > Thanks Tom I will try that > > Tom Clerckx schrieb am Mittwoch, 24. August 2022 um 16:53:30 UTC+7: > >> Not sure what information you're looking for. >> There is no dependency on having an internet connection to deploy

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-08-24 Thread Silvian Cedru
Thanks Tom I will try that Tom Clerckx schrieb am Mittwoch, 24. August 2022 um 16:53:30 UTC+7: > Not sure what information you're looking for. > There is no dependency on having an internet connection to deploy your > web2py service. > > With respect to deployment itself, you can follow the depl

[web2py] Re: Web2py deployment on a local so all computers in the network can acess it

2022-08-24 Thread Tom Clerckx
Not sure what information you're looking for. There is no dependency on having an internet connection to deploy your web2py service. With respect to deployment itself, you can follow the deployment recipes in the web2py manual. Tom. On Wednesday, August 24, 2022 at 11:49:13 AM UTC+2 silvia...@

[web2py] Re: web2py: How to execute further code after ajax call

2022-08-13 Thread Anthony
FYI, already answered at https://stackoverflow.com/a/73338318/440323. On Saturday, August 13, 2022 at 10:37:06 PM UTC-4 JPlata wrote: > > > I have two dropdown/select widgets on a form. I am trying to set the > options of the second select thro

[web2py] Re: Web2py on MySQL 8.0

2022-03-28 Thread Fabio Ceccarani
Solved. The problem was PyMySQL for python 2.7 (used by my web2py). With pip install PyMySQL it install for Python 3.8. I installed PyMySQL for python 2.7 with: wget https://bootstrap.pypa.io/pip/2.7/get-pip.py python2 get-pip.py python2 -m pip install PyMySQL Il giorno venerdì 25 marzo 2022

[web2py] Re: web2py cannot import csv return strings not byte

2021-10-13 Thread Clemens
Have a look here: https://groups.google.com/g/web2py/c/HGTQlEVc2qw/m/toCPLKKwCAAJ Best regards Clemens On Wednesday, January 6, 2021 at 12:09:14 AM UTC+1 lcham...@gmail.com wrote: > *To Reproduce* > > Steps to reproduce the behavior: > >1. Create a new project(*New simple application*). >

[web2py] Re: Web2py Scheduler, db query is not executing.

2021-10-05 Thread Jim S
Have you tried adding a db.commit() to your delete_after_hours() function? -Jim On Tuesday, October 5, 2021 at 8:49:44 AM UTC-5 Andrew wrote: > Hello, I am trying to run a database query using the web2py scheduler, but > for some reason I can't get the query to commit. I've tested the functio

[web2py] Re: Web2py site ssl expired

2021-10-03 Thread Massimo Di Pierro
Thanks for reminding me about this. I will renew it asap. On Wednesday, 22 September 2021 at 00:06:06 UTC-7 snide...@gmail.com wrote: > On Wednesday, September 15, 2021 at 2:39:19 AM UTC-7 dirman wrote: > >> >> Well same from my end. SSL expired >> On Saturday, September 11, 2021 at 2:04:38 PM UT

[web2py] Re: Web2py site ssl expired

2021-09-22 Thread Dave S
On Wednesday, September 15, 2021 at 2:39:19 AM UTC-7 dirman wrote: > > Well same from my end. SSL expired > On Saturday, September 11, 2021 at 2:04:38 PM UTC+1 rodrig...@gmail.com > wrote: > >> Hello my friends, I don't know for report this. >> https://web2py.com/ when I access this url. >> Thi

[web2py] Re: Web2py site ssl expired

2021-09-15 Thread dirman
Well same from my end. SSL expired On Saturday, September 11, 2021 at 2:04:38 PM UTC+1 rodrig...@gmail.com wrote: > Hello my friends, I don't know for report this. > https://web2py.com/ when I access this url. > This not show with http. > -- Resources: - http://web2py.com - http://web2py.com/b

[web2py] Re: web2py app on startup trying to create a duplicate table auth_user

2021-04-17 Thread james c.
And the solution is to add fake_migrate=True into the DAL statement and the auth.define_tables statement. On Saturday, April 17, 2021 at 6:35:05 PM UTC-7 james c. wrote: > db = DAL(myconf.get('db.uri'), > auto_import = True, > ignore_field_case = True, > entity_quoting = False, > pool_size = 10

[web2py] Re: web2py ubuntu 16

2021-01-26 Thread Dave S
On Tuesday, January 26, 2021 at 4:33:59 AM UTC-8 Ovidio Marinho wrote: > > > I installed web2py using the setup_ubuntu.sh script and > I don't know what is happening with these errors > > > restarting apage > > * Restarting web server apache2 AH00558: apache2: Could not reliably

Re: [web2py] Re: Web2py with python 3.8.5

2021-01-14 Thread Joe Barnhart
Just for the record, because it's not clear from this thread, the Python 3,8 problem seems to have been taken care of. I've been running web2py on Python 3.8 for the last couple of weeks at least and never noticed a problem. On Sunday, January 3, 2021 at 2:26:52 PM UTC-6 jimka...@yahoo.com wr

Re: [web2py] Re: Web2py with python 3.8.5

2021-01-03 Thread 'jimka...@yahoo.com' via web2py-users
While investigating 3.8 issues, should also be aware of the following - "3.9.1 is the first version of Python to support macOS 11 Big Sur." as per https://www.python.org/downloads/release/python-391/ On Sunday, January 3, 2021 at 1:20:45 AM UTC-8 serge.bo...@gmail.com wrote: > Hello, > I'm try

Re: [web2py] Re: Web2py with python 3.8.5

2021-01-03 Thread Serge Bourgeois
Hello, I'm trying to convert my web2py apps to Ubuntu 20.4 / apache2/wsgi using python 3.8.5, and as I'm not an IT expert, the only way I found was to change the import instructions in a series of modules. I am aware I shouldn't do this, but I couldn't find any alternative... I would apreciate

[web2py] Re: web2py 2.21.1 is OUT

2020-12-05 Thread Massimo Di Pierro
Will look into this asap. On Monday, 30 November 2020 at 00:34:48 UTC-8 jpa...@gmail.com wrote: > Hello, > > I think it is an issue that comes from previous version. It has to do with > IS_NOT_IN_DB validator and auth. It worked in 2.17.2 version with no problem > > Traceback (most recent call

[web2py] Re: web2py 2.21.1 is OUT

2020-11-30 Thread Jacinto Parga
Hello, I think it is an issue that comes from previous version. It has to do with IS_NOT_IN_DB validator and auth. It worked in 2.17.2 version with no problem Traceback (most recent call last): File "/base/data/home/apps/e~canal-responsable-marcafranca/218.431301544681755891/gluon/restricted

Re: [web2py] Re: web2py ajax function in py4web

2020-11-09 Thread Tom Campbell
Also, Stifan, could you post a few use cases? py4web includes vue.js by default and I am trying to understand the most common use cases of this for documentation purposes. I am guessing: - Instant form update on client side when a value is changed (for example, a star rating or even a compli

[web2py] Re: web2py ajax function in py4web

2020-11-09 Thread Jim S
Stifan Can you post this in the py4web group? In py4web we don't include any jquery components. The goal is to be as light as possible and require as few additional packages as possible. I think you'll get better visibility on the py4web list to get this question answered. I know there are

[web2py] Re: Web2py adn Gzip

2020-10-31 Thread Gaël Princivalle
Hi. I was working on a http website. Anyway the https protocol don't accept gzip, so as all websites now are https, it don't have any interest to have gzip. My https websites load really faster compare to Webfaction. Good deal. Il giorno sabato 24 ottobre 2020 alle 22:14:21 UTC+2 Jose C ha scri

[web2py] Re: Web2py adn Gzip

2020-10-24 Thread Jose C
On Saturday, 24 October 2020 20:13:23 UTC+1, Jose C wrote: > > > The zip_static_files.py utility in your web2py scripts directory will > create gzipped versions of all your static files for you. > >> Great. >> However something goes wrong. >> > > As a workaround, you could probably quite easily

  1   2   3   4   5   6   7   8   9   10   >