Whyteboard does not find wxwindows 2.8 if 3.0 is installed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Whyteboard |
New
|
Undecided
|
Unassigned |
Bug Description
Whyteboard 0.41.1
Operating System: Linux 3.13.7-1-ARCH x86_64
Screen Resolution: 1280x1024
Python Version: 2.7.6 (default, Feb 26 2014, 12:07:17)
[GCC 4.8.2 20140206 (prerelease)]
wxPython Version: 3.0.0.0 gtk2 (classic)
wxPython Info: (__WXGTK__, wxGTK, unicode, gtk2, wx-assertions-on, SWIG-1.3.29)
Python Encoding: Default=ascii File=UTF-8
wxPython Encoding: utf-8
System Architecture: 64bit x86_64
Byte order: little
Frozen: False
#---- End System Information ----#
Under Arch Linux, running whyteboard results in the following:
#---- Preferences ----#
language = ""
#---- Traceback Info ----#
*** Sun Mar 30 15:47:41 2014 ***
Traceback (most recent call last):
File "./whyteboard.py", line 49, in <module>
WhyteboardA
File "/usr/lib/
self.
File "/usr/lib/
return _core_.
File "/usr/lib/
self.frame = GUI(config)
File "/usr/lib/
pub.
File "/usr/lib/
topicObj.
File "/usr/lib/
listener(
File "/usr/lib/
cb(**kwargs)
File "/usr/lib/
self.
File "/usr/lib/
thumb.
File "/usr/lib/
gcdc.
AttributeError: 'module' object has no attribute 'Color'
#---- End Traceback Info ----#
Deinstalling wxpython 3.0 is no solution. the arch Linux package wxpython2.8 depends on wxpython.
I am trying to package this properly. My current PKGBUILD looks like this:
http://
As someone found out, in line 1022 of gui/panels.py the line
gcdc.SetBrush( wx.Brush( wx.Color( 0, 0, 255, 50))) # light blue
has to changed to
gcdc.SetBrush( wx.Brush( wx.Colour( 0, 0, 255, 50))) # light blue