This is the problem reported the other day. You don't have NumPy
installed on your machine, so the underlying FloatCanvas fails to
import correctly and the component is not checking for this error right
now. I went ahead and checked in a fix but for now just rename
PythonCard/components/floatcanvas.py to floatcanvas.txt or something
like that so the resourceEditor doesn't attempt to load it. The fix
should show up on the anonymous cvs server sometime later today.
ka
On Oct 2, 2004, at 8:10 AM, Ted Campbell wrote:
> I have been using the stable release of PythonCard on a Mac iBook, OS
> X (10.3). This morning I downloaded via CVS the PythonCard directory
> and its contents, renamed the old directory (to old.PythonCard), then
> moved the new directory into the folder where PythonCard was.
> codeEditor works fine, but resourceEditor now runs into serious errors
> reported in the terminal window as follows:
>
> Traceback (most recent call last):
> File "//Library/Python/2.3/wx/_core.py", line 10604, in <lambda>
> lambda event: event.callable(*event.args, **event.kw) )
> File
> "/Library/Python/2.3/PythonCard/tools/resourceEditor/
> resourceEditor.py", line 85, in on_initialize
> self.buildComponentsMenu()
> File
> "/Library/Python/2.3/PythonCard/tools/resourceEditor/
> resourceEditor.py", line 285, in buildComponentsMenu
> resource.loadComponentModule(name)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
> python2.3/site-packages/PythonCard/resource.py", line 30, in
> loadComponentModule
> raise ImportError, message
> ImportError: cannot import module 'floatcanvas
>
> I suspect that this is some kind of setup error. Any clues as to how I
> can make this work? adv(thanks)ance.
>
> /ted
|