Skip to content

Windows 10 -Cygwin Error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position " #85

Open
@Koubae

Description

@Koubae

Hi,

First of all, this is a really cool project!

I just started using rebound-cli, I'm on Windows and I've installed cygwin, however when I run a script i get the following error:


c:\users\fredb\appdata\local\programs\python\python38\lib\subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't suppor
ted in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
c:\users\fredb\appdata\local\programs\python\python38\lib\subprocess.py:849: RuntimeWarning: line buffering (buffering=1) isn't suppor
ted in binary mode, the default buffer size will be used
  self.stderr = io.open(errread, 'rb', bufsize)
Exception in thread Thread-2:
Traceback (most recent call last):
  File "c:\users\fredb\appdata\local\programs\python\python38\lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "c:\users\fredb\appdata\local\programs\python\python38\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "c:\users\fredb\appdata\local\programs\python\python38\lib\site-packages\rebound\rebound.py", line 147, in read
    func(line.decode("utf-8"))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 13: invalid continuation byte

The script is just a simple example:

x = 5
y = 10
x += y
print(x)

I really don't understand what I'm doing wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions