Okay, so here’s the deal… I ran Phoenix’s test suite (runtests.py) on Windows 7 x64 running 64-bit Python 3.3.2 using Phoenix’s latest snapshot build r74452 (win64-py3.3).
I got nasty errors which also crashed my Python interpreter. I am trying to figure out what the heck is going on that causes all this failures and errors and exceptions and the crash… I’m looking for a helping hand here. Any help would be greatly appreciated.
I am going to open a bottle of champagne when all the tests pass.
Oh, and I almost forgot… After those tests run and I experience the crash and all, the keyboard cursor then blinks at the fastest rate possible from then on. Then I need to go to Control Panel / Keyboard and lower the cursor blink rate. It would be nice if you could help me find the culprit for this. I’ve been looking but no luck.
Did you do any debugging at all?� Remember, this is an unreleased
project that is still under active development.� If you’re using it,
you’re expected to contribute.� In this case, the TypeErrors are
obvious – the agw library has not been completely converted to
Python 3 yet.
We will join you once you figure out how to help yourself.
···
Bo�tjan Mejak wrote:
Okay, so here's the deal... I ran Phoenix's test
suite (runtests.py) on Windows 7 x64 running 64-bit Python 3.3.2
using Phoenix’s latest snapshot build r74452 (win64-py3.3).
interpreter. I am trying to figure out what the heck is going
on that causes all this failures and errors and exceptions and
the crash… I’m looking for a helping hand here. Any help
would be greatly appreciated.
Okay, so here's the deal... I ran Phoenix's test suite (runtests.py) on
Windows 7 x64 running 64-bit Python 3.3.2 using Phoenix's latest
snapshot build r74452 (win64-py3.3).
I got nasty errors which also crashed my Python interpreter. I am trying
to figure out what the heck is going on that causes all this failures
and errors and exceptions and the crash... I'm looking for a helping
hand here. Any help would be greatly appreciated.
The exceptions tell you most of what you need to know. The "TypeError: Expected a list of bytes objects" errors can be fixed by putting a 'b' in front of all the string literals used for the XPM images to change them into bytes literals. Like this:
...
b"` c #008080",
...
Python 2.7 ignores the b's so you don't need to use the b() function in the six module to workaround the Py2-3 differences here.
For the "AssertionError: No wx.App created yet" something is trying to use wx.CallAfter too soon. It can't be safely used before there is a wx.App object so there is an assert to ensure that is the case.
For the crash you can use the verbose flag to be able to tell which test was active when it happens, and then you can narrow your focus on that test suite and the code that it exercises.