[jaunty] deluge - python 2.6 transition

Bug #336229 reported by beudbeud
38
This bug affects 3 people
Affects Status Importance Assigned to Milestone
deluge (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: deluge

 lsb_release -rd
/usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated
  import sets
Description: Ubuntu jaunty (development branch)
Release: 9.04

apt-cache policy deluge
deluge:
  Installé : 1.1.3+dfsg-1
  Candidat : 1.1.3+dfsg-1
 Table de version :
 *** 1.1.3+dfsg-1 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status
     1.1.3+dfsg-1~jaunty3 0
        500 http://ppa.launchpad.net jaunty/main Packages

After last update of python 2.6.1 i can't use deluge. it 's freeze.

/var/lib/python-support/python2.6/deluge/ui/common.py:27: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  from sha import sha
1.1.3
/var/lib/python-support/python2.6/deluge/ui/gtkui/mainwindow.py:51: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  "glade/main_window.glade"))

Related branches

Revision history for this message
Youri Volkov (omgomgomg) wrote :

Same exact issue here; deluge freezes on startup, the UI is never fully drawn.

beudbeud (beudbeud)
Changed in deluge:
status: New → Confirmed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Attached is a debdiff for deluge's python 2.6 transition

Please note that python-libtorrent must be updated before this is uploaded. See Bug #335741

Changed in deluge:
importance: Undecided → High
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

For those wanting to use Deluge and upgrade to python 2.6, I have upgrades of both deluge and python-libtorrent in my PPA:

https://edge.launchpad.net/~andrewsomething/+archive/ppa

Revision history for this message
beudbeud (beudbeud) wrote :

Yes deluge works with your ppa

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

This bug was fixed in the package deluge - 1.1.3+dfsg-1ubuntu1

---------------
deluge (1.1.3+dfsg-1ubuntu1) jaunty; urgency=low

  * debian/*.intall:
   - Install to usr/lib/python*/*-packages/ for python 2.6 transition (LP: #336229).
  * debian/rules:
   - Pass --install-layout=deb to setup.py

 -- Andrew Starr-Bochicchio <email address hidden> Mon, 02 Mar 2009 19:16:28 -0500

Changed in deluge:
status: Confirmed → Fix Released
Revision history for this message
Arthur (iegik) wrote :

$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

$ apt-cache policy deluge
deluge:
  Установлен: 1.1.9+dfsg-1
  Кандидат: 1.1.9+dfsg-1
  Таблица версий:
 *** 1.1.9+dfsg-1 0
        500 http://lv.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

$ deluge
Traceback (most recent call last):
  File "/usr/bin/deluge", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2562, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: deluge==1.1.9
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 100, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 13] Permission denied: '/var/crash/_usr_bin_deluge.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/deluge", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2562, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req) # XXX put more info here

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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