Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1090 closed defect (fixed)

"vr on": 'utf-8' codec can't decode byte: invalid continuation byte

Reported by: nicolas.floquet@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: VR Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

dear colleague, trying to install the last version (april) of chimeraX we had a problem when shifting to vr by using the "vr on" keyword : 





An error occurred in drawing the scene. Redrawing graphics is now stopped to avoid a continuous stream of error messages. To restart graphics use the command "graphics restart" after changing the settings that caused the error. 

Traceback (most recent call last): 
File "C:\Program Files\ChimeraX2\bin\lib\site-packages\chimerax\core\updateloop.py", line 61, in draw_new_frame 
view.draw(check_for_changes = False) 
File "C:\Program Files\ChimeraX2\bin\lib\site-packages\chimerax\core\graphics\view.py", line 181, in draw 
camera.set_render_target(vnum, r) 
File "C:\Program Files\ChimeraX2\bin\lib\site-packages\chimerax\vive\vr.py", line 435, in set_render_target 
self._check_for_compositor_error('left', result, render) 
File "C:\Program Files\ChimeraX2\bin\lib\site-packages\chimerax\vive\vr.py", line 442, in _check_for_compositor_error 
err_msg = render.check_for_opengl_errors() 
File "C:\Program Files\ChimeraX2\bin\lib\site-packages\chimerax\core\graphics\opengl.py", line 606, in check_for_opengl_errors 
lines.append('OpenGL error %s' % es.decode('utf-8')) 
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 2: invalid continuation byte 







We updated the drivers of the graphic cards (two GTX1080) but the problem persists. 





Please could you help us to solve this issue ? 





thank you in advance. 





Dr. Nicolas FLOQUET 


IBMM CNRS UMR5247 


Université de Montpellier, France 




Change History (3)

comment:1 by Eric Pettersen, 8 years ago

Component: UnassignedVR
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: Problem with ChimeraX"vr on": 'utf-8' codec can't decode byte: invalid continuation byte

comment:2 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed in tonight's builds.

New SteamVR versions generate an benign OpenGL error but reporting that error was failing because ChimeraX assumed it was encoded as utf-8 like all other OpenGL strings while in fact it is iso latin 1 (gluErrorString). We do not see this error, it is no doubt because you have a European locale that puts diacriticals on characters.

in reply to:  3 ; comment:3 by nicolas.floquet@…, 8 years ago

Thank you it works !
you really do a great job with this software. We adopted it here for the VR capabilities.
Is there any way to do collaborative VR with your soft ? is this in the todo list ?

Thank you !

nicolas

----- Mail original -----

Note: See TracTickets for help on using tickets.