LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-18-2009, 04:06 PM   #1
sapoku
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
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.
 
Old 05-19-2009, 03:31 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Make sure you set it up correctly then I would ask here;
http://www.pykota.com/mailinglists
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python installation and module related Question. Plz help. nm_ashy Linux - Software 3 11-19-2008 04:11 PM
GTK+, Python and related installed by hand Deleauvive Linux - Software 5 06-25-2008 06:36 PM
im getting UTF-8 to STRING: Could not open converter from 'UTF-8' to 'ISO-8859-1' jabka Linux - Newbie 2 11-24-2006 05:44 AM
Pykota, Python Imaging Library install problem leiw Linux - General 0 07-30-2006 01:56 PM
[Enter] in text documents diffrent on Windows and Linux? UTF-8/UTF-16 problem or? brynjarh Linux - General 1 11-24-2004 05:20 AM


All times are GMT -5. The time now is 01:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration