Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38567

  • dersumarin
  • dersumarin's Avatar
I just compiled the v8p2r0 version, it worked, however when I run a simple simulation I get the error message :
"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 15: invalid start byte". Can anyone help me? I had no problem with the v7p2 version.
Thanks in advance for your help.
Attachments:
The administrator has disabled public write access.

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38570

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
This means there is a wrong character somewhere.
It often appear in steering file if you have an accent in a comment line (Even it's in a comment line, python script try to read the line and crash...)

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: dersumarin

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38575

  • dersumarin
  • dersumarin's Avatar
Thank you for your answer, I've checked but I don't see characters like that. Moreover, I've tried several steering files and I get the same error every time. I also tried to modify the decoder of my script in the python scripts like Jose_filho said but it doesn't work either...
The administrator has disabled public write access.

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38576

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Did you tried a sequential run (without mpi!)
Christophe
The administrator has disabled public write access.

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38581

  • dersumarin
  • dersumarin's Avatar
I am new on telemac(just a few weeks), can you explain how to make a sequential run without mpi? I searched the forum and could not find anything.

Thanks in advance!
The administrator has disabled public write access.

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38582

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
It seems you had launch a compilation and a run with parallel configuration as the error shows mpirun in the text
Did you compile telemac with another configuration?
Christophe
The administrator has disabled public write access.

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38583

  • dersumarin
  • dersumarin's Avatar
Yes I tried to compile with other config files but it didn't work, here is the config file I used to compile :
Attachments:
The administrator has disabled public write access.

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38595

  • dersumarin
  • dersumarin's Avatar
Hi, I still haven't managed to run a simulation with v8p2, I really don't understand where the problem comes from, if anyone can help me, I still get the same error: "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 15: invalid start byte"

Thanks!
The administrator has disabled public write access.

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38599

  • PMV
  • PMV's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 149
  • Thank you received: 42
Try with de sequential config, attached what works for my system, maybe some tweaking is needed to make it compile (see installation section of the forum).

Hope that helps,
Patrick
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: dersumarin

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 3 years 5 months ago #38572

  • Jose_filho
  • Jose_filho's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 42
  • Thank you received: 2
Try to modify the decoder of your script.A workaround that worked for me was to change from 'utf-8' to 'latin32' or 'unicode_escape' in the telemac original script.
...Or change the name or units of your tracers. Probably is something related to that.
The administrator has disabled public write access.
The following user(s) said Thank You: dersumarin
  • Page:
  • 1
  • 2
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.