#2744: fastresume not working on OSX Deluge.app
-----------------------------------------------+--------------------
 Reporter:  beast                              |      Owner:
     Type:  bug                                |     Status:  new
 Priority:  minor                              |  Milestone:  1.3.12
Component:  Packaging                          |    Version:  1.3.11
 Keywords:  osx, fastresume, service_identity  |
-----------------------------------------------+--------------------
 I have an issue when closing and reloading deluged on OSX, when using the
 pre-compiled Deluge.app distro, which causes all torrents to be reloaded
 in Paused state. Also, for torrents that I have used flexget and changed
 the file names, these are forgotten and the original file names are
 remember. This means when resuming the torrent, the files start re-
 downloading again.

 I have compared my OSX setup to my Ubuntu setup and it appears the
 torrents.fastresume file is not being created.

 I have the following entry in the deluged.log:


 {{{
 [DEBUG   ] 15:32:49 torrentmanager:747 Opening torrents fastresume file
 for load.
 [WARNING ] 15:32:49 torrentmanager:753 Unable to load fastresume file:
 [Errno 2] No such file or directory:
 '/Users/xxxx/.config/deluge/state/torrents.fastresume'
 }}}

 torrents.state is present in the folder along with the torrent files.

 When I run deluged from the command line I get the error below which calls
 out save_resume_data_alert numerous times. I am not sure if this is
 therefore related:


 {{{
 
/Applications/Deluge.app/Contents/Resources/lib/python/twisted/internet/_sslverify.py:184:
 UserWarning: You do not have the service_identity module installed. Please
 install it from <https://pypi.python.org/pypi/service_identity>. Without
 the service_identity module and a recent enough pyOpenSSL tosupport it,
 Twisted can perform only rudimentary TLS client hostnameverification.
 Many valid certificate/hostname mappings may be rejected.
 Unhandled Error
 Traceback (most recent call last):
   File
 
"/Applications/Deluge.app/Contents/Resources/lib/python2.7/deluge-1.3.10-py2.7.egg/deluge/main.py",
 line 230, in start_daemon
     Daemon(options, args)
   File
 
"/Applications/Deluge.app/Contents/Resources/lib/python2.7/deluge-1.3.10-py2.7.egg/deluge/core/daemon.py",
 line 171, in __init__
     reactor.run()
   File "twisted/internet/base.pyc", line 1192, in run

   File "twisted/internet/base.pyc", line 1201, in mainLoop

 --- <exception caught here> ---
   File "twisted/internet/base.pyc", line 824, in runUntilCurrent

   File
 
"/Applications/Deluge.app/Contents/Resources/lib/python2.7/deluge-1.3.10-py2.7.egg/deluge/core/torrentmanager.py",
 line 1088, in on_alert_save_resume_data
     self.resume_data[torrent_id] = lt.bencode(alert.resume_data)
 Boost.Python.ArgumentError: Python argument types in
     None.None(save_resume_data_alert)
 did not match C++ signature:
     None(libtorrent::save_resume_data_alert {lvalue})
 Unhandled Error
 Traceback (most recent call last):
   File
 
"/Applications/Deluge.app/Contents/Resources/lib/python2.7/deluge-1.3.10-py2.7.egg/deluge/main.py",
 line 230, in start_daemon
     Daemon(options, args)
   File
 
"/Applications/Deluge.app/Contents/Resources/lib/python2.7/deluge-1.3.10-py2.7.egg/deluge/core/daemon.py",
 line 171, in __init__
     reactor.run()
   File "twisted/internet/base.pyc", line 1192, in run

   File "twisted/internet/base.pyc", line 1201, in mainLoop
 }}}

 I have also tried stopping the daemon from the gtk to check if it was
 something to do with graceful exiting and this did not help.

 As you can imagine not being able to restart deluged is a tad hindering. I
 hope someone can help :)

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2744>
Deluge <http://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to