[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUe-dev] GNUe & wxPython
From: |
Michael Klatt |
Subject: |
[GNUe-dev] GNUe & wxPython |
Date: |
Tue, 10 Aug 2004 14:54:04 -0700 |
Hi Everyone,
I need to setup an accounting system and looking at GNUe as a
possibility. I've been a python programmer for several years and work a
lot with MySQL.
In case it wasn't common knowledge, Forms & Designer definitely don't work
with wxPython 2.5.1.5. When launching the Designer with wxPython 2.5.1.5 I
get the following exception (which cripples the application):
DB000: Traceback (most recent call last):
DB000: File "C:\Program
Files\Python\Lib\site-packages\gnue\designer\base\docks\SplitDock.py", line
269, in RecalcSizes
DB000: size = self.GetSize()
DB000: File "C:\PROGRA~1\Python\Lib\site-packages\wx\core.py", line 8376,
in GetSize
DB000: return _core.Sizer_GetSize(*args, **kwargs)
DB000: TypeError: Expected a pointer
DB000: Traceback (most recent call last):
DB000: File "C:\Program
Files\Python\Lib\site-packages\gnue\designer\base\docks\SplitDock.py", line
269, in RecalcSizes
DB000: size = self.GetSize()
DB000: File "C:\PROGRA~1\Python\Lib\site-packages\wx\core.py", line 8376,
in GetSize
DB000: return _core.Sizer_GetSize(*args, **kwargs)
DB000: TypeError: Expected a pointer
I believe this error is in the wxPython library. See this thread:
http://lists.wxwidgets.org/archive/wxPython-dev/msg00533.html
I haven't taken the time to figure out if the problem is still present in
the latest wxPython source in CVS. I get this exact exception in Linux too
(Fedora Core 2).
Even with wxPython 2.4.2.4u, I still get the following exception in Windows
XP after launching gnue-designer (Windows XP, Python 2.3.3, wxPython
2.4.2.4u, latest Subversion code as of 08/09/04) :
DB000: Traceback (most recent call last):
DB000: File "C:\Program
Files\Python\Lib\site-packages\gnue\designer\forms\LayoutEditor\LayoutEditor.py",
line 146, in __OnGridSize
DB000: w, h = self.panel.GetSizeTuple()
DB000: AttributeError: 'NoneType' object has no attribute 'GetSizeTuple'
DB000: Traceback (most recent call last):
DB000: File "C:\Program
Files\Python\Lib\site-packages\gnue\designer\forms\LayoutEditor\LayoutEditor.py",
line 517, in OnPageSelected
DB000: self.__OnGridSize(None)
DB000: File "C:\Program
Files\Python\Lib\site-packages\gnue\designer\forms\LayoutEditor\LayoutEditor.py",
line 146, in __OnGridSize
DB000: w, h = self.panel.GetSizeTuple()
DB000: AttributeError: 'NoneType' object has no attribute 'GetSizeTuple'
This error doesn't appear to affect the application. This exception
doesn't show up in wxPython 2.4.2.4 on Linux.
I updated the Windows Installation page in the Wiki to indicate that
wxPython 2.5.1.5 won't work.
If there is somewhere else I should report bugs like this, please let me know.
Michael
- [GNUe-dev] GNUe & wxPython,
Michael Klatt <=