A Dijous, 10 de desembre de 2009, forum-u...@tinyerp.org va escriure:
> I'm also having trouble getting koo to work. I've looked through the 
suggestions given above in this thread and ahd to create the .koorc file as it 
didn't exist. When I run koo I get the following errors:
> > u...@linux-vm1:/usr/local/lib/python2.6/site-packages/Koo> python koo.py
> > Traceback (most recent call last):
> >   File "./koo.py", line 73, in <module>
> >     from Koo.Common import Notifier, Common
> >   File "/usr/local/lib/python2.6/site-packages/Koo/Common/Common.py",
> > line 76, in <module> (SelectionDialogUi, SelectionDialogBase) =
> > loadUiType( uiPath('win_selection.ui') ) File
> > "/usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py", line 155, in
> > loadUiType winfo = compiler.UICompiler().compileUi(uifile, code_string)
> > File "/usr/lib/python2.6/site-packages/PyQt4/uic/Compiler/compiler.py",
> > line 66, in compileUi w = self.parse(input_stream)
> >   File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line
> > 768, in parse document = parse(filename)
> >   File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 862, in parse
> >     tree.parse(source, parser)
> >   File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 579, in parse
> >     source = open(source, "rb")
> > TypeError: coercing to Unicode: need string or buffer, NoneType found
> 
> The install of koo didn't throw up any errors though.
> 
> The .koorc file I created looks like this:
> &#91;kde&#93;
> enabled = True
> 
> &#91;login&#93;
> protocol = http&#58;//
> url = http&#58;//ad...@192.168.1.19&#58;8070
> db = admin
> server = 192.168.1.19
> login = admin
> port = 8070
> 
> &#91;client&#93;
> default_path = /home/Gabor
> language = False
> 
> &#91;tip&#93;
> position = 0
> autostart = False
> 
> &#91;path&#93;
> pixmaps = /usr/local/share/pixmaps/Koo
> share = /usr/local/share/Koo
> ui = /usr/local/share/Koo/ui&nbsp;
> 
> 
> Can anyone give some insight as to what's going wrong? I'd really like to
>  get this working.
> 
> I'm running openSUSE11.2, python2.6, KDE4.3.4

What version of PyQt do you have installed?

> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> --
> http://www.openobject.com/forum/viewtopic.php?p=47982#47982
> 
> -------------------- m2f --------------------
> 
> 
> _______________________________________________
> Tinyerp-users mailing list
> http://tiny.be/mailman2/listinfo/tinyerp-users
> 


-- 
Albert Cervera i Areny
http://www.NaN-tic.com
Mòbil: +34 669 40 40 18
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to