question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

utf-8 codec error

See original GitHub issue

Am encountering the following error mid-experiment.

File "/home/ubuntu/miniconda3/envs/cuda/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/home/ubuntu/miniconda3/envs/cuda/lib/python3.6/threading.py", line 1182, in run
    self.function(*self.args, **self.kwargs)
  File "/home/ubuntu/miniconda3/envs/cuda/lib/python3.6/site-packages/sacred/run.py", line 266, in _start_heartbeat
    self._emit_heartbeat()
  File "/home/ubuntu/miniconda3/envs/cuda/lib/python3.6/site-packages/sacred/run.py", line 333, in _emit_heartbeat
    self._get_captured_output()
  File "/home/ubuntu/miniconda3/envs/cuda/lib/python3.6/site-packages/sacred/run.py", line 257, in _get_captured_output
    text = text.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 0: invalid start byte

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
omikronsccommented, Dec 8, 2017

Guys, why don’t you just add “ignore” to text.decode? It’s only a output log.

1reaction
fcharrascommented, Sep 26, 2017

@Qwlouse maybe it should be re opened ? (the first issue was caused by byte 0x96, now it’s 0x88)

Read more comments on GitHub >

github_iconTop Results From Across the Web

UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c
I have a socket server that is supposed to receive UTF-8 valid characters from clients. The problem is ...
Read more >
UnicodeDecodeError utf-8 codec can t decode byte in position ...
While I importing the file it shows UnicodeDecodeError: "utf-8" codec can"t decode byte 0xa0 in position ... as pd a ...
Read more >
'utf8' codec can't decode byte 0xa5 in position 0: invalid start ...
Often, while reading the input files, you might encounter an UnicodeDecodeError. · Thus, the error means that the byte 0xa05 at position 0...
Read more >
Python3 Fix→ UnicodeDecodeError: 'utf-8' codec can't decode ...
I am in the middle of importing some D&B Business data into my database and I was getting this error while trying to...
Read more >
'utf-8' codec can't decode byte 0x81 in position 0: invalid start ...
The Python UnicodeDecodeError: 'utf-8' codec can't decode byte in position: invalid continuation byte occurs when we specify an incorrect encoding when decoding ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found