PythonCard newbie question

Kevin Altis altis at semi-retired.com
Sun Jul 13 12:59:37 EDT 2003


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

"Karl Lopes" <karl_lopes at hotmail.com> wrote in message
news:Xns93B71174A7F15karllopeshotmailcom at 24.69.255.211...
> 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.





More information about the Python-list mailing list