Pasi Pitkänen wrote: > Hi, > > I checked out Freevo2 yesterday and when running it for the first time I > faced a problem, after starting freevo (with command './freevo' from bin > directory), I got following error message. > > Traceback (most recent call last): > File "./freevo", line 96, in <module> > import freevo.ui > File > "/home/vieras/Freevo2/lib/python2.5/site-packages/freevo/ui/__init__.py", > line 49, in <module> > freevo.xmlconfig.xmlconfig(pycfgfile, cfgsource, 'freevo.ui') > File "../core/build/lib/freevo/xmlconfig.py", line 131, in xmlconfig > TypeError: default __new__ takes no parameters > > I realize that this has to have something to do with my environment > because this would have popped up to all freevo2 users if it is problem > in Freevo2 itself. The problem is that, I have no idea where to look. I > tried to find a Parser class from kaa. I found parser.py, but it doesn't > contain class definition (as far as I understand Python), only some > methods. As stated, I'm new with Python (long experience with C/C++), so > help is needed.
That is a very strange bug. The bad line is | kaa.distribution.xmlconfig.Parser(package).parse(doc.firstChild, out) The class called here is in base/src/distribution/xmlconfig.py But the class definition is | class Parser(object): | | def __init__(self, package): | self._package = package There is no __new__ anywhere. Is there any Freevo 2.0 Python 2.5 and 64-bit user anywhere? Dischi -- Having trouble in Windows? Reboot! Having trouble in Linux? Be root!
pgpCQKERxeZGC.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
