Ticket #132 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years ago

Umit Crash - ''HIGClosableTabLabel' object has no attribute 'get_animated_label''

Reported by: colin@… 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.13.5
Umit version 0.9.5

Description


Versions:
---
GTK: 2.13.5
PyGTK: 2.15.1
HIGWidgets: < 0.9.5
Python: 2.5.2 (r252:60911, Jun 28 2008, 14:35:19) 
[GCC 4.3.1]
Nmap: Nmap version 4.62 ( http://nmap.org )
Operating System: Linux thighbone 2.6.26-5-generic #1 SMP Sat Jul 26 21:35:46 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 31 19:32:18 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 0xb7be2c6c>)
   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 0xb7be2c6c>
self.main_window undefined
MainWindow = <class 'umitGUI.MainWindow.MainWindow'>

 /usr/share/umit/umitGUI/MainWindow.py in __init__(self=<MainWindow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>)
  104         self._create_menubar()
  105         self._create_toolbar()
  106         self._create_scan_notebook()
  107         self._verify_root()
  108 
self = <MainWindow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>
self._create_scan_notebook = <bound method MainWindow._create_scan_notebook o...ow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>>

 /usr/share/umit/umitGUI/MainWindow.py in _create_scan_notebook(self=<MainWindow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>)
  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 0x94bcc0c (GtkWindow at 0x8d7e100)>
self._new_scan_cb = <bound method MainWindow._new_scan_cb of <MainWindow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>>

 /usr/share/umit/umitGUI/MainWindow.py in _new_scan_cb(self=<MainWindow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>, 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 0x94bcc0c (GtkWindow at 0x8d7e100)>
self.scan_notebook = <ScanNotebook object at 0x94bcedc (GtkNotebook at 0x8f520b8)>
self.scan_notebook.add_scan_page = <bound method ScanNotebook.add_scan_page of <Sca... object at 0x94bcedc (GtkNotebook at 0x8f520b8)>>
data = None

 /usr/share/umit/umitGUI/ScanNotebook.py in add_scan_page(self=<ScanNotebook object at 0x94bcedc (GtkNotebook at 0x8f520b8)>, 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 0x94bcedc (GtkNotebook at 0x8f520b8)>
self.append_page = <bound method ScanNotebook.append_page of <ScanN... object at 0x94bcedc (GtkNotebook at 0x8f520b8)>>
page = <ScanNotebookPage object at 0x94bcf54 (GtkVBox at 0x8d95788)>
self.close_scan_cb = <bound method MainWindow._close_scan_cb of <Main...ow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>>
tab_title undefined
title = None

 /usr/share/umit/umitGUI/ScanNotebook.py in append_page(self=<ScanNotebook object at 0x94bcedc (GtkNotebook at 0x8f520b8)>, page=<ScanNotebookPage object at 0x94bcf54 (GtkVBox at 0x8d95788)>, close_cb=<bound method MainWindow._close_scan_cb of <Main...ow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>>, tab_label=<HIGClosableTabLabel object at 0x94d05cc (higwidgets+hignotebooks+HIGClosableTabLabel at 0x91161a0)>, 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 0x94d05cc (higwidgets+hignotebooks+HIGClosableTabLabel at 0x91161a0)>
tab_label.get_animated_label undefined
self = <ScanNotebook object at 0x94bcedc (GtkNotebook at 0x8f520b8)>
self.title_edited_cb = <bound method MainWindow._title_edited_cb of <Ma...ow object at 0x94bcc0c (GtkWindow at 0x8d7e100)>>
page = <ScanNotebookPage object at 0x94bcf54 (GtkVBox at 0x8d95788)>
<type 'exceptions.AttributeError'>: 'HIGClosableTabLabel' object has no attribute 'get_animated_label'
    __class__ = <type 'exceptions.AttributeError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.AttributeError object at 0x946f74c>
    __dict__ = {}
    __doc__ = 'Attribute not found.'
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.AttributeError object at 0x946f74c>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.AttributeError object at 0x946f74c>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.AttributeError object at 0x946f74c>
    __hash__ = <method-wrapper '__hash__' of exceptions.AttributeError object at 0x946f74c>
    __init__ = <method-wrapper '__init__' of exceptions.AttributeError object at 0x946f74c>
    __new__ = <built-in method __new__ of type object at 0x8145aa0>
    __reduce__ = <built-in method __reduce__ of exceptions.AttributeError object at 0x946f74c>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.AttributeError object at 0x946f74c>
    __repr__ = <method-wrapper '__repr__' of exceptions.AttributeError object at 0x946f74c>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.AttributeError object at 0x946f74c>
    __setstate__ = <built-in method __setstate__ of exceptions.AttributeError object at 0x946f74c>
    __str__ = <method-wrapper '__str__' of exceptions.AttributeError object at 0x946f74c>
    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

Changed 5 years ago by luis

  • status changed from new to closed
  • resolution set to duplicate
  • description modified (diff)

See #33

Note: See TracTickets for help on using tickets.