Ticket #305 (closed Bug Report: fixed)

Opened 9 months ago

Last modified 7 months ago

Error message after re-start: AttributeError: 'TopSearchPanel' object has no attribute 'sr_msg'

Reported by: pouwelse@… Owned by: somebody
Priority: low Milestone:
Component: GUI Version: Tribler Client 5.1
Severity: minor Keywords:
Cc:

Description

When running V5.1 RC6 on an intrepid box.
An error is shown when files are downloading and Tribler
is restarted. Files download normally.

Setting up languages
Language file: english.lang
Client Starting Up.
Build: Build 11866
i2is: Ready to receive remote commands on 57891
cachedb: init: SQL FILE /home/pouwelse/.Tribler/sqlite/tribler.sdb
modcast: DB made
votecast: DB made
metadata: collect dir is /home/pouwelse/Desktop/TriblerDownloads/collected_torrent_files
Available space for database and collecting torrents: 2985 MB, Min free space 200 MB
(300, 300)
Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14550, in <lambda>

lambda event: event.callable(*event.args, **event.kw) )

File "/usr/share/tribler/Tribler/Main/vwxGUI/standardOverview.py", line 211, in onReachable

if self.firewallStatus is not None and self.firewallStatusText.GetLabel?() != 'Restart Tribler':

AttributeError?: 'standardOverview' object has no attribute 'firewallStatus'
BuddyCast starts up 1.0
VLCWrapper: set_window: WARNING: window not yet materialized, XID=0
Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14550, in <lambda>

lambda event: event.callable(*event.args, **event.kw) )

File "Tribler/Main/tribler.py", line 573, in set_reputation

self.frame.top_bg.sr_msg.SetLabel?('Good')

AttributeError?: 'TopSearchPanel?' object has no attribute 'sr_msg'
standardOverview: loadPanel: modeString=startpage currentPanel: None

Attachments

Change History

Changed 9 months ago by boudewijn@…

  • status changed from new to closed
  • resolution set to fixed

Bugfix ticket 305: the problem (in both exceptions) was that
attributes in the GUI were called before they were created. We now set
them to None in the init and check the value before using the
attribute.

svn: Committed revision 11880.

Changed 7 months ago by anonymous

i2is: Ready to receive remote commands on 57891
cachedb: init: SQL FILE /home/pouwelse/.Tribler/sqlite/tribler.sdb
modcast: DB made
votecast: DB made
metadata: collect dir is /home/pouwelse/Desktop/TriblerDownloads/collected_torrent_files
Available space for database and collecting torrents: 2985 MB, Min free space 200 MB
(300, 300)

Add/Change #305 (Error message after re-start: AttributeError: 'TopSearchPanel' object has no attribute 'sr_msg')

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.