Hi,
I'm working on a Qt/KDE based GUI for TinyERP called, KTiny. One of the users
has been trying the application on Mac and matplotlib crashes with the
attached backtrace. Backend is Qt4Agg.
Unfortunately I don't have access to a Mac machine, but could ask him to try
some things as he is very responsive. Has anyone an idea of what could be the
problem? The application works perfectly well on Linux. On Windows is
producing a segmentation fault, but that is an issue for another e-mail I
think.
Any ideas will be very welcomed. Thanks in advance!
--
Albert Cervera i Areny
http://www.NaN-tic.com
Traceback (most recent call last):
File "ktiny.py", line 151, in <module>
login =win.sig_login()
File "/Users/gass/svn/ktiny/bin/modules/gui/main.py", line 230, in sig_login
self.login( dialog.url, dialog.databaseName )
File "/Users/gass/svn/ktiny/bin/modules/gui/main.py", line 252, in login
self.sig_home_new( quiet=False )
File "/Users/gass/svn/ktiny/bin/modules/gui/main.py", line 361, in
sig_home_new
return self.sig_win_new(widget, type='action_id', quiet=quiet,
except_id=except_id)
File "/Users/gass/svn/ktiny/bin/modules/gui/main.py", line 347, in sig_win_new
win = obj.execute(act_id, {'window':self })
File "/Users/gass/svn/ktiny/bin/modules/action/main.py", line 83, in execute
self._exec_action(res,datas)
File "/Users/gass/svn/ktiny/bin/modules/action/main.py", line 122, in
_exec_action
limit=datas['limit'], auto_refresh=datas['auto_refresh'])
File "/Users/gass/svn/ktiny/bin/modules/gui/window/windowservice.py", line
52, in create
context=context, name=name
File "/Users/gass/svn/ktiny/bin/modules/gui/window/form.py", line 81, in
__init__
self.screen = Screen(self.model, view_type=view_type, context=self.context,
view_ids=view_ids, domain=domain, hastoolbar=options.options['form.toolbar'] ,
parent=self)
File "/Users/gass/svn/ktiny/bin/widget/screen/screen.py", line 88, in __init__
view = self.add_view_id(view_id, view_type[0])
File "/Users/gass/svn/ktiny/bin/widget/screen/screen.py", line 216, in
add_view_id
return self.add_view(view['arch'], view['fields'], display,
toolbar=view.get('toolbar', False))
File "/Users/gass/svn/ktiny/bin/widget/screen/screen.py", line 255, in
add_view
view, on_write = ViewFactory.create(self, self.resource, dom, self.fields,
toolbar=toolbar)
File "/Users/gass/svn/ktiny/bin/widget/view/viewfactory.py", line 72, in
create
view, on_write = parser.create(parent, model, node, fields, toolbar)
File "/Users/gass/svn/ktiny/bin/widget/view/form/parser.py", line 114, in
create
container, on_write = self.parse( node, fields, container=self.view.widget )
File "/Users/gass/svn/ktiny/bin/widget/view/form/parser.py", line 214, in
parse
_, on_write = self.parse( node, fields, widget, container)
File "/Users/gass/svn/ktiny/bin/widget/view/form/parser.py", line 229, in
parse
widget, on_write = self.parse( node, fields, None,None)
File "/Users/gass/svn/ktiny/bin/widget/view/form/parser.py", line 235, in
parse
widget_act = action( container , None, attrs)
File "/Users/gass/svn/ktiny/bin/widget/view/form/action.py", line 73, in
__init__
self.screen = Screen(self.action['res_model'], view_type=mode,
context=self.context, view_ids = view_id, domain=self.domain, parent = self )
File "/Users/gass/svn/ktiny/bin/widget/screen/screen.py", line 88, in __init__
view = self.add_view_id(view_id, view_type[0])
File "/Users/gass/svn/ktiny/bin/widget/screen/screen.py", line 216, in
add_view_id
return self.add_view(view['arch'], view['fields'], display,
toolbar=view.get('toolbar', False))
File "/Users/gass/svn/ktiny/bin/widget/screen/screen.py", line 255, in
add_view
view, on_write = ViewFactory.create(self, self.resource, dom, self.fields,
toolbar=toolbar)
File "/Users/gass/svn/ktiny/bin/widget/view/viewfactory.py", line 70, in
create
exec( 'import %s' % imports[node.localName] )
File "<string>", line 1, in <module>
File "/Users/gass/svn/ktiny/bin/widget/view/chart/__init__.py", line 1, in
<module>
from parser import *
File "/Users/gass/svn/ktiny/bin/widget/view/chart/parser.py", line 39, in
<module>
from chart import *
File "/Users/gass/svn/ktiny/bin/widget/view/chart/chart.py", line 33, in
<module>
import tinygraph
File "/Users/gass/svn/ktiny/bin/tinygraph/__init__.py", line 4, in <module>
from pylab import arange
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pylab.py",
line 1, in <module>
from matplotlib.pylab import *
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/pylab.py",
line 208, in <module>
from matplotlib import mpl # pulls in most modules
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl.py",
line 3, in <module>
from matplotlib import axis
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/axis.py",
line 20, in <module>
from font_manager import FontProperties
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 1129, in <module>
_rebuild()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 1120, in _rebuild
fontManager = FontManager()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 884, in __init__
self.ttffiles = findSystemFonts(paths) + findSystemFonts()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 257, in findSystemFonts
for f in get_fontconfig_fonts(fontext):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py",
line 219, in get_fontconfig_fonts
status, output = commands.getstatusoutput("fc-list file")
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/commands.py",
line 54, in getstatusoutput
text = pipe.read()
IOError: [Errno 4] Interrupted system call
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users