[web2py] Re: The -f command line switch seems to break custom_import

2011-11-11 Thread pgergo
The same issue affects the loading of logging.conf. It is read from the current directory at the beginning of main.py. But using the debian package the cwd is '/usr/share/web2py', and that location is not writable to users, nor can be customized per application server. Probably logging.conf should

[web2py] Re: The -f command line switch seems to break custom_import

2011-11-11 Thread Massimo Di Pierro
In trunk! Thanks. On Nov 10, 9:51 am, pgergo pge...@deverto.com wrote: Fix, in case anyone interested: --- a/custom_import.py  2011-10-01 12:03:20.0 +0200 +++ b/custom_import.py 2011-11-10 16:22:29.466847323 +0100 @@ -11,7 +11,7 @@  def custom_import_install(web2py_path):          

[web2py] Re: The -f command line switch seems to break custom_import

2011-11-10 Thread pgergo
Fix, in case anyone interested: --- a/custom_import.py 2011-10-01 12:03:20.0 +0200 +++ b/custom_import.py 2011-11-10 16:22:29.466847323 +0100 @@ -11,7 +11,7 @@ def custom_import_install(web2py_path): global _web2py_importer global _web2py_path -if