pykota error - related with utf-8, python or something
Hi there.
Iḿ trying to configure pykota and got a lot of troubles, i'm using opensuse 11.1 x86_64, and mysql.
when i try to print or to execute pkturnkey
pkturnkey --doconf
ERROR: PyKota v1.27alpha7_unofficial
ERROR: pkturnkey failed
ERROR: Traceback (most recent call last):
ERROR: File "/usr/local/lib64/python2.6/site-packages/pykota/utils.py", line 162, in run
ERROR: application.deferredInit()
ERROR: File "/usr/local/lib64/python2.6/site-packages/pykota/tool.py", line 87, in deferredInit
ERROR: self.debug = self.config.getDebug()
ERROR: File "/usr/local/lib64/python2.6/site-packages/pykota/config.py", line 510, in getDebug
ERROR: return self.isTrue(self.getGlobalOption("debug", ignore=True))
ERROR: File "/usr/local/lib64/python2.6/site-packages/pykota/config.py", line 77, in getGlobalOption
ERROR: return self.config.get("global", option, raw=1).decode(self.config_charset)
ERROR: LookupError: unknown encoding: UTF-8
ERROR: storagebackend: mysqlstorage
i sow some related post and ask to try
u'foo'.encode('utf-8')
But that only gives me
-bash: syntax error near unexpected token `'utf-8''
Any help will be usefull.
|