Problem with freezing GUI
Problem with freezing GUI
I'm running 0.5.8.4 under ubuntu 7.10.
this morning I found it in a strange state: GUI was working, all the buttons and menus were responding, but progress bars were "stuck", all indicators like up/down speed, time left,...were frozen. I closed deluge, opened it again and found that it now tried to download one of my torrents again. I use separate directory for unfinished torrents and move them to another when finished (move torrents plugin). It seems that this particular torrent (18 GB, multiple files) finished downloading (and was moved to the finished dir), and then at some time during the night progress bars froze. When i restarted deluge it started downloading this torrent from scratch. Removing the torrent, moving the files to temp unfinished dir and readding the torrent solved the problem. After checking it went to seeding state.
Ok, this freezing gui is probaly a bug, but I don't know about redownloadingf the torrent, is this a feature or a bug?
this morning I found it in a strange state: GUI was working, all the buttons and menus were responding, but progress bars were "stuck", all indicators like up/down speed, time left,...were frozen. I closed deluge, opened it again and found that it now tried to download one of my torrents again. I use separate directory for unfinished torrents and move them to another when finished (move torrents plugin). It seems that this particular torrent (18 GB, multiple files) finished downloading (and was moved to the finished dir), and then at some time during the night progress bars froze. When i restarted deluge it started downloading this torrent from scratch. Removing the torrent, moving the files to temp unfinished dir and readding the torrent solved the problem. After checking it went to seeding state.
Ok, this freezing gui is probaly a bug, but I don't know about redownloadingf the torrent, is this a feature or a bug?
Re: Problem with freezing GUI
It was a result of the UI crash. If you can reproduce, please run it from the console and copy & paste the output for us.c-shadow wrote:I'm running 0.5.8.4 under ubuntu 7.10.
this morning I found it in a strange state: GUI was working, all the buttons and menus were responding, but progress bars were "stuck", all indicators like up/down speed, time left,...were frozen. I closed deluge, opened it again and found that it now tried to download one of my torrents again. I use separate directory for unfinished torrents and move them to another when finished (move torrents plugin). It seems that this particular torrent (18 GB, multiple files) finished downloading (and was moved to the finished dir), and then at some time during the night progress bars froze. When i restarted deluge it started downloading this torrent from scratch. Removing the torrent, moving the files to temp unfinished dir and readding the torrent solved the problem. After checking it went to seeding state.
Ok, this freezing gui is probaly a bug, but I don't know about redownloadingf the torrent, is this a feature or a bug?
Re: Problem with freezing GUI
If it happens again I'll do that.andar wrote: It was a result of the UI crash. If you can reproduce, please run it from the console and copy & paste the output for us.
BTW, It works very stable for me, in 10 days uptime no problems until this one.
Thx for a quick respond and keep up the good work

Re: Problem with freezing GUI
It happend again, here is the output from the console:
I paused one of the torrents and after a couple of minutes the UI froze (crashed?)
After quitting the following showed up in the console:
Started it again, and got this in the console again:
Now it is still running, down/upload works 
Should I try 0.5.8.5?
It didn't show up in the list of allowed clients on my favourite tracker yet...
Code: Select all
alen@Amber:~$ deluge
checking for ubuntu...
found and fixing ubuntu
alen@Amber:~$ checking for ubuntu...
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin EventLogging
Initialising plugin NetworkGraph
Initialising plugin FlexRSS
Initialising plugin SpeedLimiter
Initialising plugin WebUi
Initialising plugin WebSeed
Initialising plugin TorrentPeers
Initialising plugin DesiredRatio
Initialising plugin TorrentCreator
Initialising plugin BlocklistImport
Initialising plugin TorrentNotification
Initialising plugin NetworkHealth
Initialising plugin TorrentFiles
Initialising plugin MoveTorrent
Initialising plugin Search
Initialising plugin Scheduler
Applying preferences
Starting DHT...
Showing window
Found SpeedLimiter plugin...
Found TorrentFiles plugin...
Found TorrentPeers plugin...
Found MoveTorrent plugin...
Found TorrentNotification plugin...
Pickling state...
Pickling state...
Applying preferences
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.apply_queue()
File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue
seed_time = self.unique_IDs[unique_ID].seed_time
AttributeError: torrent_info instance has no attribute 'seed_time'
pause failed
Pickling state...
Pickling state...
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 841, in tor_start
self.update()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.apply_queue()
File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue
seed_time = self.unique_IDs[unique_ID].seed_time
AttributeError: torrent_info instance has no attribute 'seed_time'
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1729, in window_state_event
self.update()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.apply_queue()
File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue
seed_time = self.unique_IDs[unique_ID].seed_time
AttributeError: torrent_info instance has no attribute 'seed_time'
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 547, in tray_clicked
self.update()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.apply_queue()
File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue
seed_time = self.unique_IDs[unique_ID].seed_time
AttributeError: torrent_info instance has no attribute 'seed_time'
After quitting the following showed up in the console:
Code: Select all
alen@Amber:~$ Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1729, in window_state_event
self.update()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.apply_queue()
File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue
seed_time = self.unique_IDs[unique_ID].seed_time
AttributeError: torrent_info instance has no attribute 'seed_time'
Raising error: No such unique_ID.
Raising error: No such unique_ID.
Saving uploaded memory...
Pickling state...
Stopping DHT...
Saving fastresume data...
Quitting the core...
core: removing torrents...
core: removing settings...
core: shutting down session...
core shut down.
Code: Select all
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.apply_queue()
File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue
seed_time = self.unique_IDs[unique_ID].seed_time
AttributeError: torrent_info instance has no attribute 'seed_time'
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 547, in tray_clicked
self.update()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.apply_queue()
File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue
seed_time = self.unique_IDs[unique_ID].seed_time
AttributeError: torrent_info instance has no attribute 'seed_time'

Should I try 0.5.8.5?
It didn't show up in the list of allowed clients on my favourite tracker yet...
Re: Problem with freezing GUI
c-shadow wrote:It happend again, here is the output from the console:
I paused one of the torrents and after a couple of minutes the UI froze (crashed?)Code: Select all
alen@Amber:~$ deluge checking for ubuntu... found and fixing ubuntu alen@Amber:~$ checking for ubuntu... no existing Deluge session Starting new Deluge session... deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG. Applying preferences Pickling state... Scanning plugin dir /usr/share/deluge/plugins Initialising plugin EventLogging Initialising plugin NetworkGraph Initialising plugin FlexRSS Initialising plugin SpeedLimiter Initialising plugin WebUi Initialising plugin WebSeed Initialising plugin TorrentPeers Initialising plugin DesiredRatio Initialising plugin TorrentCreator Initialising plugin BlocklistImport Initialising plugin TorrentNotification Initialising plugin NetworkHealth Initialising plugin TorrentFiles Initialising plugin MoveTorrent Initialising plugin Search Initialising plugin Scheduler Applying preferences Starting DHT... Showing window Found SpeedLimiter plugin... Found TorrentFiles plugin... Found TorrentPeers plugin... Found MoveTorrent plugin... Found TorrentNotification plugin... Pickling state... Pickling state... Applying preferences Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update self.manager.apply_queue() File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue seed_time = self.unique_IDs[unique_ID].seed_time AttributeError: torrent_info instance has no attribute 'seed_time' pause failed Pickling state... Pickling state... Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/interface.py", line 841, in tor_start self.update() File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update self.manager.apply_queue() File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue seed_time = self.unique_IDs[unique_ID].seed_time AttributeError: torrent_info instance has no attribute 'seed_time' Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/interface.py", line 1729, in window_state_event self.update() File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update self.manager.apply_queue() File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue seed_time = self.unique_IDs[unique_ID].seed_time AttributeError: torrent_info instance has no attribute 'seed_time' Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/interface.py", line 547, in tray_clicked self.update() File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update self.manager.apply_queue() File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue seed_time = self.unique_IDs[unique_ID].seed_time AttributeError: torrent_info instance has no attribute 'seed_time'
After quitting the following showed up in the console:
Started it again, and got this in the console again:Code: Select all
alen@Amber:~$ Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/interface.py", line 1729, in window_state_event self.update() File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update self.manager.apply_queue() File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue seed_time = self.unique_IDs[unique_ID].seed_time AttributeError: torrent_info instance has no attribute 'seed_time' Raising error: No such unique_ID. Raising error: No such unique_ID. Saving uploaded memory... Pickling state... Stopping DHT... Saving fastresume data... Quitting the core... core: removing torrents... core: removing settings... core: shutting down session... core shut down.
Now it is still running, down/upload worksCode: Select all
Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update self.manager.apply_queue() File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue seed_time = self.unique_IDs[unique_ID].seed_time AttributeError: torrent_info instance has no attribute 'seed_time' Traceback (most recent call last): File "/var/lib/python-support/python2.5/deluge/interface.py", line 547, in tray_clicked self.update() File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update self.manager.apply_queue() File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue seed_time = self.unique_IDs[unique_ID].seed_time AttributeError: torrent_info instance has no attribute 'seed_time'
Should I try 0.5.8.5?
It didn't show up in the list of allowed clients on my favourite tracker yet...
This looks like you might have a corrupt state file. Please try deleting it and restarting deluge.
Re: Problem with freezing GUI
Which one?andar wrote:
This looks like you might have a corrupt state file. Please try deleting it and restarting deluge.
dht.state, persistent.state or prefs.state?
Tried dht.state, deluge starts checking one of the torrents, at 98% freezes again. Deleted again the same file, and now it happened again, at 99% checking. It started checking another torrent this time.
Code: Select all
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/interface.py", line 1128, in update
self.manager.apply_queue()
File "/var/lib/python-support/python2.5/deluge/core.py", line 672, in apply_queue
seed_time = self.unique_IDs[unique_ID].seed_time
AttributeError: torrent_info instance has no attribute 'seed_time'
Added again all the torrents one by one, check went fine, it seems everything is OK, since all the torrents were finished it's seeding.
I remember that previous versions also had problems with corrupting config files...suddenly it wouldn't start anymore but then I just deleted the whole deluge dir and started from scratch and it was fine after that. Don't remember the exact version but it happened almost every time when changing something in preferences - network tab.
It seems to me that deluge is still suffering from config files corruption...but this time I didn't touch anything in prefs...
Can something be done about it?
It's kinda pain in the ass having to delete config and add all torrents manually

Re: Problem with freezing GUI
I have got the same problem. I am running a Gentoo box with deluge 5.8.5. The freeze is reproducable - when I download a torrent via Firefox and choose not to save it but to open it directly with deluge, I've got a (approx.) 1 in 3 chance of freezing deluge. I've got a different folder for finished torrents too - which complicates things...
I've started deluge in a console and will crash it on purpose as soon as the ubuntu image finishes.
I've started deluge in a console and will crash it on purpose as soon as the ubuntu image finishes.
Re: Problem with freezing GUI
Same freezing GUI problem here, with Kubuntu 7.10 and Deluge 0.5.8.5.
I've already written about this when it happened but no one seemed to care. I started thinking I was the only one experiencing this.
I've already written about this when it happened but no one seemed to care. I started thinking I was the only one experiencing this.
Re: Problem with freezing GUI
ok, i provoked the freeze. first one thing i forgot to mention. whenever a rather large amount (~4+) of torrents finished an i click the "remove seeding/finished button" the gui freezes too. that's how i did it this time.
here is the output:
what can be done? what can i do to help?
[on a personal note: the daily show torrents were added by me to "simulate" many finished torrents - in my country there is no daily show...]
here is the output:
Code: Select all
hasardeur@endeavor ~ $ deluge
checking for ubuntu...
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin FlexRSS
Initialising plugin SpeedLimiter
Initialising plugin DesiredRatio
Initialising plugin WebUi
Initialising plugin MoveTorrent
Initialising plugin BlocklistImport
Initialising plugin EventLogging
Initialising plugin TorrentPeers
Initialising plugin Scheduler
Initialising plugin TorrentCreator
Initialising plugin TorrentFiles
Initialising plugin WebSeed
Initialising plugin TorrentNotification
Initialising plugin NetworkHealth
Initialising plugin NetworkGraph
Initialising plugin Search
Applying preferences
Starting DHT...
Found DesiredRatio plugin...
Found MoveTorrent plugin...
Found SpeedLimiter plugin...
Found TorrentFiles plugin...
Found LogEvents plugin...
Found TorrentNotification plugin...
Found NetworkHealth plugin...
Found blocklist plugin ...
Pickling state...
Pickling state...
importing with pgtext
TextReader loading /home/hasardeur/.config/deluge/blocklist.cache
PGTextReader loading
TextBase loading
Starting import
Import finished
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Raising error: Handle not found.
Raising error: Handle not found.
Raising error: Handle not found.
Raising error: Handle not found.
Raising error: Handle not found.
Clearing completed torrents
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Clearing completed torrents
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Pickling state...
Clearing completed torrents
Missing file: /tmp/The.Daily.Show.02.13.08.DSR.XviD-0TV.[VTV] [mininova].torrent
Missing file: /tmp/The Daily Show - 2008.02.28 - Brian Williams (TVRip.SoS).avi [mininova].torrent
Missing file: /tmp/The.Daily.Show.02.11.08.DSR.XviD-0TV.[VTV] [mininova].torrent
Missing file: /tmp/The.Daily.Show.03.03.2008.DSR.XviD-0TV.[VTV] [mininova].torrent
Missing file: /tmp/The Daily Show - 2008.02.27 - Allen Guelzo (TVRip.SoS).avi [mininova].torrent
Missing file: /tmp/The.Daily.Show.02.14.2008.DSR.XviD-STFU.[VTV] [mininova].torrent
Missing file: /tmp/The.Daily.Show.02.26.2008.PDTV.XviD [mininova].torrent
Missing file: /tmp/The.Daily.Show.02.12.08.DSR.XviD-DIMENSION.[VTV] [mininova].torrent
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/deluge/interface.py", line 1561, in clear_finished
self.manager.clear_completed()
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 590, in clear_completed
self.sync()
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 1073, in sync
del self.state.torrents[self.unique_IDs[unique_ID]]
KeyError: <deluge.core.torrent_info instance at 0x83e478c>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/deluge/interface.py", line 1123, in update
self.manager.apply_queue()
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 605, in apply_queue
unique_ID = self.state.torrents[torrent]
KeyError: <deluge.core.torrent_info instance at 0xb695a54c>
[on a personal note: the daily show torrents were added by me to "simulate" many finished torrents - in my country there is no daily show...]
Re: Problem with freezing GUI
hm, after i shut deluge down via gui that came up:
but it might not be related - seems like a wm thing when clicking the tray icon (wich works by the way)
Code: Select all
Raising error: No such unique_ID.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 372, in save_upmem
self.unique_IDs[unique_ID].uploaded_memory = \
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 939, in get_core_torrent_state
return self.cached_core_torrent_states.get(unique_ID, cached)
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 154, in get
self._cache[key] = self._get_method(key)
deluge.core.DelugeError: 'No such unique_ID.'
Raising error: No such unique_ID.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 465, in save_fastresume_data
state = self.get_core_torrent_state(unique_ID, True)
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 939, in get_core_torrent_state
return self.cached_core_torrent_states.get(unique_ID, cached)
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 154, in get
self._cache[key] = self._get_method(key)
deluge.core.DelugeError: 'No such unique_ID.'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/deluge/interface.py", line 538, in tray_clicked
self.update()
File "/usr/lib/python2.4/site-packages/deluge/interface.py", line 1123, in update
self.manager.apply_queue()
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 605, in apply_queue
unique_ID = self.state.torrents[torrent]
KeyError: <deluge.core.torrent_info instance at 0xb695a54c>
Saving uploaded memory...
Raising error: No such unique_ID.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 325, in quit
self.save_upmem()
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 372, in save_upmem
self.unique_IDs[unique_ID].uploaded_memory = \
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 939, in get_core_torrent_state
return self.cached_core_torrent_states.get(unique_ID, cached)
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 154, in get
self._cache[key] = self._get_method(key)
deluge.core.DelugeError: 'No such unique_ID.'