Page 2 of 2

Re: 0.5.8 Final

Posted: Mon Dec 31, 2007 8:53 am
by markwright
Hi, Deluge is great, I raised Ticket #642: deluge-01-sunpro.diff to convince it to compile with Sun Studio 12 on Solaris 10.
Thanks, Mark

Re: 0.5.8 Final

Posted: Tue Jan 01, 2008 4:11 am
by markwright
Hi, I just added exactly the same diffs for Sun Studio 12 in svn diff format:

http://dev.deluge-torrent.org/ticket/642
Ticket #642: svn_diff_deluge_ticket_642_Sun_Studio_12_solaris_tweaks.txt

It would be really neat if you would like to review it or please let me know what
I need to do? It would be really neat if the svn version would compile with
Sun Studio 12, as then I can use tools like Sun Studio thread analyzer, dtrace,
Sun Studio C++ debugger, etc to debug problems.

Thanks very much, Regards, Mark

Re: 0.5.8 Final

Posted: Tue Jan 01, 2008 10:26 am
by Ux64
Has anyone else had that refresh problem? Because it seems to repeat quite easily. I have now only three huge torrents downloading. And after a while Deluge display stops updating periodically. Pausing and resuming updates it once / activity. But timer(?) based refresh doesn't work anymore. When I close Deluge, it seems to close normally but when I restart it, it stats checking those huge files.

Any comments? Ideas?

I would send a screen shot, but I don't unfortunately believe it would contain any useful information.

Re: 0.5.8 Final

Posted: Wed Jan 02, 2008 6:52 am
by andar
markwright wrote:Hi, I just added exactly the same diffs for Sun Studio 12 in svn diff format:

http://dev.deluge-torrent.org/ticket/642
Ticket #642: svn_diff_deluge_ticket_642_Sun_Studio_12_solaris_tweaks.txt

It would be really neat if you would like to review it or please let me know what
I need to do? It would be really neat if the svn version would compile with
Sun Studio 12, as then I can use tools like Sun Studio thread analyzer, dtrace,
Sun Studio C++ debugger, etc to debug problems.

Thanks very much, Regards, Mark
It would be best to send these patches to libtorrent, http://www.libtorrent.org

Re: 0.5.8 Final

Posted: Wed Jan 02, 2008 7:51 am
by markwright
> It would be best to send these patches to libtorrent, http://www.libtorrent.org

Thanks. So I check the libtorrent bug tracking system and see that has already been done:

http://code.rasterbar.com/libtorrent/ticket/149
Ticket #149 (new defect) Opened 4 months ago
libtorrent doesn't compile with Sun Studio

Thanks, Mark

Re: 0.5.8 Final

Posted: Sat Jan 05, 2008 9:57 am
by Ux64
When download is complete torrent remains in download queue and with status 99% completed (downloading).

Following errors are shown:

Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.handle_events()
File "/var/lib/python-support/python2.5/deluge/core.py", line 652, in handle_events
self.save_fastresume_data(event['unique_ID'])
File "/var/lib/python-support/python2.5/deluge/core.py", line 421, in save_fastresume_data
deluge_core.save_fastresume(uid, self.unique_IDs[uid].filename)
KeyError: 1
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1308, in update_torrent_info_widget
self.tab_details.update(unique_id)
File "/var/lib/python-support/python2.5/deluge/tab_details.py", line 116, in update
state = self.manager.get_torrent_state(unique_id)
File "/var/lib/python-support/python2.5/deluge/core.py", line 440, in get_torrent_state
raise InvalidUniqueIDError(_("Asked for a torrent that doesn't exist"))
deluge.core.InvalidUniqueIDError: u"Asked for a torrent that doesn't exist"
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1308, in update_torrent_info_widget
self.tab_details.update(unique_id)
File "/var/lib/python-support/python2.5/deluge/tab_details.py", line 116, in update
state = self.manager.get_torrent_state(unique_id)
File "/var/lib/python-support/python2.5/deluge/core.py", line 440, in get_torrent_state
raise InvalidUniqueIDError(_("Asked for a torrent that doesn't exist"))
deluge.core.InvalidUniqueIDError: u"Asked for a torrent that doesn't exist"
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1536, in remove_torrent_clicked
torrent_also.get_active())
File "/var/lib/python-support/python2.5/deluge/core.py", line 383, in remove_torrent
temp = self.unique_IDs[unique_ID]
KeyError: 1
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1308, in update_torrent_info_widget
self.tab_details.update(unique_id)
File "/var/lib/python-support/python2.5/deluge/tab_details.py", line 116, in update
state = self.manager.get_torrent_state(unique_id)
File "/var/lib/python-support/python2.5/deluge/core.py", line 440, in get_torrent_state
raise InvalidUniqueIDError(_("Asked for a torrent that doesn't exist"))
deluge.core.InvalidUniqueIDError: u"Asked for a torrent that doesn't exist"

Just to let you know.

- Thanks

Re: 0.5.8 Final

Posted: Sat Jan 05, 2008 4:41 pm
by Ux64
Yet another problem. Because after file check deluge hanged often. (Without error messages) just grayed out UI. I tried to pause files during check so I could unpause those when check is compelete. And see if crash happens at that point.

When I tried to pause files, Deluge crashed:

Pickling state...
terminate called after throwing an instance of 'libtorrent::invalid_handle'
what(): invalid torrent handle used

It wasn't random. I repeated test three times.

This using 0.5.8 Final version, naturally.

Re: 0.5.8 Final

Posted: Sun Jan 06, 2008 10:58 am
by Ux64
Screenshot, it's frozen. No what so ever error message in CLI.

So it's bit hard to locate the problem.

Image

It's not only about being grayed out. Also Disk I/O and Net I/O are totally zero. So waiting doesn't help.

Re: 0.5.8 Final

Posted: Fri Jan 18, 2008 4:32 pm
by Ux64
I got now problem. I couldn't find anything about it from Support section, so I guess this is right place for it.

Code: Select all

 checking for ubuntu...
no existing Deluge session
Starting new Deluge session...
Traceback (most recent call last):
  File "/usr/bin/deluge", line 154, in <module>
    start_deluge()
  File "/usr/bin/deluge", line 132, in start_deluge
    interface = deluge.interface.DelugeGTK()
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 54, in __init__
    common.CONFIG_DIR)
  File "/var/lib/python-support/python2.5/deluge/core.py", line 200, in __init__
    self.config = pref.Preferences(os.path.join(self.base_dir, PREFS_FILENAME))
  File "/var/lib/python-support/python2.5/deluge/pref.py", line 287, in __init__
    self.load(self.config_file)
  File "/var/lib/python-support/python2.5/deluge/pref.py", line 333, in load
    self.mapping.update(self.dump)
TypeError: iteration over non-sequence
Tried deleting persistent.state etc. Didn't help. What should I do?

It looks like configuration file load would fail? Ok? Should I delete prefs.state or some other files, or even all files?

- Thank you!