I want to test Martin Mulone's power pack plug-in. I can test this in usual way, ie., application is within web2py directory.
But my problem is that I kept all my applications out of web2py installation directory. Now if I run following command, all I get is an error saying "application powerpack doesn't exist. want to create(y/n)?" and if I say yes it will create an application within application folder inside web2py installation directory. It never sees the powerpack app within my custom folder where I kept applications. $> python web2py.py -f /home/kra/Works/Python/web2py_projects -S powerpack -M -N -R applications/powerpack/private/groups.py If I say no, it gives an error saying that *OSError: [Errno 2] No such file or directory: 'applications/powerpack/cache'*, it gives same error even if there is a directory "cache" So I assume it must be the problem with web2py, which doesn't uses os.path.abspath() I had one such issue before I tried different folder set-up, So, please look into it. Also I'll try to investigate and fix the problem myself. For those who're concerned trace-back is included below. application powerpack does not exist, create (y/n)?n Traceback (most recent call last): File "trunk/web2py.py", line 19, in <module> gluon.widget.start(cron=True) File "/home/kra/Works/Python/web2py_projects/trunk/gluon/widget.py", line 804, in start import_models=options.import_models, startfile=options.run) File "/home/kra/Works/Python/web2py_projects/trunk/gluon/shell.py", line 185, in run _env = env(a, c=c, import_models=import_models) File "/home/kra/Works/Python/web2py_projects/trunk/gluon/shell.py", line 122, in env environment = build_environment(request, response, session) File "/home/kra/Works/Python/web2py_projects/trunk/gluon/compileapp.py", line 228, in build_environment environment['cache'] = Cache(request) File "/home/kra/Works/Python/web2py_projects/trunk/gluon/cache.py", line 365, in __init__ self.disk = CacheOnDisk(request) File "/home/kra/Works/Python/web2py_projects/trunk/gluon/cache.py", line 227, in __init__ os.mkdir(folder) OSError: [Errno 2] No such file or directory: 'applications/powerpack/cache'