[PythonReports-users] Exception wx.Color
Brought to you by:
a1s
From: Werner F. B. <wer...@fr...> - 2012-12-04 20:10:19
|
Hi Alex, I'll start again, sorry didn't pay attention that the copy/past only gave part of the call stack. I'll do one per item, so it is easier to follow. I'll like to give the designer a go for a bit. So, tried first to use it with wxPython 2.8x but it uses wx.propgrid which is only available as of 2.9.0.1. Re "stable" and "unstable", I assume you are aware that this is only in relation to the API being not stable and in 99% only for the new stuff added. And the following is one of the 1%, I'll report/ask about it on the wxPython list, i.e. the recommended spelling was I believe always "Colour". AttributeError: 'module' object has no attribute 'Color' File "c:\dev\twcbv4\twcbsrc\reports\dbtest.py", line 56, in <module> from PythonReports.editor.editor import main as ptedit File "c:\Python27\Lib\site-packages\PythonReports\editor\editor.py", line 7, in <module> from PythonReports.editor.application import EditorApplication File "c:\Python27\Lib\site-packages\PythonReports\editor\application.py", line 8, in <module> from mainform import EditorForm File "c:\Python27\Lib\site-packages\PythonReports\editor\mainform.py", line 15, in <module> from elementstree import ElementsTree File "c:\Python27\Lib\site-packages\PythonReports\editor\elementstree.py", line 9, in <module> from elements.section import Section File "c:\Python27\Lib\site-packages\PythonReports\editor\elements\section.py", line 14, in <module> from design import DesignPlace File "c:\Python27\Lib\site-packages\PythonReports\editor\elements\design.py", line 19, in <module> from element import Element File "c:\Python27\Lib\site-packages\PythonReports\editor\elements\element.py", line 8, in <module> from ..propertiesgrid import PropertiesListener File "c:\Python27\Lib\site-packages\PythonReports\editor\propertiesgrid.py", line 208, in <module> class PropertiesGrid(wxpg.PropertyGrid): File "c:\Python27\Lib\site-packages\PythonReports\editor\propertiesgrid.py", line 270, in PropertiesGrid NONE_COLOR = wx.Color(160, 255, 160) Werner |