[web2py] Re: Latest version of web2py and python versions

2022-12-28 Thread Leonel Câmara
You can use a higher python version it's fine.

A quarta-feira, 21 de dezembro de 2022 à(s) 06:19:40 UTC, 
david@gmail.com escreveu:

> Good morning,
>
> Can anyone tell me if the latest version of web2py was specifically 
> developed for any specific python version or range of python versions?
>
> After years of using an older version, and being limited to the version 
> 3.6, we will be upgrading to the most recent version of web2py, and I will 
> need to recommend a version of python to the different development groups.
>
> python 3.7 will be out of support soon, so I would ideally like to move to 
> python 3.9 or 3.10.  I did a test with 3.9 yesterday and all my 
> applications worked fine, but I just wanted to be sure that the version was 
> meant to be used with these higher versions.
>
> Kind Regards,
> David
>

-- 
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 Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/9bf3ab26-125f-4a6e-81c5-1bb6f206f91fn%40googlegroups.com.


[web2py] UnicodeDecodeError with welcome app

2022-12-28 Thread Stephan
Hello, 
did anyone notice that index.html of the welcome app in recent web2py 
versions is throwing an UnicodeDecodeError (at least when the browser 
language is not set to English (tested for German))
   'utf8' codec can't decode byte 
0xa0 in position 8: invalid start byte>
I could narrow the error down to the web2py_ajax.html which is included in 
the layout.html, which itself loads a bunch of js.-files. 
Did anyone run into this? Maybe should/could to be fixed?!
Thanks,
Stephan

-- 
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 Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/d314611f-b079-496a-a253-4fa4e598f510n%40googlegroups.com.


[web2py] Re: Model function raises error when called from scheduler and not from controller

2022-12-28 Thread Leonel Câmara
There should not be any differences, are you using web2py to run the 
scheduler or are you running it directly?

A quarta-feira, 30 de novembro de 2022 à(s) 16:50:06 UTC, Ramos escreveu:

> Hello 
> i have tested a model function script and it works when i call it from a 
> controller.
> Then i need to run it every 10 minutes.
> Calling if from admin scheduler task  raises an error because the model 
> associated with it loads another  python module. It cannot import it. 
> The question is if the environment is different between a controller and a 
> scheduler task that could raise this issue.
>
>
>
>
> Regards
> António
>

-- 
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 Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/e0e9d2b5-7885-41e3-a268-420c683d1116n%40googlegroups.com.


Re: [web2py] web2py 2.23.0 released

2022-12-28 Thread Philip Kilner

Hi Massimo,

Thank you very much for this.

I am still using web2py for a critical project, although aiming to 
switch to py4web for new projects sometime early next year, and migrate 
older projects when I am comfortable. It's really good to see web2py 
getting some love in the meantime.


--

PhilK


On 12/27/22 07:26, Massimo Di Pierro wrote:

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-factor authentication
- Fixed an open redirect vulnerability
- Some bugs fixes.

Thanks everybody who contributed, especially Leonel.

As you noticed the pace of changes in web2py is very slow. Once again 
I recommend that you take a look at py4web, also based on pydal and 
the same template language and helpers as web2py. Yet it is much 
faster and designed from scratch to work with python 3.


Massimo
--
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 Google 
Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/84e0b47f-84bc-4b9f-9704-d2fbd96bcf0cn%40googlegroups.com 
.


--
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 Google Groups "web2py-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/38af6fa8-6ab7-570b-d362-3839e05b65d3%40gmail.com.