Re: bakefile xmlparser error

Václav Slavík <[email protected]> Fri, 8 Apr 2011 11:57:00 +0200
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <[email protected]>
On 17 Mar 2011, at 19:20, Paul Breen wrote:

> Traceback (most recent call last):
>  File "/usr/bin/bakefile_gen", line 37, in <module>
>    import xmlparser, dependencies, errors, portautils
> ImportError: No module named xmlparser
> 
> I built bakefile from source using configure&&make&&sudo make install,

That would install into /usr/local, not /usr as the error above shows. Are you sure you don't have another copy around or built it differently?

> and I got no complaints about unsatisfied dependencies.  I don't know the first thing about python, so I'm not sure how to troubleshoot this.  Does anyone have any idea what might be causing this?

No, sorry. This file is part of Bakefile and is installed by `make install`. If it isn't for you, or if it cannot be found at runtime, then something went wrong, but you don't provide enough information to guess what. Was the file installed? Where? In /usr/lib/bakefile, /usr/local/lib/bakefile?

What's the output of

   python -c "import os.path; print os.path.realpath('/usr/bin/bakefile_gen')"

? (Or with "/usr/local/bin/bakefile_gen", depending on where Bakefile really is.)

Regards,
Vaclav


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev