[web2py] Stats from Jetbrains

2018-09-04 Thread Carlos Cesar Caballero Díaz
Hi, there are some interesting stats published by Jetbrains 
https://www.jetbrains.com/research/devecosystem-2018/python/



Greetings.


--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Exporting a table to csv

2018-09-04 Thread Chris Insinger
Hi Dave, 

You’re right, I’m using python3. I thought it might be related to that so 
yesterday I added an issue on the github site for the book:

https://github.com/web2py/web2py-book/issues/393

If that’s the wrong place/way please let me know. 

Regards,
Chris

Sent from my iPhone

>> On 5 Sep 2018, at 7:21 AM, Dave S  wrote:
>> 
>> On Monday, September 3, 2018 at 10:31:25 PM UTC-7, Chris_I wrote:
>> Hi there,
>> 
>> Found a way to solve it, and thought I'd share in case others search on this 
>> topic.
>> 
>> Replace the str(...) below with str(...).encode(), so that it looks like 
>> this:
>> 
>> open('test.csv', 'wb').write(str(db(db.student).select()).encode())
>> 
>> Regards,
>> 
>> Chris
> 
> Are you using Python3?  While web2py itself has been updated to work with 
> Python3, the examples in the book are still assuming Python2 (2.7 or later).  
> It's perhaps time to add a warning to that effect in the book.
> 
> /dps
> 
>  
>> 
>>> On Monday, 3 September 2018 22:53:11 UTC+8, Chris_I wrote:
>>> Hello All,
>>> 
>>> Just started learning web2py a few days ago, and am really enjoying it!
>>> 
>>> Working through the chapter on DAL in the Book, I noticed I got an error 
>>> when doing this:
>>> 
>>> open('test.csv', 'wb').write(str(db(db.student).select()))
>>> 
>>> The message I get is:
>>> 
>>> TypeError: a bytes-like object is required, not 'str'
>>> 
>>> 
>>> 
>>> It occurs in:
>>> 
>>> 
>>> 
>>> File "mypath/web2py/gluon/packages/dal/pydal/base.py", line 844, in 
>>> export_to_csv_file
>>> 
>>> 
>>> ofile.write('TABLE %s\r\n' % table)
>>> 
>>> 
>>> 
>>> 
>>> 
>>> The select() returns 5 perfectly normal-looking rows.
>>> 
>>> 
>>> 
>>> Am I overlooking something obvious?
>>> 
>>> 
>>> 
>>> Thanks,
>>> 
>>> 
>>> 
>>> Chris
>>> 
> 
> -- 
> 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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How to add variable in function which called inside ajax function

2018-09-04 Thread Dave S


On Tuesday, September 4, 2018 at 6:23:03 AM UTC-7, Константин Комков wrote:
>
> Hello, can you take advice can I send variables in web2py function - ajax 
> or I need to use jquery function.
> Can somebody show example how to send variables with jQuery.ajax and get 
> answer from server (controller and js in view).
> For example we have a = 2 and b = 3. I want to get from server a+b.
>
>
I have used (in example.html)




[...]

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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Python 3.7 Compiled Apps

2018-09-04 Thread Donald McClymont

The key bit of the error is:

  File "C:\web2py\gluon\compileapp.py", line 470, in read_pyc
return marshal.loads(data[marshal_header_size:])
ValueError: bad marshal data (invalid reference)

I have also done a bit more digging and this seems to be caused by PEP 552

and for python 3.7 it appears to be fixed by changing  line 470 to  return 
marshal.loads(data[16:])  - so I think this would need a specific test for 
versions 3.7 incorporated - I will raise a bug report.


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Exporting a table to csv

2018-09-04 Thread Dave S
On Monday, September 3, 2018 at 10:31:25 PM UTC-7, Chris_I wrote:
>
> Hi there,
>
> Found a way to solve it, and thought I'd share in case others search on 
> this topic.
>
> Replace the str(...) below with str(...).encode(), so that it looks like 
> this:
>
> open('test.csv', 'wb').write(str(db(db.student).select()).encode())
>
>
> Regards,
>
> Chris
>
>
Are you using Python3?  While web2py itself has been updated to work with 
Python3, the examples in the book are still assuming Python2 (2.7 or 
later).  It's perhaps time to add a warning to that effect in the book.

/dps

 

>
> On Monday, 3 September 2018 22:53:11 UTC+8, Chris_I wrote:
>>
>> Hello All,
>>
>> Just started learning web2py a few days ago, and am really enjoying it!
>>
>> Working through the chapter on DAL in the Book, I noticed I got an error 
>> when doing this:
>>
>> open('test.csv', 'wb').write(str(db(db.student).select()))
>>
>>
>> The message I get is:
>>
>> TypeError: a bytes-like object is required, not 'str'
>>
>>
>> It occurs in:
>>
>>
>> File "mypath/web2py/gluon/packages/dal/pydal/base.py", line 844, in 
>> export_to_csv_file
>>
>> ofile.write('TABLE %s\r\n' % table)
>>
>>
>>
>> The select() returns 5 perfectly normal-looking rows.
>>
>>
>> Am I overlooking something obvious?
>>
>>
>> Thanks,
>>
>>
>> Chris
>>
>>
>>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Web2py ports busy

2018-09-04 Thread Jim S
Sounds like you already have web2py (or something else) running on that 
port.

You can try running on a different port using:

python web2py.py -p 8001

Or, use the tools on your host os to determine what is running on port 8000 
and stop that process.

-Jim

On Tuesday, September 4, 2018 at 4:52:07 AM UTC-5, FRANK OJAMBO wrote:
>
> how can i  deploy or install web2py on domain hosting .
>
> each time i try to run the command "python web2py.py" i get 
>
> please visit:
> http://127.0.0.1:8000/ 
> 
> use "kill -SIGTERM 38820" to shutdown the web2py server
>
>
> ERROR:Rocket.Errors.Port8000:Socket 127.0.0.1:8000 in use by other 
> process and it won't share.
> WARNING:Rocket.Errors.Port8000:Listener started when not ready.
>
>
> Even when i change the ports i still get the same error.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: HELP: Communication error

2018-09-04 Thread Dave S


On Tuesday, September 4, 2018 at 1:09:33 PM UTC-7, Dave S wrote:
>
>
>
> On Sunday, September 2, 2018 at 10:41:30 AM UTC-7, Massimo Di Pierro wrote:
>>
>> It is probably a permission issue and the web server do not have write 
>> permission in your app folder.
>>
>
> If it was "working last night",  I would be wondering what changed the 
> permissions.  Restoring backups is the first thing that comes to mind.
>
> On the other hand, I've had various problems with Chrome and a local 
> web2py instance that seem to be related to problems with Chrome's cache.  
> [I forget where I found the clue, perhaps on StackOverflow].   My symptoms 
> are usually slow access, the "waiting for cache" message on the status 
> line, 
>

and/or "waiting for socket"
 

> the activity graph on the web2py launch gui looking like a thrashed disk 
> chart even with a long time (minutes) between requests, and a couple of 
> other things I can't remember.  I haven't tied the IDE "communication 
> error" to that (maybe from not seeing it often enough since getting the 
> clue), but I would suspect it.   The fix seems to be close the Chrome 
> window that's accessing web2py, and restart it (seems to be okay to leave 
> other Chrome windows open).  Using the browser's "advanced features" clear 
> cache option doesn't seem to be effective.  I have not tried closing just 
> the web2py page(s) (that window usually has about 15 web2py windows open, 
> because I use 4+ projects at home).
>
> Since the home machine is a laptop, I can also get the "communication 
> error" message when I run out of space. (Lots of things give disgruntled 
> messages when I do that.)  I then start moving things over to USB hard 
> drives.
>
> HTH
>
> Dave S
> /dps
>
>
>> On Friday, 31 August 2018 12:41:05 UTC-7, Carlos Zenteno wrote:
>>>
>>> When editing app source from web interface there is a problem while 
>>> saving ...I'm getting 'Last saved on: communication error' and nothing 
>>> saved ... 
>>> tried several times and even re-installed simplejson
>>>
>>> No luck
>>>
>>> it was working perfect last night and this morning this happened.
>>>
>>> Help !!
>>>
>>> USING
>>> Version 
>>>
>>> 2.17.1-stable+timestamp.2018.08.06.01.02.56
>>> (Running on Rocket 1.2.6, Python 2.7.14) 
>>>
>>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: HELP: Communication error

2018-09-04 Thread Dave S


On Sunday, September 2, 2018 at 10:41:30 AM UTC-7, Massimo Di Pierro wrote:
>
> It is probably a permission issue and the web server do not have write 
> permission in your app folder.
>

If it was "working last night",  I would be wondering what changed the 
permissions. web2py Restoring backups is the first thing that comes to mind.

On the other hand, I've had various problems with Chrome and a local web2py 
instance that seem to be related to problems with Chrome's cache.  [I 
forget where I found the clue, perhaps on StackOverflow].   My symptoms are 
usually slow access, the "waiting for cache" message on the status line, 
the activity graph on the web2py launch gui looking like a thrashed disk 
chart, and a couple of other things I can't remember.  I haven't tied the 
IDE "communication error" to that (maybe from not seeing it often enough 
since getting the clue), but I would suspect it.   The fix seems to be 
close the Chrome window that's accessing web2py, and restart it (seems to 
be okay to leave other Chrome windows open).  Using the browser's "advanced 
features" clear cache option doesn't seem to be effective.  I have not 
tried closing just the web2py page(s) (that window usually has about 15 
web2py windows open, because I use 4+ projects at home).

Since the home machine is a laptop, I can also get the "communication 
error" message when I run out of space. (Lots of things give disgruntled 
messages when I do that.)  I then start moving things over to USB hard 
drives.

HTH

Dave S
/dps


> On Friday, 31 August 2018 12:41:05 UTC-7, Carlos Zenteno wrote:
>>
>> When editing app source from web interface there is a problem while 
>> saving ...I'm getting 'Last saved on: communication error' and nothing 
>> saved ... 
>> tried several times and even re-installed simplejson
>>
>> No luck
>>
>> it was working perfect last night and this morning this happened.
>>
>> Help !!
>>
>> USING
>> Version 
>>
>> 2.17.1-stable+timestamp.2018.08.06.01.02.56
>> (Running on Rocket 1.2.6, Python 2.7.14) 
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How to add variable in function which called inside ajax function

2018-09-04 Thread Константин Комков
I saw it, I want to see controller

вторник, 4 сентября 2018 г., 19:48:07 UTC+3 пользователь Joe Barnhart 
написал:
>
>
> $.ajax({
>   data: {a:2, b:3},
>   url: "{{=URL('loadAdditonalInfo')}}",
>   success: my_success_fcn(ret)
> )};
>
>
> Something like this, from memory...
>
> You can get more details at the jQuery website.  It has excellent docs.
>
> Joe
>
> On Tuesday, September 4, 2018 at 6:23:03 AM UTC-7, Константин Комков wrote:
>>
>> Hello, can you take advice can I send variables in web2py function - ajax 
>> or I need to use jquery function.
>> Can somebody show example how to send variables with jQuery.ajax and get 
>> answer from server (controller and js in view).
>> For example we have a = 2 and b = 3. I want to get from server a+b.
>>
>>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How to add variable in function which called inside ajax function

2018-09-04 Thread Joe Barnhart

$.ajax({
  data: {a:2, b:3},
  url: "{{=URL('loadAdditonalInfo')}}",
  success: my_success_fcn(ret)
)};


Something like this, from memory...

You can get more details at the jQuery website.  It has excellent docs.

Joe

On Tuesday, September 4, 2018 at 6:23:03 AM UTC-7, Константин Комков wrote:
>
> Hello, can you take advice can I send variables in web2py function - ajax 
> or I need to use jquery function.
> Can somebody show example how to send variables with jQuery.ajax and get 
> answer from server (controller and js in view).
> For example we have a = 2 and b = 3. I want to get from server a+b.
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: pydal metadata in db

2018-09-04 Thread Joe Barnhart
I'm worried about losing control over the db migration process.  Using 
MySql it is fairly common for the migration process to go wrong, as MySql 
doesn't do will with adding and deleting multiple columns.  I often need to 
drop a few tables, delete the corresponding file in 'databases' and then 
force recreating the tables.  It's easier than manually editing the tables 
in a MySql session and doing a "fake" migrate.

Will this change make it harder to recover from migrations that don't go 
well, turning it into an "all or nothing" approach?  That would create some 
difficulty for me unless I have good workarounds.

Joe

On Sunday, September 2, 2018 at 11:08:50 AM UTC-7, Massimo Di Pierro wrote:
>
> We you may know web2py has the ability to store table metadata in DB:
>
> from gluon.dal import InDBMigrator
> db = DAL(myconf.get('db.uri'), adapter_args=dict(migrator=InDBMigrator))
>
> This is better for scalability as there is no filsystem IO.
>
> How do people feel with the following:
> - make the above the default behavior (no more metadata/*.table)
> - eliminate logging in databases/sql.log as use log.info instead
> - make migration always on on localhost and appadmin and always off 
> otherwise
> - create a script and an appadmin endpoint for fake_migration (partial 
> database repair)
>
> This can be done with a change to the welcome app in a backward compatible 
> manner.
> Hardest part is update the docs.
>
> 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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Can't understand this error in gluon/rewrite.py

2018-09-04 Thread Leonel Câmara
The problems seems to be in the controllers and not in the application list 
since looking at your logs they seem to be fine.

Notice that "load" does not check if the controllers are coming just with 
"DEFAULT" string.

https://github.com/web2py/web2py/blob/master/gluon/rewrite.py#L283

Can you log the controllers too?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How to add variable in function which called inside ajax function

2018-09-04 Thread Константин Комков
Hello, can you take advice can I send variables in web2py function - ajax 
or I need to use jquery function.
Can somebody show example how to send variables with jQuery.ajax and get 
answer from server (controller and js in view).
For example we have a = 2 and b = 3. I want to get from server a+b.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Web2py ports busy

2018-09-04 Thread FRANK OJAMBO
how can i  deploy or install web2py on domain hosting .

each time i try to run the command "python web2py.py" i get 

please visit:
http://127.0.0.1:8000/ 

use "kill -SIGTERM 38820" to shutdown the web2py server


ERROR:Rocket.Errors.Port8000:Socket 127.0.0.1:8000 in use by other process 
and it won't share.
WARNING:Rocket.Errors.Port8000:Listener started when not ready.


Even when i change the ports i still get the same error.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Can't understand this error in gluon/rewrite.py

2018-09-04 Thread Lisandro
Thank you all for your help.
I've tried to log the value of routers.BASE.applications, but I'm facing an 
weird situation:

The traceback shows that the error is at line 1241 of gluon/rewrite.py (the 
second line):

if self.args:
if self.args[0] in self.functions or self.args[0] in self.controllers or 
self.args[0] in applications:
self.omit_function = False


First I added some lines in order to log the content of "applications":

if self.args:
mylog = open('mylog.txt', 'a')
mylog.write('%s\n' % applications)
mylog.close()
if self.args[0] in self.functions or self.args[0] in self.controllers or 
self.args[0] in applications:
self.omit_function = False

Having made that change, I restarted uwsgi and reproduced the error. Then I 
checked the log, but I only saw a lot of this:

[regionoeste]
[regionoeste]
[pescaregional]
[pescaregional]
[pescaregional_panel]
[pescaregional_panel]
[blogmedios]
[blogmedios]
[blogmedios]

There was nothing like "ALL" or anything weird. Every logged line is a list 
of one only app (I think that's because I use exclusive_domain=True, so 
each app can be accessed only through a specific domain). 


Then I tried to catch the error to log anything that could help, so I did 
this:

if self.args:
try:
if self.args[0] in self.functions or self.args[0] in self.controllers 
or self.args[0] in applications:
self.omit_function = False
except TypeError:
mylog = open('mylog.txt', 'a')
mylog.write('%s\n' % applications)
mylog.close()

Again, restarted uwsgi and reproduced the error.
To my surprise, nothing was logged (the log file hadn't been even created).
But the scheduler task had indeed failed with this traceback:

File "applications/pescaregional/modules/virtual_methods.py", line 248, in 
contenido_url return URL(a=current.CONFIG.cliente, c='default', f=f, args=[
contenido.id, contenido.slug], extension='', scheme=True, host=current.
CONFIG.dominio) if f else None 
File "/var/www/medios/gluon/html.py", line 391, in URL args, other, scheme, 
host, port, language=language) 
File "/var/www/medios/gluon/rewrite.py", line 197, in url_out function, args
, other, scheme, host, port, language) 
File "/var/www/medios/gluon/rewrite.py", line 1366, in map_url_out File 
"/var/www/medios/gluon/rewrite.py", line 1292, in acf def acf(self): 
File "/var/www/medios/gluon/rewrite.py", line 1241, in omit_acf try: 
TypeError: 'in ' requires string as left operand, not long


Notice the traceback is slightly different than the original one.
While the last line of the original traceback showed this:

File "/var/www/medios/gluon/rewrite.py", line 1241, in omit_acf if self.args
[0] in self.functions or self.args[0] in self.controllers or self.args[0] in
 applications: TypeError: 'in ' requires stringas left operand, not long

... in the last test I did it shows this:

File "/var/www/medios/gluon/rewrite.py", line 1241, in omit_acf try: 
TypeError: 'in ' requires string as left operand, not long


Meaning that the code is indeed running with the try:except block I added, 
but somehow the error isn't cached, although the scheduler task fails and 
reports that error :/


Some additional info that worths mention:

   - I have a development environment with the exact same software and 
   library versions (nginx, uwsgi, postgres, redis, web2py), but I can't 
   reproduce the error there.
   
   - My production environment grows automatically: an average of 10 new 
   websites are created per month; each time a new website is created, a 
   scheduler task installs a copy of two web2py applications I developed; at 
   this time, the web2py instance is running about 600 apps. The problem 
   started to happen recently, and I can confirm that it happens in all the 
   new websites, while it doesn't happen in the old ones. Could the problem be 
   related to the amount of installed apps? It shouldn't, right?
   
   - I can also confirm that nothing was changed, there wasn't any server 
   library update, the application code hasn't changed (it's cloned from a 
   local repository that has had the same version for months).


It's very weird.
In the meantime, I'll make a fix to my app, to pass the args to URL as 
strings, specially in the cases where the code is run within the scheduler 
environment. 

Let me know if you notice something or if you can think of any other test I 
could do.
Thanks a lot!


El lunes, 3 de septiembre de 2018, 16:28:53 (UTC-3), Anthony escribió:
>
> On Monday, September 3, 2018 at 1:47:41 PM UTC-4, Leonel Câmara wrote:
>>
>> Since it only happens with some installations, my guess is that this is 
>> happening in the case where this is the only web2py app (not even the admin 
>> or welcome is installed). In this case the list of applications is probably 
>> a single string instead of a list. 
>>
>> Are you setting routers.BASE.applications somewhere in your routes.py?
>>
>> Otherwise, I think this is