Hello,
I'm having trouble using the scheduler. I have managed to set it up to
queue tasks and successfully complete them. Although, that only works if I
do not use database. If I include db in function that is tasked, I get this:
Traceback (most recent call last):
File "/srv/www/web2py/gluon/
solved, ran worker in different application than the task was sent from
On Tuesday, February 6, 2018 at 2:34:24 PM UTC+1, Simona Chovancová wrote:
>
> Hello,
>
> I'm having trouble using the scheduler. I have managed to set it up to
> queue tasks and successfully complete them. Although, that onl
Hello, days ago I started to use scheduler and all was working very well. I
could see db.scheduler_run.task_id lines in the db with all the results and
console.
Now the scheduler works very well but I don't see nothing in the
table db.scheduler_run.task_id. Why? Talk completed without problems.
The about page of the main web2py site
(http://web2py.com/init/default/what) points to a demo page at
http://www.web2py.com/demo_admin, but the demo is not working, it fails
attempting to create a ticket but the "ticket number" is "unknown".
Either the demo or the page should be fixed...
--
R
On Tuesday, February 6, 2018 at 7:58:15 AM UTC-8, Andrea Fae' wrote:
>
> Hello, days ago I started to use scheduler and all was working very well.
> I could see db.scheduler_run.task_id lines in the db with all the results
> and console.
>
> Now the scheduler works very well but I don't see not
I created like in the book. It's a model. I'm scheduling from the database
administrative interface. 2 days ago worked perfectly! I don't know!
Il 06 feb 2018 9:05 PM, "Dave S" ha scritto:
>
>
> On Tuesday, February 6, 2018 at 7:58:15 AM UTC-8, Andrea Fae' wrote:
>>
>> Hello, days ago I started
So, I did the following:
- I created a controller and I put the following code inside
# Example of a form that sends a valid POST request to changeAvatar()
@auth.requires_login()
def showChangeAvatarForm():
return locals()
# use /showChangeAvatarForm from browser for testing
@auth.require
Just ran into and fixed this problem after much trial and error. In short,
the URL that links to this controller method needs to have the
user_signature=True attribute: In our case this was a link from another
form grid:
...
links=[
dict(
header='Manage',
I have an application (used for comparing routes) with 2 tables relevant to
this question. (Paraphrasing; code is at home,
where the router jammed.)
db.define_table('run',
Field('when', 'date'),
Field('description', 'string))
db.define_table('segmen
Can you try here?
https://github.com/web2py/web2py/tree/master/scripts/setup-web2py-ubuntu.sh
I believe web2py moved their hosting to github a year or so back.
-Jim
On Sunday, February 4, 2018 at 11:48:28 AM UTC-6, Mamisoa Andriantafika
wrote:
>
>
> Hi,
>
> I tried to upgrade the easy way fr
Based on my experience and simple web protocols, you can't do what you
want. You could however combine all the images into one file (a zip file)
and download that zip file. In your controller you could do something like
this:
import os
import StringIO
import zipfile
tempfile = StringIO.Strin
Hi :)
Intuitively I would expect that these queries are equivalent ways to match
if boolean_field is not True:
~(db.mytable.boolean_field == True)
(db.mytable.boolean_field != True)
((db.mytable.boolean_field == None) | (db.mytable.boolean_field == False))
But only the last one works as expec
Your controller function where you used the request.restful decorator
probably doesn't have a "def POST" function inside it to deal with the post
method.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.goo
On Tuesday, February 6, 2018 at 12:10:18 PM UTC-8, Andrea Fae' wrote:
>
> I created like in the book. It's a model. I'm scheduling from the database
> administrative interface. 2 days ago worked perfectly! I don't know!
>
>
I've never tried that. The production system I run the scheduler on
does
On Tuesday, February 6, 2018 at 1:57:29 PM UTC-8, Dave S wrote:
>
> [...]
>
I think this is on 2.14.6; I may be able to test newer web2py's tonight.
> Am I doing something wrong, or was there a hiccup in intersection?
>
>
Downloading 2.16.1 and blindly copying my 2.14.6 copy to the new
enviro
15 matches
Mail list logo