dreampie icon indicating copy to clipboard operation
dreampie copied to clipboard

output assertion error when using IPython.parallel

Open noamraph opened this issue 12 years ago • 0 comments

What steps will reproduce the problem?

ipcluster start -n 4

from IPython.parallel import Client c = Client() lview = c.load_balanced_view() parallel_result = lview.map(time.sleep, [1]*100, block=False) parallel_result.wait_interactive()

What is the expected result? finish successfully

What happens instead? error is displayed


Diagnostic information:

DreamPie version: 1.2.1 git commit: d8786a2a6678cb6455877cc2be724dd0322e711e from 2013/05/28 platform: Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya architecture: ('64bit', 'ELF') python_version: 2.7.3 python_implementation: CPython executable: /usr/bin/python subprocess executable: /usr/bin/python subprocess description: Python 2.7.3 (default, Sep 26 2013, 20:03:06)

Variables: File "/home/noam/sand/gdreampie/dreampielib/gui/subprocess_handler.py", line 188, _manage_subp(self=<dreampi...x3537210>) {'r.decode': <built-in method decode of str object at 0x390bd80>, 'self._on_stderr_recv': <bound method DreamPie.on_stderr_recv of DreamPie(path="/home/noam/sand/gdreampie/dreampielib/data/dreampie.glade", root="window_main")>} File "/home/noam/sand/gdreampie/dreampielib/gui/init.py", line 837, on_stderr_recv(self=DreamPie(path..."window_main"), data=u'\x1b[2K\r') {'self.write_output': <bound method DreamPie.write_output of DreamPie(path="/home/noam/sand/gdreampie/dreampielib/data/dreampie.glade", root="window_main")>, 'data': u'\x1b[2K\r', 'STDERR': 'stderr'} File "/home/noam/sand/gdreampie/dreampielib/gui/init.py", line 451, write_output(self=DreamPie(path..."window_main"), data=u'\x1b[2K\r', tag_names='stderr', onnewline=False, addbreaks=True) {'addbreaks': True, 'it': [], 'self.output.write': <bound method Output.write of <dreampielib.gui.output.Output object at 0x351bf10>>, 'tag_names': 'stderr', 'onnewline': False, 'data': u'\x1b[2K\r'} File "/home/noam/sand/gdreampie/dreampielib/gui/output.py", line 126, write(self=<dreampi...x351bf10>, data=u'', tag_names=['stderr'], onnewline=False, addbreaks=True) {'output_start.begins_tag': <built-in method begins_tag of gtk.TextIter object at 0x7fa064a388f0>, 'output_tag': <gtk.TextTag object at 0x3535f00 (GtkTextTag at 0x364de80)>}

Traceback (most recent call last): File "/home/noam/sand/gdreampie/dreampielib/gui/subprocess_handler.py", line 188, in _manage_subp self._on_stderr_recv(r.decode('utf8', 'replace')) File "/home/noam/sand/gdreampie/dreampielib/gui/init.py", line 837, in on_stderr_recv self.write_output(data, STDERR) File "/home/noam/sand/gdreampie/dreampielib/gui/init.py", line 451, in write_output it = self.output.write(data, tag_names, onnewline, addbreaks) File "/home/noam/sand/gdreampie/dreampielib/gui/output.py", line 126, in write assert output_start.begins_tag(output_tag) AssertionError

noamraph avatar Oct 28 '13 15:10 noamraph