skin-default.html missing from ldaptor-webui

Bug #76438 reported by Jyrki Muukkonen
4
Affects Status Importance Assigned to Milestone
ldaptor (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

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.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Thanks for reporting this and helping improve Ubuntu.

Can you confirm if this is still an issue in Ubuntu Hardy?

Changed in ldaptor:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Albin Tonnerre (lutin) wrote :

Fixed in the latest upload to hardy (0.0.43-1ubuntu1), marking as fix commited

Changed in ldaptor:
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ldaptor - 0.0.43-1ubuntu1

---------------
ldaptor (0.0.43-1ubuntu1) hardy; urgency=low

  * Merge from Debian unstable. Remaining Ubuntu changes:
    - Remove empty POT files. Fixes FTBFS caused by pkgstriptranslations.
  * Debian version fixes LP: #76438
  * Modify Maintainer value to match the DebianMaintainerField specification.

ldaptor (0.0.43-1) unstable; urgency=low

  * QA upload.
    + Set maintainer as Debian QA Group.
  * Acknowledge NMUs.
    + Remove ldiffdiff, ldiffpatch references (Closes: #370552).
    + Remove dummy package description (Closes: #420771).
  * Make package non-native.
    + Maintainer is no longer upstream.
    + Upstream appears dormant.
  * Bump debhelper build-dep and compat to 6.
  * Add Homepage field in control.
  * Remove ldaptor-common package (Closes: #385447).
    + Leave empty ldaptor-common.install because orig.tar.gz has debian dir

ldaptor (0.0.43-0.6) unstable; urgency=low

  * Non-maintainer upload.
  * Support the latest python policy. Closes: #445285.
  * Select the DEB_PYTHON_SYSTEM.
  * Build-depend on python-support and cdbs 0.4.49.
  * Lots of cleanup in the rules file.
  * setup.py: install skin-default.html. Closes: #408492.
  * interfaces.py, apps/webui/{iwebui,search}.py: use zope.interface
    instead of the deprecated twisted.python.components.
  * debian/{postinst,prerm}: removed, not necessary anymore.
  * Standards version is 3.7.3
  * Fix list formatting in the long descriptions.
  * Fix description for python-ldaptor.

 -- Albin Tonnerre <email address hidden> Tue, 05 Feb 2008 17:55:20 +0100

Changed in ldaptor:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.