maybe i didn't explain what happened here. i've been running web2py on a
centos 7.6 server with python 2.7.5. i created a brand new server with
centos 8.2 with python 3.8.0. both servers are running web2py 2.20.4.
when i copy the application code from the centos 7.6 to the new centos 8.2
an
ok, i've tried what you suggested but on response.meta.keywords:
list(response.meta.keywords).append(', '+c.keywords if c.keywords
else "")
which does not except out, but when i view the final html code in the
browser, web2py still returns:
on the new centos 8.2 server. BUT on the o
If necessary, update pydal
Explanation: It sounds like an instance of iteritems is not being
converted to python 3 - I think that happens in pydal._compat.py.
If that is not the problem, continue...
Check value of: type(c.keywords)
Check value of: print(list(c.keywords))
If type(c.keywords
so, i did a lot of digging and experimenting. it came down to adding this
line:
response.meta.keywords = ""
so, i'm guessing instantiating keywords as a string forced it to be of type
string. and i confirmed with the final html in the browser and verified it
was outputting the string of
maybe this online cron can help.
https://www.easycron.com/
Em qui., 3 de set. de 2020 às 02:31, Andy W
escreveu:
> If you are using PythonAnywhere, they have Scheduled Tasks and (for paid
> accounts) an Aways-on Task.
> These are very simple to use. I use them for managing the queue of
> outgoi
5 matches
Mail list logo