You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Is there a reason why when something is run under the scheduler request.is_scheduler = None rather than True? When you access request.is_scheduler from outside of the scheduler you get False as one would expect. The current None value seems strange/non-intuitive.
#this won't work if request.is_scheduler: #do special scheduler stuff
#To really know if you're running under the scheduler you must use this which makes no sense if request.is_scheduler ==None: #do special scheduler stuff
This has been the case for a while and is still happening with the latest git trunk
Niphlod
unread,
Oct 3, 2016, 5:46:26 AM10/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
We partially fixed the problem last year, but I guess no one tested it. I have proposed a very simple fix in the newly created issue (seems to work after a quick test on Windows).
Anthony
Brian M
unread,
Oct 9, 2016, 8:25:20 PM10/9/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Thanks Anthony! request.is_scheduler == True now works under Windows for me too.