Summary: | media-gfx/fontypython traceback on startup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | wxwidgets |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://savannah.nongnu.org/bugs/index.php?23528 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ryan Hill (RETIRED)
![]() looks like it only fails with wxpython linked to wxGTK built with USE="debug" I've added fontypython-0.3.2 to tree.. dunno if this is fixed. New problem with 0.3.2, Traceback (most recent call last): File "/usr/lib64/python2.5/site-packages/fontypythonmodules/wxgui.py", line 1383, in __onDirCtrlClick ps.pub(update_font_view) File "/usr/lib64/python2.5/site-packages/fontypythonmodules/pubsub.py", line 85, in pub globRetVal[topic] = function(args) #Pass the args only. File "/usr/lib64/python2.5/site-packages/fontypythonmodules/wxgui.py", line 1613, in UpdateFontViewPanel self.panelFontView.MainFontViewUpdate() File "/usr/lib64/python2.5/site-packages/fontypythonmodules/wxgui.py", line 817, in MainFontViewUpdate self.__filterAndPageThenCallCreateFitmaps() File "/usr/lib64/python2.5/site-packages/fontypythonmodules/wxgui.py", line 646, in __filterAndPageThenCallCreateFitmaps self.scrolledFontView.CreateFitmaps( sublist ) # Tell my child to draw the fonts File "/usr/lib64/python2.5/site-packages/fontypythonmodules/wxgui.py", line 447, in CreateFitmaps self.width = self.DoGetSize()[0] - sbwidth AttributeError: 'ScrolledFontView' object has no attribute 'DoGetSize' It doesn't crash, but it won't show fonts after this error until you restart. media-gfx/fontypython-0.3.6 (which is in tree now) looks to be worth for retest.. dirtyepic@tycho ~ $ fontypython 08:21:03 PM: Debug: /var/tmp/portage/x11-libs/wxGTK-2.8.7.1-r1/work/wxPython-src-2.8.7.1/src/common/stdpbase.cpp(51): assert "traits" failed in Get(): create wxApp before calling this /var/tmp/portage/x11-libs/wxGTK-2.8.7.1-r1/work/wxPython-src-2.8.7.1/src/common/stdpbase.cpp(51): assert "traits" failed in Get(): create wxApp before calling this 08:21:03 PM: Debug: /var/tmp/portage/x11-libs/wxGTK-2.8.7.1-r1/work/wxPython-src-2.8.7.1/src/common/stdpbase.cpp(51): assert "traits" failed in Get(): create wxApp before calling this /var/tmp/portage/x11-libs/wxGTK-2.8.7.1-r1/work/wxPython-src-2.8.7.1/src/common/stdpbase.cpp(51): assert "traits" failed in Get(): create wxApp before calling this Trace/breakpoint trap it probably works without wxGTK w/ USE=debug though. I'm going to poke upstream. just noticed it's using wxpython-2.8 too. easy enough to fix though. i'll have a patch for you in a bit. dirtyepic, reported it upstream, http://savannah.nongnu.org/bugs/index.php?23528 if you have something to comment, attach etc. please do & thanks i worked around this in 0.4.1 by depending on wxGTK[-debug]. not the greatest solution but upstream doesn't seem to be fixing it any time soon. |