20061118 test build uploaded

Hi,

A new test build of wxPython has been uploaded.

   Version: 2.8.0.0.20061118
   URL: http://wxPython.wxcommunity.com//preview/20061118
   Changes: http://wxPython.wxcommunity.com//preview/20061118/CHANGES.html

Have fun!
R'bot

I just tried to start DrPython with this new version.
In 2.6 everything was good, but here I get:

Output from Console:
13:42:48: Debug: ..\..\src\common\stdpbase.cpp(51): assert "traits" failed in wx
StandardPathsBase::Get(): create wxApp before calling this

Call stack:
[00] 00FF9D02
[01] 0041005F

Output in Messagebox:
The same as above:
Then also:
Do you want to stop the program?
You can also choose cancel to suppress further warnings.

Unicode Version I downloaded.

I press yes, than unknown software exception (0x800000003) on 0x7c911230;
canel or ok

···

On Sun, 19 Nov 2006 05:58:46 +0000 (UTC), R'bot <rbot@wxpython.org> wrote:

Hi,

A new test build of wxPython has been uploaded.

  Version: 2.8.0.0.20061118
  URL: NameBright - Coming Soon
  Changes: NameBright - Coming Soon

Have fun!
R'bot

--

Franz Steinhaeusler

Hi,

A new test build of wxPython has been uploaded.

  Version: 2.8.0.0.20061118
  URL: NameBright - Coming Soon
  Changes: NameBright - Coming Soon

Have fun!
R'bot

Since the last versions, I always have the problem with multiple installs.
Here I have 2 versions

C:\Python24\Lib\site-packages\wx-2.8-msw-unicode\
C:\Python24\Lib\site-packages\wx-2.60-msw-ansi\

contents of wx.pth is:
wx-2.8-msw-unicode

but it always selects 2.6

import wx
wx.VERSION

(2, 6, 0, 0, '')

I have to rename the folder wx-2.60-msw-ansi,
so that 2.8 Unicode version is really choosen.

···

On Sun, 19 Nov 2006 05:58:46 +0000 (UTC), R'bot <rbot@wxpython.org> wrote:

--

Franz Steinhaeusler

maybe you forgot a wxversion.select(“2.6”) somewhere in your code…

the import wx is at python console or at one of wxpython’s PyShell/PyCrust ?

Peter

···

On 11/21/06, Franz Steinhaeusler franz.steinhaeusler@gmx.at wrote:

but it always selects 2.6

import wx
wx.VERSION
(2, 6, 0, 0, ‘’)


There is NO FATE, we are the creators.

No, cmd prompt, python.exe.

I saw it already also on 2xPy 2.7 version.

···

On Tue, 21 Nov 2006 17:10:42 +0200, "Peter Damoc" <pdamoc@gmail.com> wrote:

On 11/21/06, Franz Steinhaeusler <franz.steinhaeusler@gmx.at> wrote:

but it always selects 2.6

>>> import wx
>>> wx.VERSION
(2, 6, 0, 0, '')
>>>

maybe you forgot a wxversion.select("2.6") somewhere in your code...

the import wx is at python console or at one of wxpython's PyShell/PyCrust ?

Peter

--

Franz Steinhaeusler

python
import sys
sys.path
['', 'c:\\python24\\lib\\site-packages\\wxoptparse-0.1.2-py2.4.egg', 'c:\\python
24\\lib\\site-packages\\easyguider-0.1-py2.4.egg', 'c:\\python24\\lib\\site-pack
ages\\pida-0.3.1-py2.4.egg', 'c:\\python24\\lib\\site-packages\\dabo-0.6.5s-py2.
4.egg', 'c:\\python24\\lib\\site-packages\\setuptools-0.6c3-py2.4.egg', 'c:\\pyt
hon24\\lib\\site-packages\\sqlobject-0.7.1-py2.4.egg', 'c:\\python24\\lib\\site-
packages\\formencode-0.6-py2.4.egg', 'C:\\Python24\\Lib\\site-packages', 'C:\\Pr
ogramme\\Csound\\bin', 'C:\\WINDOWS\\system32\\python24.zip', 'c:\\python24\\DLL
s', 'c:\\python24\\lib', 'c:\\python24\\lib\\plat-win', 'c:\\python24\\lib\\lib-
tk', 'c:\\python24', 'c:\\python24\\lib\\site-packages\\Numeric', 'c:\\python24\
\lib\\site-packages\\PIL',

this is first

'c:\\python24\\lib\\site-packages\\wx-2.60-msw-ansi',

'c:\\python24\\lib\\site-packages\\gtk-2.0', 'c:\\python24\\lib\\site-packages\
\win32', 'c:\\python24\\lib\\site-packages\\win32\\lib', 'c:\\python24\\lib\\sit
e-packages\\Pythonwin',

and then this appears
'c:\\python24\\lib\\site-packages\\wx-2.8-msw-unicode']

···

On Tue, 21 Nov 2006 16:18:01 +0100, Franz Steinhaeusler <franz.steinhaeusler@gmx.at> wrote:

On Tue, 21 Nov 2006 17:10:42 +0200, "Peter Damoc" <pdamoc@gmail.com> wrote:

On 11/21/06, Franz Steinhaeusler <franz.steinhaeusler@gmx.at> wrote:

but it always selects 2.6

>>> import wx
>>> wx.VERSION
(2, 6, 0, 0, '')
>>>

maybe you forgot a wxversion.select("2.6") somewhere in your code...

the import wx is at python console or at one of wxpython's PyShell/PyCrust ?

Peter

No, cmd prompt, python.exe.

I saw it already also on 2xPy 2.7 version.

--

Franz Steinhaeusler

this is first

'c:\\python24\\lib\\site-packages\\wx-2.60-msw-ansi',

'c:\\python24\\lib\\site-packages\\gtk-2.0', 'c:\\python24\\lib\\site-packages\
\win32', 'c:\\python24\\lib\\site-packages\\win32\\lib', 'c:\\python24\\lib\\sit
e-packages\\Pythonwin',

and then this appears
'c:\\python24\\lib\\site-packages\\wx-2.8-msw-unicode']

I have renamed the old path to something like __wx260.pth.
I think, this is the culprit.

If I rename it to something like, wx_260.pt_h, then it works.

I always keep a last version of wxPython, from which I know,
it is working stable, so I copy only this file to wx.pth.

···

--

Franz Steinhaeusler

Franz Steinhaeusler wrote:

this is first

'c:\\python24\\lib\\site-packages\\wx-2.60-msw-ansi',

'c:\\python24\\lib\\site-packages\\gtk-2.0', 'c:\\python24\\lib\\site-packages\
\win32', 'c:\\python24\\lib\\site-packages\\win32\\lib', 'c:\\python24\\lib\\sit
e-packages\\Pythonwin',

and then this appears
'c:\\python24\\lib\\site-packages\\wx-2.8-msw-unicode']

I have renamed the old path to something like __wx260.pth.
I think, this is the culprit.

If I rename it to something like, wx_260.pt_h, then it works.

I always keep a last version of wxPython, from which I know,
it is working stable, so I copy only this file to wx.pth.

All *.pth files are loaded, and probably in no particular order. So having both wx*.pth files will cause both paths to be added to the sys.path. You might want to consider just having one file and edit it when you want to change the default. I think you can have # comments in the file so you could have both paths listed in there, and just comment out the one you don't want to be active.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Franz Steinhaeusler wrote:

···

On Sun, 19 Nov 2006 05:58:46 +0000 (UTC), R'bot <rbot@wxpython.org> wrote:

Hi,

A new test build of wxPython has been uploaded.

  Version: 2.8.0.0.20061118
  URL: NameBright - Coming Soon
  Changes: NameBright - Coming Soon

Have fun!
R'bot

I just tried to start DrPython with this new version.
In 2.6 everything was good, but here I get:

Output from Console:
13:42:48: Debug: ..\..\src\common\stdpbase.cpp(51): assert "traits" failed in wx
StandardPathsBase::Get(): create wxApp before calling this

What do you do before creating the wx.App object?

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

All *.pth files are loaded, and probably in no particular order. So having both wx*.pth files will cause both paths to be added to the sys.path. You might want to consider just having one file and edit it when you want to change the default. I think you can have # comments in the file so you could have both paths listed in there, and just comment out the one you don't want to be active.

Correct, and this is what I do. I have a wx.pth symlink in my home directory, with entries for 2.6.3.3 and 2.7.2. One is commented. I have a script that I can run at the commandline such as:

wx stable
wx dev

Works well.

···

--
pkm ~ http://paulmcnett.com

I found out:
first lines:
import wx
lc = wx.Locale(wx.LANGUAGE_DEFAULT)

But that makes no sense for me.
Why should a wxApp Object created first?

But nevertheless, I try to move that after the
wxApp instatiation.

···

On Tue, 21 Nov 2006 09:35:49 -0800, Robin Dunn <robin@alldunn.com> wrote:

[...]

I just tried to start DrPython with this new version.
In 2.6 everything was good, but here I get:

Output from Console:
13:42:48: Debug: ..\..\src\common\stdpbase.cpp(51): assert "traits" failed in wx
StandardPathsBase::Get(): create wxApp before calling this

What do you do before creating the wx.App object?

--

Franz Steinhaeusler

Demo
(Unicode version):

Traceback: (second demo: AUI_DockingWindowMgr)

Traceback (most recent call last):
  File "AUI_DockingWindowMgr.py", line 1109, in OnButton
    frame = PyAUIFrame(self, wx.ID_ANY, "wx.aui wxPython Demo", size=(750, 590))

  File "AUI_DockingWindowMgr.py", line 266, in __init__
    self._mgr.AddPane(SettingsPanel(self, self), wx.aui.AuiPaneInfo().
  File "AUI_DockingWindowMgr.py", line 971, in __init__
    self._border_size.SetValue(frame.GetDockArt().GetMetric(wx.aui.AUI_ART_PANE_
BORDER_SIZE))
AttributeError: 'module' object has no attribute 'AUI_ART_PANE_BORDER_SIZE'

···

On Sun, 19 Nov 2006 05:58:46 +0000 (UTC), R'bot <rbot@wxpython.org> wrote:

Hi,

A new test build of wxPython has been uploaded.

  Version: 2.8.0.0.20061118
  URL: NameBright - Coming Soon
  Changes: NameBright - Coming Soon

Have fun!
R'bot

--

Franz Steinhaeusler