Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [opensuse] does SuSE provide a Python debugger
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Fri, 12 Jun 2009 17:42:02 +0200
  • Message-id: <4A32774A.9070008@xxxxxxx>
Josef Reidinger wrote:
Maura Monville wrote:
I was given a python script that should *in theory* extract some miRNA
and target genes from the miRecords database ... I launched it but it does
not work. It prints out a lot of errors that I cannot
Does SuSE provide a debugger for python scripts ?

I never learnt Python and have to start using it ... sigh ...
The output of the attached Python script should be CSV file.
The way to run it is from command line (according to what its author stated):

# python

In the following I have pasted the error messages I am getting. I cannot
figure out what causes them.

Thank you very much in advance to anyone who can help me out of my misery.

# python
Traceback (most recent call last):
File "", line 284, in <module>
File "/System/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/", line 99, in feed
line 138, in goahead
k = self.parse_endtag(i)
line 315, in parse_endtag
line 369, in finish_endtag
self.handle_endtag(tag, method)
line 380, in handle_endtag
File "", line 126, in end_td
data = u"".join(self.temp)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 0:
ordinal not in range(128)

I think that your problem is related to unicode character, where
expected ascii (my decode of error).
Python debugger I cannot find officially packed, but if you search keyword pydb you find that someone
already has it in home (on your own danger).

Of course you can also use integrated python debugger how is described
at this page -
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >