Public bug reported:
ldaptor-webui seems to be unusable, since it's missing /usr/lib/python
*/site-packages/ldaptor/apps/webui/skin-default.html file.
Here's the traceback from ldaptor-webui, triggered by the first http
request:
2006/12/19 16:33 EET [HTTPChannel,0,127.0.0.1] Unhandled error in Deferred:
2006/12/19 16:33 EET [HTTPChannel,0,127.0.0.1] Traceback (most recent call
last):
File "/var/lib/python-support/python2.4/nevow/flat/ten.py", line 62,
in partialflatten
return flattener(obj, context)
File "/var/lib/python-support/python2.4/nevow/flat/twist.py", line
56, in DeferredSerializer
original.addCallback(cb)
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py",
line 191, in addCallback
callbackKeywords=kw)
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py",
line 182, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py",
line 307, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/var/lib/python-support/python2.4/nevow/flat/twist.py", line
54, in cb
d.callback(flat.serialize(result, context))
File "/var/lib/python-support/python2.4/nevow/flat/ten.py", line 71,
in serialize
return partialflatten(context, obj)
File "/var/lib/python-support/python2.4/nevow/flat/ten.py", line 62,
in partialflatten
return flattener(obj, context)
File "/var/lib/python-support/python2.4/nevow/flat/flatstan.py", line
252, in RendererSerializer
return FunctionSerializer(original.rend, context, nocontext)
File "/var/lib/python-support/python2.4/nevow/flat/flatstan.py", line
233, in FunctionSerializer
result = original(context, data)
File "/var/lib/python-support/python2.4/nevow/rend.py", line 383, in
rend
doc = self.docFactory.load(context)
File "/var/lib/python-support/python2.4/nevow/loaders.py", line 239,
in load
currentModified = os.path.getmtime(self._filename)
File "posixpath.py", line 143, in getmtime
return os.stat(filename).st_mtime
exceptions.OSError: [Errno 2] No such file or directory:
'/usr/lib/python2.4/site-packages/ldaptor/apps/webui/skin-default.html'
I'm currently running Edgy, but same seems to happen with package from
Feisty.
The fix is simple, just add a line for skin-default.html to source
packages setup.py's data_files array.
** Affects: ldaptor (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
skin-default.html missing from ldaptor-webui
https://launchpad.net/bugs/76438
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs