Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13791 closed update (fixed)

UPDATE: deluge 0.5.8

Reported by: gui-dos (Guido Soranzio) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Update to deluge-torrent 0.5.8

Attachments (1)

Portfile-deluge.diff (1.3 KB) - added by gui-dos (Guido Soranzio) 17 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 17 years ago by neric27@…

It has a missing dependency on py25-hashlib;
without, it fails to start.
See log :

$ sudo port deactivate py25-hashlib
Password:
--->  Deactivating py25-hashlib 
$ deluge 
$ Traceback (most recent call last):
  File "/opt/local/bin/deluge", line 154, in <module>
    start_deluge()
  File "/opt/local/bin/deluge", line 132, in start_deluge
    interface = deluge.interface.DelugeGTK()
  File "/opt/local/lib/python2.5/site-packages/deluge/interface.py", line 60, in __init__
    self.plugins.scan_for_plugins()
  File "/opt/local/lib/python2.5/site-packages/deluge/plugins.py", line 61, in scan_for_plugins
    mod = __import__(modname, globals(), locals(), [''])
  File "/opt/local/share/deluge/plugins/WebUi/__init__.py", line 70, in <module>
    from md5 import md5
  File "/opt/local/lib/python2.5/md5.py", line 6, in <module>
    from hashlib import md5
  File "/opt/local/lib/python2.5/hashlib.py", line 133, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/opt/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5
close failed: [Errno 32] Broken pipe

Cheers,

comment:2 Changed 17 years ago by raimue (Rainer Müller)

It still does not work for me.

$ deluge 
no existing Deluge session
Traceback (most recent call last):
  File "/opt/local/bin/deluge", line 152, in <module>
    deluge.wizard.WizardGTK()
  File "/opt/local/lib/python2.5/site-packages/deluge/wizard.py", line 58, in __init__
    self.window.set_icon(deluge.common.get_logo(18))
  File "/opt/local/lib/python2.5/site-packages/deluge/common.py", line 154, in get_logo
    size, size)
gobject.GError: Unrecognized image file format

So it pertains to this code line:

153         return gtk.gdk.pixbuf_new_from_file_at_size(get_pixmap("deluge.svg"), \
154             size, size)

GTK seems to be unable to work with SVG images. Any idea why? Any lib missing? We could also patch this to use the PNG version of the image (which is also used on Windows).

comment:3 in reply to:  2 Changed 17 years ago by gui-dos (Guido Soranzio)

Replying to raimue@macports.org:

GTK seems to be unable to work with SVG images. Any idea why? Any lib missing?

/opt/local/lib/gtk-2.0/2.10.0/loaders/svg_loader.so is provided by librsvg: I have updated the Portfile diff

Changed 17 years ago by gui-dos (Guido Soranzio)

Attachment: Portfile-deluge.diff added

comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Type: defectenhancement

comment:5 Changed 17 years ago by gui-dos (Guido Soranzio)

Resolution: fixed
Status: newclosed

Committed: [32935]

comment:6 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:7 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.