PythonCard newbie question

K

Karl Lopes

Hello All,
I downloaded and installed PythonCard. When I try to run the minimal app
in samples
I get the following errors: module' object has no attribute 'Background'.
: module' object has no attribute '__version__'
Any ideas what I am missing here.
Thanks
Karl.
 
K

Kevin Altis

Yep, the problem is PythonCard has been using the __version__ attribute from
a low-level wxPython module when it shouldn't have and in wxPython 2.4.1 the
location of the __version__ attribute in that low-level module changed and
so it broke PythonCard. This is fixed in cvs and will be fixed in release
0.7.1 which I plan to get out this week after I have recovered from OSCON.

The fix is simple, simply change the line in PythonCardPrototype/model.py to

assert wx.__version__ >= "2.3.3"

the reference in the resourceEditor can be removed entirely.

ka
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

PythonCard 4
Pushing for Pythoncard 1.0 2
? Pythoncard 2
PythonCard installation 1
ANN: PythonCard 0.7.2 0
Announce: PythonCard 0.7.3.1 0
A newbie question 2
Pythoncard - Mistake in walkthrough? 3

Members online

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top