ubuntuone-file-storage-api package installation breaks core ubuntuone tools

Bug #791736 reported by Stuart Bishop
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntuone-file-storage-api
Fix Released
Critical
dobey
ubuntuone-file-storage-api (Ubuntu)
Fix Released
Critical
dobey
Natty
Won't Fix
Undecided
Unassigned
Oneiric
Fix Released
Critical
dobey

Bug Description

Binary package hint: ubuntuone-file-storage-api

If I install the ubuntuone-file-storage-api package, other ubuntuone tools suck as ubuntuone-control-panel-gtk start failing:

$ ubuntuone-control-panel-gtk
Traceback (most recent call last):
  File "/usr/bin/ubuntuone-control-panel-gtk", line 29, in <module>
    from ubuntuone.controlpanel.gtk import TRANSLATION_DOMAIN
ImportError: No module named controlpanel.gtk

Other tools also fail with import problems:

$ ubuntuone-indicator
Traceback (most recent call last):
  File "/usr/bin/ubuntuone-indicator", line 32, in <module>
    from ubuntuone_indicator import (SyncDaemonClient, Indicator,
  File "/usr/lib/pymodules/python2.7/ubuntuone_indicator/__init__.py", line 24, in <module>
    from ubuntuone_indicator.compat import (AuthenticationClient, RestClient,
  File "/usr/lib/pymodules/python2.7/ubuntuone_indicator/compat.py", line 29, in <module>
    from ubuntuone import clientdefs
ImportError: cannot import name clientdefs

It seems that this package installs an ubuntuone python package earlier in the python search path.

Uninstalling the package puts things back to normal.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ubuntuone-file-storage-api 0.0.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Jun 2 15:48:59 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntuone-file-storage-api
UpgradeStatus: Upgraded to natty on 2011-04-18 (44 days ago)

Revision history for this message
Stuart Bishop (stub) wrote :
summary: - ubuntuone-file-storage-api package installation breaks code ubuntuone
+ ubuntuone-file-storage-api package installation breaks core ubuntuone
tools
Changed in ubuntuone-file-storage-api (Ubuntu):
status: New → Confirmed
dobey (dobey)
Changed in ubuntuone-file-storage-api:
assignee: nobody → Rodney Dawes (dobey)
importance: Undecided → Critical
status: New → In Progress
Changed in ubuntuone-file-storage-api (Ubuntu):
assignee: nobody → Rodney Dawes (dobey)
importance: Undecided → Critical
status: Confirmed → In Progress
milestone: none → ubuntu-11.10
tags: added: u1-natty-sru u1-oneiric
Revision history for this message
Martin Pitt (pitti) wrote :

In case there is some ambiguity here: please go ahead and upload the fix. Thanks!

Revision history for this message
dobey (dobey) wrote :

No ambiguity; just waiting for today and the archive being open again, before begging for a sponsor. :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-file-storage-api - 0.0.2-0ubuntu2

---------------
ubuntuone-file-storage-api (0.0.2-0ubuntu2) oneiric; urgency=low

  * Convert to dh_python2
  * debian/patches/01_fix_packages_install.patch:
    - Install the ubuntuone package as well (LP: #791736)
 -- Rodney Dawes <email address hidden> Thu, 22 Sep 2011 17:26:49 +0200

Changed in ubuntuone-file-storage-api (Ubuntu Oneiric):
status: In Progress → Fix Released
Changed in ubuntuone-file-storage-api:
status: In Progress → Fix Committed
dobey (dobey)
Changed in ubuntuone-file-storage-api (Ubuntu Natty):
status: New → Won't Fix
Changed in ubuntuone-file-storage-api:
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.