Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13791 (closed enhancement: fixed)

Opened 11 months ago

Last modified 10 months ago

UPDATE: deluge 0.5.8

Reported by: guido.soranzio@… Owned by: macports-tickets@…
Priority: Normal Milestone: Port Updates
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Update to deluge-torrent 0.5.8

Attachments

Portfile-deluge.diff (1.3 KB) - added by guido.soranzio@… 11 months ago.

Change History

  Changed 11 months 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,

follow-up: ↓ 3   Changed 11 months ago by raimue@…

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).

in reply to: ↑ 2   Changed 11 months ago by 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 11 months ago by guido.soranzio@…

  Changed 11 months ago by jmpp@…

  • type changed from defect to enhancement

  Changed 10 months ago by gui_dos@…

  • status changed from new to closed
  • resolution set to fixed

Committed: [32935]

Note: See TracTickets for help on using tickets.