[Pythonmac-SIG] Question re: py2app

Bob Ippolito bob at redivi.com
Thu Nov 11 18:29:04 CET 2004


On Nov 11, 2004, at 9:08, Kevin Walzer wrote:

> I've found a bug in wxGlade that only seems to exist in the version I
> packaged with py2app, as a standalone. Whenever I try to generate code
> using this program, I get an error message that says "no parser
> found"--apparently it can't find the parsers to convert the XML GUI
> description to Python code. It looks like at least one file,
> xml_parse.pyc, didn't get copied into the bundle by py2app, which may
> explain the problem.  This doesn't exist when I run the program from a
> folder (double-click wxglade.py), nor does it exist when I bundle it as
> an applet (wxglade + all related files into an app bundle, but external
> libraries/modules like wxPython left alone)--but all I do with the
> applet bundle is copy all the wxglade files manually into the bundle
> into the Resources folder, keeping the same directory structure
> otherwise. I'm just not sure why that particular file isn't being 
> copied
> when I run py2app.

The first thing to check is: what imports it?  The next is, how does it 
get imported?  If it's not using the "import" statement, then it needs 
to be explicitly stated by way of recipe or include option.

-bob



More information about the Pythonmac-SIG mailing list