[web2py] Re: No Version file in 3.0.8 or 3.0.9 as were in 2.x

2024-12-28 Thread 'jimka...@yahoo.com' via web2py-users
the v 2.24.1 web2py directory contained a simple text file called "VERSION" with the text "Version 2.24.1-stable+timestamp.2023.03.23.05.07.17" My application (and I'm sure others') looks for that file as part of its display of versions of various components as outlined above I don't see the core

[web2py] Re: Json-rpc (or REST) with JWT token auth in py4web - how?

2024-12-27 Thread Alexei Vinidiktov
I just did. Thanks! On Thursday, December 26, 2024 at 1:50:03 AM UTC+7 Massimo Di Pierro wrote: Please ask the question on the py4web mailing list and I will provide an example there (may need to code it) On Sunday, 15 December 2024 at 21:28:42 UTC-8 vinid...@gmail.com wrote: Hello, Since web

[web2py] Re: Json-rpc (or REST) with JWT token auth in py4web - how?

2024-12-25 Thread Massimo Di Pierro
Please ask the question on the py4web mailing list and I will provide an example there (may need to code it) On Sunday, 15 December 2024 at 21:28:42 UTC-8 vinid...@gmail.com wrote: > Hello, > > Since web2py is very slow (according to a benchmark I've seen), and py4web > is much faster, I'm inte

[web2py] Re: No Version file in 3.0.8 or 3.0.9 as were in 2.x

2024-12-25 Thread Massimo Di Pierro
The version file was indeed moved. Can you please tell me the exact error/traceback? On Monday, 16 December 2024 at 17:59:49 UTC-8 jimka...@yahoo.com wrote: > Hi, > > Minor issue but my app looks for the file as part of displaying > application Meta Data - e.g. App version, Python Version, web2

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: Need a tutorial on py4web

2024-12-07 Thread Massimo Di Pierro
In py4web apps are modules. An new file needs to be imported by __init__.py or by another in the import chain. We can help more at https://groups.google.com/g/py4web On Saturday, 7 December 2024 at 11:03:21 UTC-8 lcham...@gmail.com wrote: > Sorry, i just start to move to py4web and if i follow

[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: Need a tutorial on py4web

2024-12-07 Thread lcham...@gmail.com
Sorry, i just start to move to py4web and if i follow the doc but : 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 toto.py, well, py4web never finds

[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: converting from LDAP to SAML2 authentication

2024-12-05 Thread Frederick Yankowski
Thank you, Simon. I had started down a similar path and got stuck. I will use your code code as a basis to continue that work. On Thursday, December 5, 2024 at 8:57:26 AM UTC-6 simon...@gmail.com wrote: > Hello Fred, > > I had a legacy web2py app until recently that worked with SAML2 > authenti

[web2py] Re: converting from LDAP to SAML2 authentication

2024-12-05 Thread simon...@gmail.com
Hello Fred, I had a legacy web2py app until recently that worked with SAML2 authentication and Azure AD as Identity Provider. In my particular case, all users already existed in my app, only authentication was handled via SAML2. The following example code was working in my app. I also recommend

[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: https://web2py.com/book failing with internal error

2024-12-01 Thread Massimo Di Pierro
book is back online. sorry for the trouble. Please report any other errors. On Sunday, 1 December 2024 at 15:31:38 UTC-8 Massimo Di Pierro wrote: > Can you please try again version 3.0.6? Also what python version are you > using? > > On Thursday, 28 November 2024 at 00:49:05 UTC-8 simon...@gmail

[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: https://web2py.com/book failing with internal error

2024-12-01 Thread Massimo Di Pierro
Can you please try again version 3.0.6? Also what python version are you using? On Thursday, 28 November 2024 at 00:49:05 UTC-8 simon...@gmail.com wrote: > I pulled the latest source from github to test web2py 3.0.0 and there > welcome and admin apps are broken. Maybe that's related? > > Clemen

[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: https://web2py.com/book failing with internal error

2024-11-28 Thread simon...@gmail.com
I pulled the latest source from github to test web2py 3.0.0 and there welcome and admin apps are broken. Maybe that's related? Clemens schrieb am Mittwoch, 27. November 2024 um 23:45:45 UTC+1: > I think it's Massimo, but also think it's hosted on PythonAnywhere. > Therefore, if there's a techni

[web2py] Re: https://web2py.com/book failing with internal error

2024-11-27 Thread Clemens
I think it's Massimo, but also think it's hosted on PythonAnywhere. Therefore, if there's a technical issue, they might be able to assist. Additionally, given that I don't anticipate updates to the web2py documentation, it seems likely that the issue could be technical in nature. On Wednesday,

[web2py] Re: https://web2py.com/book failing with internal error

2024-11-27 Thread jonatha...@whatho.net
Isn't it Massimo? On Wednesday, 27 November 2024 at 20:41:28 UTC Clemens wrote: > Same for me. Does anyone know, who's the provider of the site? My guess > is that it might be PythonAnywhere.com. Is there a way to contact them? > > On Tuesday, November 26, 2024 at 11:08:37 PM UTC+1 fre...@gmail.

[web2py] Re: https://web2py.com/book failing with internal error

2024-11-27 Thread Clemens
Same for me. Does anyone know, who's the provider of the site? My guess is that it might be PythonAnywhere.com. Is there a way to contact them? On Tuesday, November 26, 2024 at 11:08:37 PM UTC+1 fre...@gmail.com wrote: > I can't seem to access the Web2py online book today. All attempts fail > 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

Re: [web2py] Re: Important! web2py forzen and master py3 only

2024-10-29 Thread Massimiliano
Try print(guardado_id, ) What you see? Massimiliano Il giorno mar 29 ott 2024 alle 13:01 xgp.l...@gmail.com < xgp.lat...@gmail.com> ha scritto: > Hi Massimo, > > Downloaded 2.27.1 yesterday > Using python 3.9 and python 3.11 > > Adding elementos to dict: > > linea[ "pqrs_id" ] = guardado_id,

Re: [web2py] Re: Important! web2py forzen and master py3 only

2024-10-29 Thread xgp.l...@gmail.com
Hi Massimo, Silly mistake. Thanks for your help, El martes, 29 de octubre de 2024 a las 9:22:24 UTC-5, Massimiliano escribió: > Remove the comma at the end of the lines > > Massimiliano > > > Il giorno mar 29 ott 2024 alle 15:19 xgp.l...@gmail.com < > xgp.l...@gmail.com> ha scritto: > >> Hi

Re: [web2py] Re: Important! web2py forzen and master py3 only

2024-10-29 Thread Massimiliano
Remove the comma at the end of the lines Massimiliano Il giorno mar 29 ott 2024 alle 15:19 xgp.l...@gmail.com < xgp.lat...@gmail.com> ha scritto: > Hi Massimo, > > print(guardado_id, ) > 44 > print( item["referencia_id"] ) > 198 > > print( linea ) > {'pqrs_id': (44,), 'referencia_id': ('1',), '

Re: [web2py] Re: Important! web2py forzen and master py3 only

2024-10-29 Thread xgp.l...@gmail.com
Hi Massimo, print(guardado_id, ) 44 print( item["referencia_id"] ) 198 print( linea ) {'pqrs_id': (44,), 'referencia_id': ('1',), 'talla': ('198',), 'color_id': ('AGG',), 'cantidad': ('1',), 'criterio_id': ('6',), 'estado_id': (1,)} Regards, El martes, 29 de octubre de 2024 a las 9:01:46 UTC

[web2py] Re: Important! web2py forzen and master py3 only

2024-10-29 Thread xgp.l...@gmail.com
Hi Massimo, Downloaded 2.27.1 yesterday Using python 3.9 and python 3.11 Adding elementos to dict: linea[ "pqrs_id" ] = guardado_id, linea[ "referencia_id" ] = item["referencia_id"], linea[ "talla" ] = item["referencia_id"], linea[ "color_id" ] = item["color_id"], linea[ "cantidad" ] = item["ca

[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: define_table fails with IS_IN_SET() -- barfs an exception

2024-10-17 Thread Dave S
Never mind ... I forgot the "requires =" /dps On Thursday, October 17, 2024 at 4:10:03 PM UTC-7 Dave S wrote: > Trying to define a table with IS_IN_SET() on a string field, we get the > exception > near "<": syntax error > > sql.log shows why: > CREATE TABLE "badqpic"( > "id" INTEGER PRI

[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: Strange invalid function issue after renaming controller name

2024-08-06 Thread Raul Monares
That has happened to me. Restarting uwsgi solved the problem On Thursday, August 1, 2024 at 1:03:11 AM UTC-6 at wrote: > Hello everyone, > > I'm encountering a strange issue. After renaming a controller and its > corresponding views and URLs, I'm receiving an "invalid function > (default/gohl_a

[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.com "Not Secure" wrong SSL Cert

2024-07-16 Thread Moe Shakeri
Hello I posted two conversions for a web2py upgrade issue but all needs approval from one of the admins. Appreciate if anyone could help .Thanks in advance. On Tuesday, July 9, 2024 at 2:27:24 PM UTC-7 Brian M wrote: > FYI - https://www.web2py.com is giving a "Not secure" warning because > the

[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.com "Not Secure" wrong SSL Cert

2024-07-13 Thread Massimo Di Pierro
I apologize. Will fix this asap. On Tuesday 9 July 2024 at 14:27:24 UTC-7 Brian M wrote: > FYI - https://www.web2py.com is giving a "Not secure" warning because > the SSL certificate is actually for *.pythonanywhere.com instead of > web2py.com. > > Your connection is not private > > Attackers

[web2py] Re: Transferring the whole database from a python 2.7 framework to 3.11 framework

2024-06-27 Thread Leonel Câmara
You probably only need to do a fake migration after changing python version and clearing your sessions folder. python ./web2py.py -S yourapp -M --force_migrate -D DEBUG --fake_migrate The only incompatibilities are things that were pickled. A quinta-feira, 30 de maio de 2024 à(s) 13:02:36 UTC+1

[web2py] Re: Pandas/SqlAlchemy inserted record is not shown by DAL

2024-06-16 Thread Dave S
On Monday, June 10, 2024 at 1:04:12 PM UTC-7 clara wrote: Hi all, I have a web2py project in which I have used extensively pandas / sqlalchemy to read and write into the database. We have not created the models in web2py . Now, I am migrating to using DAL. I have migrated all read operations

Re: [web2py] Re: Application Issues After MySQL Database Update

2024-06-01 Thread sandeep patel
Thank you @villas for guidance. I'm pleased to inform you that I have identified and fixed the problem. The application is now running smoothly. Many Thanks SP~ On Thu, May 30, 2024 at 5:25 PM villas wrote: > As this error seems to indicate a mismatch in the expected char set of the > data. >

[web2py] Re: 2.19.0 vs 2.27.1

2024-05-30 Thread villas
You should just try it, I imagine it would be OK, but you should probably do some work on updating that Bootstrap. It has been deprecated for a long time! On Monday 12 February 2024 at 16:12:05 UTC gaelpri...@gmail.com wrote: > Hello everybody. > > I've actually some instances of web2py runni

[web2py] Re: Transferring the whole database from a python 2.7 framework to 3.11 framework

2024-05-30 Thread villas
There is not enough information here, but this seems like a DB problem rather than a web2py code error. You do not mention which DB. It is not clear why you are re-building or importing to new tables etc. When I upgraded (years ago), I do not recall touching my DB at all (Firebird). On Wedn

[web2py] Re: Application Issues After MySQL Database Update

2024-05-30 Thread villas
As this error seems to indicate a mismatch in the expected char set of the data. You can either connect with the correct char set, or convert your data for example to unicode. There are DB tools to help, if you search online. In my experience, char set problems can be tricky, especially if,

[web2py] Re: admin table query focus

2024-05-10 Thread Raul Monares
Excellent !! On Tuesday, April 23, 2024 at 2:31:01 PM UTC-6 snide...@gmail.com wrote: > I've long been bugged by going through the appadmin controller to do > database maintenance and not having the focus be anywhere useful. I think > I even have a comment about that somewhere in the forum. >

[web2py] Re: Incorrect archive/restore behavior?

2024-04-11 Thread 'jimka...@yahoo.com' via web2py-users
I've been working on this for a while now off and on and have, I believe, fixed the web2py gluon code bugs to correct this problem. I filed my fix here - https://github.com/web2py/web2py/issues/2483 On Wednesday, January 17, 2024 at 3:28:37 PM UTC-8 jimka...@ya

[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: 2.19.0 vs 2.27.1

2024-02-29 Thread Dave S
On Monday, February 12, 2024 at 8:12:05 AM UTC-8 gaelpri...@gmail.com wrote: Hello everybody. I've actually some instances of web2py running with the 2.19.0 version. 0 problems, thank you web2py. One of these is this one: https://www.hydrover.it/ It uses the web2py grid, Bootstrap 2.3.2. I mu

[web2py] Re: Front end framework

2024-02-18 Thread Donald McClymont
I think BS5 will be fine - the classes and so forth should be the same as BS4 and I’ve not encountered any real issues with BS5 and py4web. https://superdevresources.com/bootstrap5-vs-bootstrap4-whats-new/ Donald On Saturday, February 17, 2024 at 3:55:26 AM UTC Massimo Di Pierro wrote: > I do

[web2py] Re: Front end framework

2024-02-16 Thread Massimo Di Pierro
I do not know how much different 4 and 5 are. Only the names of the classes in the forms may be an issue. I would recommend you try it with BS 5 and if you run into any issue it may be possible to address it with a new adapter or, maybe easier, a few lines of JS. On Monday 12 February 2024 at 0

[web2py] Re: reCAPTCHA link in online web2py book

2024-01-31 Thread chriii...@gmail.com
Hello. Recpatcha is still working like a charm. Here are some examples about how to use it. if you want to have Recaptcha in login form, set it like this: in models.py #import recaptcha from gluon.tools import Recaptcha2 #enable recaptcha in login form. auth.settings.captcha = Recaptcha2(requ

[web2py] Re: reCAPTCHA link in online web2py book

2024-01-31 Thread Dave S
On Sunday, January 28, 2024 at 5:41:01 AM UTC-8 lucas wrote: anyone on this, at all? Sorry, I haven't used recaptcha, but I think there was a recent thread about it in the py4web forum. Good luck /dps On Monday, January 22, 2024 at 9:01:02 AM UTC-5 lucas wrote: hello one and all, the lin

[web2py] Re: reCAPTCHA link in online web2py book

2024-01-28 Thread lucas
anyone on this, at all? On Monday, January 22, 2024 at 9:01:02 AM UTC-5 lucas wrote: > hello one and all, > > the link for reCAPTCHA, or, " > http://web2py.com/books/default/reference/29/recaptcha";, under the online > web2py book, " > http://web2py.com/books/default/chapter/29/09/access-control

[web2py] Re: add record no longer available in smartgrid since switch to ms sql

2024-01-18 Thread Davidiam
I found the reason. I needed to add user_signature=False The default for this parameter is True and will prevent you from adding records!!! On Thursday, January 18, 2024 at 1:47:37 PM UTC+1 Davidiam wrote: > I recently switched from sqlite to MS SQL and my application no longer > allows me to

[web2py] Re: Incorrect archive/restore behavior?

2024-01-17 Thread 'jimka...@yahoo.com' via web2py-users
Sorry, for "*Having cleared out the tables before step 3, this results"* this should have said step 4 for "since there is no row in mediatitles that mediatitles_archive..." this should have said there is no row in mediatitles with the required id On Wednesday, January 17, 2024 at 12:59:59 

[web2py] Re: Failing to download search results as csv

2024-01-15 Thread Dave S
On Tuesday, August 22, 2023 at 2:32:48 AM UTC-7 mostwanted wrote: Hi guys, i need help downloading results as csv, i am failing dismally I dont know what to do After the search results return values I want to download those results into my computer somewhere the current version of my code is g

[web2py] Re: cibersecurity audit issue about login

2023-12-31 Thread Dave S
On Thursday, November 16, 2023 at 9:32:58 AM UTC-8 Ramos wrote: Hello friends, i guess this is a similar issue between web2py and py4web so im posting to both groups. Sorry if im abusing ... We had a cibersecurity audit in our web2py app and they found this issue QUOTE During the application

[web2py] Re: Exception Error: 'Field' object has no attribute '__dir__'

2023-12-28 Thread Massimo Di Pierro
This is fixed in master, although I failed to reproduce. Thanks for reporting it and suggesting the fix. On Tuesday 12 December 2023 at 02:06:28 UTC-8 mostwanted wrote: > Is there something wrong with the upload functionality or is just my app? > > On Friday, December 8, 2023 at 7:39:49 PM UTC+2

[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: is upgrade still experimental ?

2023-12-28 Thread Massimo Di Pierro
I think it will always be experimental. I do not want to take any responsibility for breaking your local installation. :-) On Monday 20 November 2023 at 06:20:33 UTC-8 Ramos wrote: > hello is the upgrade button still experimental ? > [image: image.png] > > > > [image: image.png] > > Regards > An

[web2py] Re: Exception Error: 'Field' object has no attribute '__dir__'

2023-12-12 Thread mostwanted
Is there something wrong with the upload functionality or is just my app? On Friday, December 8, 2023 at 7:39:49 PM UTC+2 mostwanted wrote: > Hi guys, I recently 'upgraded' my web2py version to the latest version > (2.27.1) but i've forgotten the previous version. Now suddenly when i try > to s

[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

[web2py] Re: cibersecurity audit issue about login

2023-11-16 Thread Christian Varas
Hello António. Bruteforce in login is a common weakness that can be easy to solve. The most effective solution is implementing a CAPTCHA, in web2py I use google recaptcha because the implementation is easy and stops all the automations. In py4web I'm still unable to implement it in the login form

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

Re: [web2py] Re: app not loading external python library

2023-10-27 Thread Al Ex
pip install urllib3_secure_extra in my virtual env solved the problem. Thank you Tom for pointing to the solution, I had missed that thread. On October 27, 2023 at 16:59:18, Tom Clerckx (tcler...@gmail.com) wrote: I think this is the same issue as was discussed a few months ago: See this threa

[web2py] Re: app not loading external python library

2023-10-27 Thread Tom Clerckx
I think this is the same issue as was discussed a few months ago: See this thread: https://groups.google.com/g/web2py/c/xYVWpDGLuzY/m/t9sBabWOAgAJ Seems some issue between the custom importer and the urllib3 module. Can you try once more, but also explicitly pip install *urllib3_secure_extra *i

[web2py] Re: File Download Broken after Pull Request #2471

2023-10-26 Thread CarlosDB
Yes, for me it works fine now. Thanks. Carlos. El jueves, 26 de octubre de 2023 a las 7:42:25 UTC+2, Massimo Di Pierro escribió: > I agree with you. I committed your proposed change to master. Please > confirm this indeed fixes it and I will make another release. > > On Wednesday, 4 October 2

Re: [web2py] Re: AssertionError: Header names/values must be of type str

2023-10-25 Thread Massimo DiPierro
Can you try once more? On Wed, 25 Oct 2023 at 23:03, Al Ex wrote: > I tried with a new installation of web2py > > $ git clone --recursive https://github.com/web2py/web2py.git > > > It gives the same error > > * > ERROR:Rocket.Errors.Thread-11:T

[web2py] Re: AssertionError: Header names/values must be of type str

2023-10-25 Thread Massimo Di Pierro
I believe this is now fixed in master, thanks to Carlos' suggestion. Can you please give it a try? On Monday, 23 October 2023 at 13:30:34 UTC-7 alex wrote: > Hi, Running web2py in virtualenviroment (python 3.9.5, it happens also in > python 3.10.10) > > > > ERROR:Ro

  1   2   3   4   5   6   7   8   9   10   >