Hi Clinton, On Tue, 9 Jun 2020 14:08:12 -0700 Clinton Winant <clinton.win...@gmail.com> wrote: > Package: code-saturne > Version: 6.0 > > Severity: grave - makes the package unusable or mostly so: output in > built-in editor causes SaturneGUI to crash > > When I try to examine output files with the code-saturne built-in > file editor, the program terminates with error on the console of the > following kind: > > for EnSight output > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/code_saturne/Base/QFileEditor.py", > line 910, in _explorerDoubleClick > self._viewSelectedFile() > File "/usr/lib/python3/dist-packages/code_saturne/Base/QFileEditor.py", > line 745, in _viewSelectedFile > self.openFile(fn=fn) > File "/usr/lib/python3/dist-packages/code_saturne/Base/QFileEditor.py", > line 991, in openFile > text = file.read() > File "/usr/lib/python3.8/codecs.py", line 322, in decode > (result, consumed) = self._buffer_decode(data, self.errors, final) > UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: > invalid start byte > ./SaturneGUI: line 7: 5541 Aborted \code_saturne gui $@ > > for MED output > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/code_saturne/Base/QFileEditor.py", > line 745, in _viewSelectedFile > self.openFile(fn=fn) > File "/usr/lib/python3/dist-packages/code_saturne/Base/QFileEditor.py", > line 991, in openFile > text = file.read() > File "/usr/lib/python3.8/codecs.py", line 322, in decode > (result, consumed) = self._buffer_decode(data, self.errors, final) > UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: > invalid start byte > ./SaturneGUI: line 7: 5843 Aborted \code_saturne gui $@ > > CGNS formatted output behaves in the same way. Histogram files (.txt) > are displayed correctly ( but the output is of little value. > > I am using Debian GNU/Linux testing (Bullseye), kernel Debian 5.6.14-1 > (2020-05-23) > ldd --version > ldd (Debian GLIBC 2.30-8) 2.30
I've reported this issue to upstream and they think this might be related to your dataset. Would you mind sharing an example producing these errors? Thanks in advance, _g.
signature.asc
Description: OpenPGP digital signature