[wxPython] wxc

Using wxPython 2.3.1 and PythonWin 2.1 (ActiveState build 212)

When attempting to use demo.py, program crashes with illegal op.

Attempt to import wxc gives the same result.

Advice would be appreciated.

Colin W.

That particular version of wxPython is fairly buggy. The current beta
version is much better and very stable. It is recommended that you install
wxPython-2.3.2b7-Py21-hybrid.exe, which you can find at
wxPython - Browse Files at SourceForge.net. Then if you
still have an error we should be able to figure out the problem pretty
easily.

···

---
Patrick K. O'Brien
Orbtech.com - Your Source For Python Development Services

-----Original Message-----
From: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Colin J.
Williams
Sent: Wednesday, November 28, 2001 8:28 AM
To: wxpython -users
Subject: [wxPython] wxc

Using wxPython 2.3.1 and PythonWin 2.1 (ActiveState build 212)

When attempting to use demo.py, program crashes with illegal op.

Attempt to import wxc gives the same result.

Advice would be appreciated.

Colin W.

Using wxPython 2.3.1 and PythonWin 2.1 (ActiveState build 212)

When attempting to use demo.py, program crashes with illegal op.

Attempt to import wxc gives the same result.

Does it also do it when not using PythonWin? (i.e., from the command-line?)

···

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

Unfortunately, the failure remains.

G:\Python21\wxPython python -c “import wxc”
crashes with invalid op-code.
Colin W.

“Patrick K. O’Brien” wrote:

···

That particular version of wxPython is fairly buggy.
The current beta

version is much better and very stable. It is recommended that you
install

wxPython-2.3.2b7-Py21-hybrid.exe, which you can find at

http://sourceforge.net/project/showfiles.php?group_id=10718.
Then if you

still have an error we should be able to figure out the problem pretty

easily.

Patrick K. O’Brien

Orbtech.com - Your Source For Python Development Services

-----Original Message-----

From: wxpython-users-admin@lists.wxwindows.org

[mailto:wxpython-users-admin@lists.wxwindows.org]On
Behalf Of Colin J.

Williams

Sent: Wednesday, November 28, 2001 8:28 AM

To: wxpython -users

Subject: [wxPython] wxc

Using wxPython 2.3.1 and PythonWin 2.1 (ActiveState build 212)

When attempting to use demo.py, program crashes with illegal op.

Attempt to import wxc gives the same result.

Advice would be appreciated.

Colin W.


wxpython-users mailing list

wxpython-users@lists.wxwindows.org

http://lists.wxwindows.org/mailman/listinfo/wxpython-users

Robin Dunn wrote:

> Using wxPython 2.3.1 and PythonWin 2.1 (ActiveState build 212)
>
> When attempting to use demo.py, program crashes with illegal op.
>
> Attempt to import wxc gives the same result.
>

Does it also do it when not using PythonWin? (i.e., from the command-line?)

Robin,

Yes, when using either Python.exe or Pythonw.exe, both from Active State's
build 212 and using Windows 95.

Thanks for your interest.

Colin W.

Are you sure you don’t want to do “from wxPython import wxc”?

···

Patrick K. O’Brien
Orbtech.com - Your Source For Python Development Services

-----Original Message-----
From:
wxpython-users-admin@lists.wxwindows.org [mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Colin J. Williams
Sent: Wednesday, November 28, 2001 11:43 AM
To:
wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] wxc

Unfortunately, the failure remains.

G:\Python21\wxPython python -c “import wxc”
crashes with invalid op-code.
Colin W.

Sorry, I didn’t look closely at your example. The following worked fine for me. I’m not sure why it is crashing for you. Robin? Any ideas?

C:\Python21\wxPython> python -c “import wxc”

···

Patrick K. O’Brien
Orbtech.com - Your Source For Python Development Services

-----Original Message-----
From:
wxpython-users-admin@lists.wxwindows.org [mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Patrick K. O’Brien
Sent: Wednesday, November 28, 2001 5:00 PM
To:
wxpython-users@lists.wxwindows.org
Subject: RE: [wxPython] wxc

Are you sure you don’t want to do “from wxPython import wxc”?


Patrick K. O’Brien
Orbtech.com - Your Source For Python Development Services

-----Original Message-----
From:
wxpython-users-admin@lists.wxwindows.org [mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Colin J. Williams
Sent: Wednesday, November 28, 2001 11:43 AM
To: wxpython-users@lists.wxwindows.org
Subject: Re: [wxPython] wxc

Unfortunately, the failure remains.

G:\Python21\wxPython python -c “import wxc”
crashes with invalid op-code.
Colin W.

Robin Dunn wrote:

> > Using wxPython 2.3.1 and PythonWin 2.1 (ActiveState build 212)
> >
> > When attempting to use demo.py, program crashes with illegal op.
> >
> > Attempt to import wxc gives the same result.
> >
>
> Does it also do it when not using PythonWin? (i.e., from the

command-line?)

Robin,

Yes, when using either Python.exe or Pythonw.exe, both from Active State's
build 212 and using Windows 95.

1. Did you get all the prerequisites for win95 listed at
Redirecting...?

2. If so, does wxPython 2.3.2b7 behave the same way?

···

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

Robin,

Many thanks.

Robin Dunn wrote:

1. Did you get all the prerequisites for win95 listed at
Redirecting...?

No. The ogl stuff came with Win 95 OSR2. The others have been installed.

Most of the demo.py items operate well with now python.exe and pythonw.exe
(Active State build 212), but not with PythonWin.

For PythonWin, I get:

Unhandled exception while debugging...

Traceback (most recent call last):
  File "Main.py", line 510, in main
    os.chdir(demoPath)
OSError: (2, 'No such file or directory', '')

__file__ => 'Main.pyc'
demoPath => ''

2. If so, does wxPython 2.3.2b7 behave the same way?

I am using ver = '2.3.2b7'.

Colin W.

For PythonWin, I get:
>>> Unhandled exception while debugging...
Traceback (most recent call last):
  File "Main.py", line 510, in main
    os.chdir(demoPath)
OSError: (2, 'No such file or directory', '')

Isn't that inside a try...except? Are you running Main.py or demo.py?

···

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