Hi Ahmet,
Could you post a simple example that produces the error you mention?
This way we can test it and try to fix it.
Cheers,
Carlos
El 26/09/13 08:28, Ahmet Hungari escribió:
Hi all,
I have spyder 2.2.4 installed. When I use pymc module, which is a
Bayesian Inference tool for python, I get some errors with outputting.
The code should display a progress bar as
[*****************89%************** ] 8900 of 10000 complete
However, instead I get strange characters such as
[2K
and then some progress bar, then a pause in output and finally
progress bar appears at a new line... While in the internal console, I
get the following errors repeatedly
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/baseshell.py",
line 274, in write_output
self.shell.write(self.get_stdout(), flush=True)
File
"/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/shell.py",
line 572, in write
self.flush(error=error, prompt=prompt)
File
"/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/shell.py",
line 583, in flush
self.insert_text(text, at_end=True, error=error, prompt=prompt)
File
"/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/shell.py",
line 598, in insert_text
self.append_text_to_shell(text, error, prompt)
File
"/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/sourcecode/base.py",
line 1113, in append_text_to_shell
for code in [int(_c) for _c in match.group(1).split(';')]:
ValueError: invalid literal for int() with base 10: '2K \x1b[31'
I do not think issue is with my pymc code since I get same behavior
with pymc's example codes.
Thanks
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.