id summary reporter owner description type status priority milestone component version resolution keywords cc 249 "Key error and ""global name 'log' is not defined""" jonas@… andar "Don't know what I did to get this, I was about to add torrents and rechecking them. {{{ Traceback (most recent call last): File ""/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/systemtray.py"", line 157, in _on_get_download_rate self.download_rate = deluge.common.fsize(download_rate) File ""/usr/lib64/python2.4/site-packages/deluge/common.py"", line 264, in fsize fsize_kb = fsize_b / 1024.0 TypeError: unsupported operand type(s) for /: 'NoneType' and 'float' Traceback (most recent call last): File ""/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/torrentview.py"", line 336, in _on_get_torrents_status self.update_view() File ""/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/torrentview.py"", line 293, in update_view if torrent_id in status.keys(): AttributeError: 'int' object has no attribute 'keys' Traceback (most recent call last): File ""/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/peers_tab.py"", line 245, in _on_get_torrent_status for peer in status[""peers""]: KeyError: 'peers' Traceback (most recent call last): File ""/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/peers_tab.py"", line 245, in _on_get_torrent_status for peer in status[""peers""]: KeyError: 'peers' Traceback (most recent call last): File ""/usr/lib64/python2.4/site-packages/deluge/ui/gtkui/statistics_tab.py"", line 121, in _on_get_torrent_status log.debug(""Unable to get status value: %s"", e) NameError: global name 'log' is not defined }}} " bug closed major Core 0.6.0svn Fixed