I know this is really old news, but redis no longer works under python 3
and web2py. I'm just thinking it's time to take out all mention of redis
from the book and list of features of web2py. Yes, it technically works
with python 2, but since that platform is now dropped in the wake of the
go
Regarding Scheduler code in, I understand you can put it in any Model file.
On Fri, 13 Nov 2020, 5:01 am Gaël Princivalle,
wrote:
> I can see if I create a new app in Webpy 2.20.4 that the db file have this:
> if configuration.get('scheduler.enabled'):
> from gluon.scheduler import Scheduler
I can see if I create a new app in Webpy 2.20.4 that the db file have this:
if configuration.get('scheduler.enabled'):
from gluon.scheduler import Scheduler
scheduler = Scheduler(db,
heartbeat=configuration.get('scheduler.heartbeat'))
In my db.py file I don't have that, the scheduler is c
solved.
I need to activate my env first !
Em qui., 12 de nov. de 2020 às 12:16, António Ramos
escreveu:
> hello i´m using python3 in opastack and got some problems with import
> I installed zeep and web2py is looking in the wrong place for it.
> Any help ?
>
>
> No module named applications.fil
Hi
Just an off topic idea for anyone.
I noticed that ponyorm has a commercial side that could also work with
pydal.
Ponyorm is also on anaconda.org with a lot of downloads (>4).
Pydal would also be valuable to the scientific community so it would be
great to see pydal gain more exposure.
-
hello i´m using python3 in opastack and got some problems with import
I installed zeep and web2py is looking in the wrong place for it.
Any help ?
No module named applications.fileit.modules.zeepVersão
web2py™ Version 2.20.4-stable+timestamp.2020.05.03.05.18.50
Python Python 3.6.8: /home/ramos/a
Sure, here is the complete scheduler.py file:
My main DB is db, the DB with the scheduler tables is db_sc.
# -*- coding: utf-8 -*-
def e_db():
today = datetime.datetime.today()
file_name = '%s_%s_%s_%s_%s:%s.csv' % (request.application, today.day,
today.month, today.year, today.hour, toda
On Wednesday, November 11, 2020 at 11:17:21 PM UTC-8, Gaël Princivalle
wrote:
>
> Running it without nohup I can see this error. How can I debug that?
> This app was running first on Web2py 2.14.16 and now it runs on the 2.20.4
> version.
>
> ~/apps/web2py_folder2/env/bin/python ~/apps/web2py_
On Sunday, November 8, 2020 at 11:54:58 AM UTC-8, Gaël Princivalle wrote:
>
> > An interesting routine, but I just use PIL's thumbnail() method. Could
> you explain the advantages of your routine?
> I've no idea. I've followed an example years ago and I'm still working
> like that.
>
> Can yo
9 matches
Mail list logo