Error with text tool getting font information

Bug #786602 reported by Steven Sproat on 2011-05-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Steven Sproat

Bug Description

Whyteboard 0.41.1
Operating System: Linux 2.6.31-14-generic i686
Screen Resolution: 1366x768
Python Version: 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)
[GCC 4.4.1]
wxPython Version: (gtk2-unicode)
wxPython Info: (__WXGTK__, wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.29)
Python Encoding: Default=ascii File=UTF-8
wxPython Encoding: utf-8
System Architecture: 32bit i686

File \"/usr/lib/whyteboard/whyteboard/gui/\", line 188, in left_up
 File \"/usr/lib/whyteboard/whyteboard/\", line 1211, in left_up
   self.font_data = self.font.GetNativeFontInfoDesc()
AttributeError: \'NoneType\' object has no attribute \'GetNativeFontInfoDesc\'

The function call is
self.font_data = self.font.GetNativeFontInfoDesc()

Gotta check under what conditions the font of the text object could be set to nothing.

Related branches

Steven Sproat (sproaty) on 2011-05-22
tags: added: crash
Steven Sproat (sproaty) on 2011-05-22
Changed in whyteboard:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers