Ticket #41 (closed defect: duplicate)
Umit Crash - ''HIGClosableTabLabel' object has no attribute 'get_animated_label''
| Reported by: | rmgomes@… | Owned by: | boltrix |
|---|---|---|---|
| Priority: | high | Milestone: | Umit 0.9.5 |
| Component: | CrashReport | Version: | current svn |
| Keywords: | user crash | Cc: |
Description (last modified by luis) (diff)
Crash Report
==========
sys.platform linux2
os.name posix
Gtk version 2.12.9
Umit version 0.9.5
Description
Versions:
---
GTK: 2.12.9
PyGTK: 2.14.2
HIGWidgets: < 0.9.5
Python: 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
Nmap: Nmap version 4.53 ( http://insecure.org )
Operating System: Linux ipasgo11817 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686
Umit: 0.9.5
UmitCore: 0.9.5
UmitGUI: 0.9.5
---
<type 'exceptions.AttributeError'>
Python 2.5.2: /usr/bin/python
Fri Aug 8 12:23:19 2008
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/share/umit/umitGUI/App.py in __create_show_main_window(self=<umitGUI.App.App instance at 0xb7b2944c>)
53 def __create_show_main_window(self):
54 from umitGUI.MainWindow import MainWindow
55 self.main_window = MainWindow()
56
57 if is_maemo():
self = <umitGUI.App.App instance at 0xb7b2944c>
self.main_window undefined
MainWindow = <class 'umitGUI.MainWindow.MainWindow'>
/usr/share/umit/umitGUI/MainWindow.py in __init__(self=<MainWindow object at 0x836b5cc (GtkWindow at 0x83eb990)>)
104 self._create_menubar()
105 self._create_toolbar()
106 self._create_scan_notebook()
107 self._verify_root()
108
self = <MainWindow object at 0x836b5cc (GtkWindow at 0x83eb990)>
self._create_scan_notebook = <bound method MainWindow._create_scan_notebook o...ow object at 0x836b5cc (GtkWindow at 0x83eb990)>>
/usr/share/umit/umitGUI/MainWindow.py in _create_scan_notebook(self=<MainWindow object at 0x836b5cc (GtkWindow at 0x83eb990)>)
587 self.scan_notebook.title_edited_cb = self._title_edited_cb
588
589 page = self._new_scan_cb()
590 self.scan_notebook.show_all()
591
page undefined
self = <MainWindow object at 0x836b5cc (GtkWindow at 0x83eb990)>
self._new_scan_cb = <bound method MainWindow._new_scan_cb of <MainWindow object at 0x836b5cc (GtkWindow at 0x83eb990)>>
/usr/share/umit/umitGUI/MainWindow.py in _new_scan_cb(self=<MainWindow object at 0x836b5cc (GtkWindow at 0x83eb990)>, widget=None, data=None)
902 - Untitled scan
903 """
904 return self.scan_notebook.add_scan_page(data)
905
906 def _new_scan_profile_cb(self, p):
self = <MainWindow object at 0x836b5cc (GtkWindow at 0x83eb990)>
self.scan_notebook = <ScanNotebook object at 0x8a835f4 (GtkNotebook at 0x85a08b8)>
self.scan_notebook.add_scan_page = <bound method ScanNotebook.add_scan_page of <Sca... object at 0x8a835f4 (GtkNotebook at 0x85a08b8)>>
data = None
/usr/share/umit/umitGUI/ScanNotebook.py in add_scan_page(self=<ScanNotebook object at 0x8a835f4 (GtkNotebook at 0x85a08b8)>, title=None)
203 page.select_first_profile()
204
205 self.append_page(page, self.close_scan_cb, tab_title=title)
206 page.show_all()
207
self = <ScanNotebook object at 0x8a835f4 (GtkNotebook at 0x85a08b8)>
self.append_page = <bound method ScanNotebook.append_page of <ScanN... object at 0x8a835f4 (GtkNotebook at 0x85a08b8)>>
page = <ScanNotebookPage object at 0x8a8366c (GtkVBox at 0x859e540)>
self.close_scan_cb = <bound method MainWindow._close_scan_cb of <Main...ow object at 0x836b5cc (GtkWindow at 0x83eb990)>>
tab_title undefined
title = None
/usr/share/umit/umitGUI/ScanNotebook.py in append_page(self=<ScanNotebook object at 0x8a835f4 (GtkNotebook at 0x85a08b8)>, page=<ScanNotebookPage object at 0x8a8366c (GtkVBox at 0x859e540)>, close_cb=<bound method MainWindow._close_scan_cb of <Main...ow object at 0x836b5cc (GtkWindow at 0x83eb990)>>, tab_label=<HIGClosableTabLabel object at 0x8a904dc (higwidgets+hignotebooks+HIGClosableTabLabel at 0x87b9b88)>, tab_title=None)
223 tab_label = HIGAnimatedTabLabel(self.get_new_tab_title())
224
225 tab_label.get_animated_label().connect("title-edited",
226 self.title_edited_cb, page)
227 tab_label.connect("close-clicked", close_cb, page)
tab_label = <HIGClosableTabLabel object at 0x8a904dc (higwidgets+hignotebooks+HIGClosableTabLabel at 0x87b9b88)>
tab_label.get_animated_label undefined
self = <ScanNotebook object at 0x8a835f4 (GtkNotebook at 0x85a08b8)>
self.title_edited_cb = <bound method MainWindow._title_edited_cb of <Ma...ow object at 0x836b5cc (GtkWindow at 0x83eb990)>>
page = <ScanNotebookPage object at 0x8a8366c (GtkVBox at 0x859e540)>
<type 'exceptions.AttributeError'>: 'HIGClosableTabLabel' object has no attribute 'get_animated_label'
__class__ = <type 'exceptions.AttributeError'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.AttributeError object at 0x8a1dd0c>
__dict__ = {}
__doc__ = 'Attribute not found.'
__getattribute__ = <method-wrapper '__getattribute__' of exceptions.AttributeError object at 0x8a1dd0c>
__getitem__ = <method-wrapper '__getitem__' of exceptions.AttributeError object at 0x8a1dd0c>
__getslice__ = <method-wrapper '__getslice__' of exceptions.AttributeError object at 0x8a1dd0c>
__hash__ = <method-wrapper '__hash__' of exceptions.AttributeError object at 0x8a1dd0c>
__init__ = <method-wrapper '__init__' of exceptions.AttributeError object at 0x8a1dd0c>
__new__ = <built-in method __new__ of type object at 0x81425c0>
__reduce__ = <built-in method __reduce__ of exceptions.AttributeError object at 0x8a1dd0c>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.AttributeError object at 0x8a1dd0c>
__repr__ = <method-wrapper '__repr__' of exceptions.AttributeError object at 0x8a1dd0c>
__setattr__ = <method-wrapper '__setattr__' of exceptions.AttributeError object at 0x8a1dd0c>
__setstate__ = <built-in method __setstate__ of exceptions.AttributeError object at 0x8a1dd0c>
__str__ = <method-wrapper '__str__' of exceptions.AttributeError object at 0x8a1dd0c>
args = ("'HIGClosableTabLabel' object has no attribute 'get_animated_label'",)
message = "'HIGClosableTabLabel' object has no attribute 'get_animated_label'"
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/share/umit/umitGUI/App.py", line 55, in __create_show_main_window
self.main_window = MainWindow()
File "/usr/share/umit/umitGUI/MainWindow.py", line 106, in __init__
self._create_scan_notebook()
File "/usr/share/umit/umitGUI/MainWindow.py", line 589, in _create_scan_notebook
page = self._new_scan_cb()
File "/usr/share/umit/umitGUI/MainWindow.py", line 904, in _new_scan_cb
return self.scan_notebook.add_scan_page(data)
File "/usr/share/umit/umitGUI/ScanNotebook.py", line 205, in add_scan_page
self.append_page(page, self.close_scan_cb, tab_title=title)
File "/usr/share/umit/umitGUI/ScanNotebook.py", line 225, in append_page
tab_label.get_animated_label().connect("title-edited",
AttributeError: 'HIGClosableTabLabel' object has no attribute 'get_animated_label'
Change History
Note: See
TracTickets for help on using
tickets.
