Personal tools
You are here: Home Discussion

Discussion

Up to the Bugs Forum
Please feel free to communicate anything you feel could help this project move on. You can receive an email each time a new message is posted by setting up your personal preferences.

OpenBayes GUI issue on Mac OS X

Posted by arnaudsj at November 22. 2006
Hi,

Just tried to run the SVN copy of OpenBayesGUI, and here is the error message I get:

pythonw OpenBayesGUI/OpenBayesGUI.py
Traceback (most recent call last):
File "/Users/arnaudsj/Development/OpenSource/OpenBayes/OpenBayesGUI/OpenBayesGUI.py", line 1934, in ?
main()
File "/Users/arnaudsj/Development/OpenSource/OpenBayes/OpenBayesGUI/OpenBayesGUI.py", line 1920, in main
monappli = Application()
File "/Users/arnaudsj/Development/OpenSource/OpenBayes/OpenBayesGUI/OpenBayesGUI.py", line 1633, in __init__
wx.App.__init__(self, redirect=False)
File "/BinaryCache/wxWidgets/wxWidgets-6.root~543/System/Library/Frameworks/Python.framework/Versions/2.3/Extras/lib/python/wx-2.5.3-mac-unicode/wx/_core.py", line 5301, in __init__
File "/BinaryCache/wxWidgets/wxWidgets-6.root~543/System/Library/Frameworks/Python.framework/Versions/2.3/Extras/lib/python/wx-2.5.3-mac-unicode/wx/_core.py", line 4980, in _BootstrapApp
File "/Users/arnaudsj/Development/OpenSource/OpenBayes/OpenBayesGUI/OpenBayesGUI.py", line 1677, in OnInit
self.CreateTB(frame)
File "/Users/arnaudsj/Development/OpenSource/OpenBayes/OpenBayesGUI/OpenBayesGUI.py", line 1716, in CreateTB
new_bmp = wx.ArtProvider.GetBitmap(wx.ART_NEW, wx.ART_TOOLBAR)
AttributeError: 'module' object has no attribute 'ART_NEW'

Any ideas, on the dependencies/modules I might need to install?

Thanks,

Sébastien
Posted by Monca at November 22. 2006
Hello,

You just need Python2.4 (or 2.5) and wxPython.

I found this on Google. Maybe it can help you:
http://mail.python.org/pipermail/pythonmac-sig/2006-March/016492.html

I don't have a Mac here but I asked a friend to do a test on Mac OSX and he said me that it worked. ;)

Ronald
Posted by arnaudsj at November 22. 2006
Thank you Ronald! I tried it out with Python2.4 and wxPython and it works great!

I will test it and let you know if I come across any problems.

Once you make a public release of this, I will write a quick DarwinPort for it, so that dependencies to Python2.4 and wxPython on Mac OS X are taken care off in the background for most people to make it easier to try it out.

Thanks!

Sébastien
Powered by Ploneboard

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: