Author Topic: stdout tab barfs on weird unicode  (Read 10745 times)

pinkwerks

  • Sr. Member
  • ****
  • Posts: 26
    • Method Studios
stdout tab barfs on weird unicode
« on: May 04, 2009, 11:00:39 PM »
Hi, when I render with maxwell, it spits a weird character into the stdout stream (probably the copyright symbol).  Anyway, it completely kills any display of stdout data.  Can you make this a bit more elegant so it simple strips or inserts another character when it encounters something it can't deal with?

thanks.

Traceback (most recent call last):
  File "/home/qube/build/qubegui/rel-5.4/2008-11-12-1/qubegui-bld-5-4-2008-11-12-1-RHEL_Server-5.2-x86_64/qubegui/python/buildqube/out1.pyz/jobAgendaList", line 425, in OnItemSelected
  File "/home/qube/build/qubegui/rel-5.4/2008-11-12-1/qubegui-bld-5-4-2008-11-12-1-RHEL_Server-5.2-x86_64/qubegui/python/buildqube/out1.pyz/signals", line 41, in __call__
  File "/home/qube/build/qubegui/rel-5.4/2008-11-12-1/qubegui-bld-5-4-2008-11-12-1-RHEL_Server-5.2-x86_64/qubegui/python/buildqube/out1.pyz/signals", line 92, in __call__
  File "/home/qube/build/qubegui/rel-5.4/2008-11-12-1/qubegui-bld-5-4-2008-11-12-1-RHEL_Server-5.2-x86_64/qubegui/python/buildqube/out1.pyz/jobLayout", line 346, in jobTaskSelectionChanged
  File "/home/qube/build/qubegui/rel-5.4/2008-11-12-1/qubegui-bld-5-4-2008-11-12-1-RHEL_Server-5.2-x86_64/qubegui/python/buildqube/out1.pyz/jobLayout", line 427, in refreshDisplay
  File "/home/qube/build/qubegui/rel-5.4/2008-11-12-1/qubegui-bld-5-4-2008-11-12-1-RHEL_Server-5.2-x86_64/qubegui/python/buildqube/out1.pyz/wx.stc", line 2934, in SetText
UnicodeDecodeError: 'ascii' codec can't decode byte 0xae in position 423: ordinal not in range(128)

shinya

  • Administrator
  • *****
  • Posts: 232
Re: stdout tab barfs on weird unicode
« Reply #1 on: May 04, 2009, 11:19:21 PM »
Hi pinkwerks,

Thanks for the report.
Our GUI lead developer will be looking at that shortly, and may
ask you for further details.

-shinya.

Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
Re: stdout tab barfs on weird unicode
« Reply #2 on: May 08, 2009, 10:54:45 PM »
This looks to be the same as the identified and solved bug with displaying Japanese in the stdout/stderr panels.  It was fixed in QubeGUI 5.4.4.  Please download the latest QubeGUI 5.4.5 for a unicode fix in the stdout and stderr panels.

Full release notes can be found on the Forum at:
http://support.pipelinefx.com/smf/index.php?topic=629.0