Package: python-web2py
Version: 1.99.2.1-1
Severity: normal
Dear Maintainer,
I installed web2py, ran 'web2py' from some directory under my home
directory. The 'welcome' and 'admin' apps work just fine. The
'examples' one fails.
* The first issue was that it tried to create mkdir
applications/examples/languagees , but that one was a dandling symlink
to the non-existing /usr/share/web2py/languages .
I also noticed that under applications/examples, controllers, models,
views and static are generated as symlinks to
/usr/share/web2py/applications/examples/ . Doesn't this make them
read-only and thus prevents editing pages?
Anyway, the problem I have now is a RestrictedError:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/gluon/restricted.py", line 194, in
restricted
exec ccode in environment
File
"/home/tzafrir/Proj/web2py/applications/examples/controllers/default.py", line
71, in <module>
File "/usr/lib/pymodules/python2.7/gluon/globals.py", line 149, in <lambda>
self._caller = lambda f: f()
File "/usr/lib/pymodules/python2.7/gluon/cache.py", line 424, in action
return cache_model(key, func, time_expire)
File "/usr/lib/pymodules/python2.7/gluon/cache.py", line 184, in __call__
value = f()
File
"/home/tzafrir/Proj/web2py/applications/examples/controllers/default.py", line
13, in index
return response.render()
File "/usr/lib/pymodules/python2.7/gluon/globals.py", line 185, in render
run_view_in(self._view_environment)
File "/usr/lib/pymodules/python2.7/gluon/compileapp.py", line 524, in
run_view_in
restricted(ccode, environment, layer)
File "/usr/lib/pymodules/python2.7/gluon/restricted.py", line 202, in
restricted
raise RestrictedError(layer, code, '', environment)
RestrictedError
I've tried various things, but no luck.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-web2py depends on:
ii python 2.7.2-9
ii python-gluon 1.99.2.1-1
Versions of packages python-web2py recommends:
ii libjs-jquery 1.7-1
ii python-gtk2 2.24.0-2
ii python-tk 2.7.1-3
python-web2py suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]