@prof.leleu – did you resolve this problem?
This could be a caused on your work computer by a non-ASCII character in the sketch path (sketch name, account username, etc). Edit: this is the correct link:
opened 07:01PM - 11 Nov 17 UTC
closed 08:09PM - 01 Jul 18 UTC
Hi all, I'm not able to work with Processing 3.x and Python mode. Java mode work… s fine. But when I change to Python mode it doesn't matter what I write: when pushing run I always get this error:
processing.app.SketchException: UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 13-15: invalid data
at jycessing.mode.run.SketchRunner.convertPythonSketchError(SketchRunner.java:248)
at jycessing.mode.run.SketchRunner.lambda$2(SketchRunner.java:122)
at java.lang.Thread.run(Thread.java:748)
This happens just trying a simple print("hello")
I am running Processing in a Lenovo laptop, windows 10. No problem running processing in other PC.
Can anyone give me an idea on what is happening?
Many thanks in advance. Juan.
For another past example of a similar problem, see: Export/Compatibility - Processing 2.x and 3.x Forum
If that isn’t it, some information that would be helpful:
What exact operating system version numbers are you running on your home / work computers? (are they the same?)
What exact version of Processing PDE are you running on each?
When you look at Python Mode in the PDE Contributions manager, what version is it?
You could also file a bug report on Processing.py Bugs or issues – I think bugs is the preferred place, although I’m not sure:
https://github.com/jdf/processing.py/issues
1 Like