Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Koubae opened this issue Dec 1, 2020 · 0 comments
Labels

Comments

@Koubae
Copy link

Koubae commented Dec 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants