id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
106	Umit Crash - ''HIGClosableTabLabel' object has no attribute 'get_animated_label''	sb84@…	boltrix	"Crash Report
[[BR]]==========[[BR]]
[[BR]]sys.platform      linux2
[[BR]]os.name           posix
[[BR]]Gtk version       2.12.9
[[BR]]Umit version      0.9.5[[BR]]

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.68 ( http://nmap.org )
Operating System: Linux x-workstation 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
Sun Aug 24 23:45:46 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 0xb7bf556c>)
   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 0xb7bf556c>
self.main_window undefined
MainWindow = <class 'umitGUI.MainWindow.MainWindow'>

 /usr/share/umit/umitGUI/MainWindow.py in __init__(self=<MainWindow object at 0x836dacc (GtkWindow at 0x83f1900)>)
  104         self._create_menubar()
  105         self._create_toolbar()
  106         self._create_scan_notebook()
  107         self._verify_root()
  108 
self = <MainWindow object at 0x836dacc (GtkWindow at 0x83f1900)>
self._create_scan_notebook = <bound method MainWindow._create_scan_notebook o...ow object at 0x836dacc (GtkWindow at 0x83f1900)>>

 /usr/share/umit/umitGUI/MainWindow.py in _create_scan_notebook(self=<MainWindow object at 0x836dacc (GtkWindow at 0x83f1900)>)
  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 0x836dacc (GtkWindow at 0x83f1900)>
self._new_scan_cb = <bound method MainWindow._new_scan_cb of <MainWindow object at 0x836dacc (GtkWindow at 0x83f1900)>>

 /usr/share/umit/umitGUI/MainWindow.py in _new_scan_cb(self=<MainWindow object at 0x836dacc (GtkWindow at 0x83f1900)>, 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 0x836dacc (GtkWindow at 0x83f1900)>
self.scan_notebook = <ScanNotebook object at 0x8a8dbe4 (GtkNotebook at 0x85af0b8)>
self.scan_notebook.add_scan_page = <bound method ScanNotebook.add_scan_page of <Sca... object at 0x8a8dbe4 (GtkNotebook at 0x85af0b8)>>
data = None

 /usr/share/umit/umitGUI/ScanNotebook.py in add_scan_page(self=<ScanNotebook object at 0x8a8dbe4 (GtkNotebook at 0x85af0b8)>, 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 0x8a8dbe4 (GtkNotebook at 0x85af0b8)>
self.append_page = <bound method ScanNotebook.append_page of <ScanN... object at 0x8a8dbe4 (GtkNotebook at 0x85af0b8)>>
page = <ScanNotebookPage object at 0x8a8dc5c (GtkVBox at 0x840e780)>
self.close_scan_cb = <bound method MainWindow._close_scan_cb of <Main...ow object at 0x836dacc (GtkWindow at 0x83f1900)>>
tab_title undefined
title = None

 /usr/share/umit/umitGUI/ScanNotebook.py in append_page(self=<ScanNotebook object at 0x8a8dbe4 (GtkNotebook at 0x85af0b8)>, page=<ScanNotebookPage object at 0x8a8dc5c (GtkVBox at 0x840e780)>, close_cb=<bound method MainWindow._close_scan_cb of <Main...ow object at 0x836dacc (GtkWindow at 0x83f1900)>>, tab_label=<HIGClosableTabLabel object at 0x8aa0af4 (higwidgets+hignotebooks+HIGClosableTabLabel at 0x87441b0)>, 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 0x8aa0af4 (higwidgets+hignotebooks+HIGClosableTabLabel at 0x87441b0)>
tab_label.get_animated_label undefined
self = <ScanNotebook object at 0x8a8dbe4 (GtkNotebook at 0x85af0b8)>
self.title_edited_cb = <bound method MainWindow._title_edited_cb of <Ma...ow object at 0x836dacc (GtkWindow at 0x83f1900)>>
page = <ScanNotebookPage object at 0x8a8dc5c (GtkVBox at 0x840e780)>
<type 'exceptions.AttributeError'>: 'HIGClosableTabLabel' object has no attribute 'get_animated_label'
    __class__ = <type 'exceptions.AttributeError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.AttributeError object at 0x8a14bac>
    __dict__ = {}
    __doc__ = 'Attribute not found.'
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.AttributeError object at 0x8a14bac>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.AttributeError object at 0x8a14bac>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.AttributeError object at 0x8a14bac>
    __hash__ = <method-wrapper '__hash__' of exceptions.AttributeError object at 0x8a14bac>
    __init__ = <method-wrapper '__init__' of exceptions.AttributeError object at 0x8a14bac>
    __new__ = <built-in method __new__ of type object at 0x81425c0>
    __reduce__ = <built-in method __reduce__ of exceptions.AttributeError object at 0x8a14bac>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.AttributeError object at 0x8a14bac>
    __repr__ = <method-wrapper '__repr__' of exceptions.AttributeError object at 0x8a14bac>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.AttributeError object at 0x8a14bac>
    __setstate__ = <built-in method __setstate__ of exceptions.AttributeError object at 0x8a14bac>
    __str__ = <method-wrapper '__str__' of exceptions.AttributeError object at 0x8a14bac>
    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'


}}}"	defect	closed	high	Umit 1.0beta1	CrashReport	current svn	duplicate	user crash	
