0.5.8 Final

Suggestions and discussion of future versions
markwright
New User
New User
Posts: 5
Joined: Mon Dec 31, 2007 8:49 am

Re: 0.5.8 Final

Post 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
markwright
New User
New User
Posts: 5
Joined: Mon Dec 31, 2007 8:49 am

Re: 0.5.8 Final

Post 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
User avatar
Ux64
Seeder
Seeder
Posts: 140
Joined: Wed Nov 14, 2007 5:02 am
Location: System Specialist

Re: 0.5.8 Final

Post 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.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: 0.5.8 Final

Post 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
markwright
New User
New User
Posts: 5
Joined: Mon Dec 31, 2007 8:49 am

Re: 0.5.8 Final

Post 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
User avatar
Ux64
Seeder
Seeder
Posts: 140
Joined: Wed Nov 14, 2007 5:02 am
Location: System Specialist

Re: 0.5.8 Final

Post 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
User avatar
Ux64
Seeder
Seeder
Posts: 140
Joined: Wed Nov 14, 2007 5:02 am
Location: System Specialist

Re: 0.5.8 Final

Post 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.
User avatar
Ux64
Seeder
Seeder
Posts: 140
Joined: Wed Nov 14, 2007 5:02 am
Location: System Specialist

Re: 0.5.8 Final

Post 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.
User avatar
Ux64
Seeder
Seeder
Posts: 140
Joined: Wed Nov 14, 2007 5:02 am
Location: System Specialist

Re: 0.5.8 Final

Post 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!
Post Reply