Hello galaxy community,

I developed a tool for galaxy which runs fine (tool does everything what it's 
supposed to do) but there's always this error that occurs when the tool has 
finished it's job. It's seems to be a bug related to python and common for 
certain python versions (I use python 2.6 for my local instance of Galaxy).

This is the error that Galaxy gives when the tool has finished his job:

"ProgrammingError: (ProgrammingError) You must not use 8-bit bytestrings unless 
you use a text_factory that can interpret 8-bit bytestrings (like text_factory 
= str). It is highly recommended that you instead just switch your application 
to Unicode strings."

One of the inputs of my tool is text (type="text"), a URL(http://...) that 
needs to be given by the user. This URL is then given to my Perl script and the 
script runs fine(does everything what it's supposed to do). It seems that 
python complains about this specific piece of input, python says that the input 
is a 8-bit bytestring and only unicode (UTF-8) strings should be used in the 
text input...

How can I get around this issue, so that python stops giving me this error?

thanks in advance
kind regards
Bataillie M.

Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:


Reply via email to