[ET Trac] #2544: utf-8 decode failure when using create-run

Anonymous trac-noreply at einsteintoolkit.org
Tue Aug 3 10:03:36 CDT 2021


#2544: utf-8 decode failure when using create-run

 Reporter: 
   Status: new
Milestone: 
  Version: development version
     Type: bug
 Priority: major
Component: SimFactory

Lorenzo Ennoggi just encountered an issue with simfactory where it fails with an utf-8 decoding error due to an invalid utf-8 character in Cactus' output stream in simfactory/lib/simrestart.py line 1016:

```
out_txt = out_read.read()
```

then can probably be avoided by ensuring that we read and write "byte" objects (and use binary file IO) rather than "strings".

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2544/utf-8-decode-failure-when-using-create-run
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20210803/3038db57/attachment.html 


More information about the Trac mailing list