Closed Stepland closed 6 years ago
Possibly a Jython issue, although reading through that report really makes me think that there's a problem with your Java install. IIWY, I'd try un-/re-installing the JDK.
derp
Processing comes with its own JRE.
Does the Python Mode editor appear? When you try to run a Python Mode sketch, where does the error appear?
What country do you live in, or rather, to what localization is your computer set? For example, mine is US English. I'm asking so that I might recreate the error on my own Windows machine.
Also, does this happen for even an empty sketch?
I've pushed a new build, 3013, that attempts to address this bug. You may have to uninstall and reinstall Python Mode to get the update, since the mode manager is typically days behind. Try it out and let me know how it goes for you.
Wow thanks for the fast response you two !
What I did so far is I removed / reinstalled both java (because why not) and processing, then removed python mode and reinstalled it, (the mode manager actually shows "build 3013" so I believe there is no problem on this side).
Then I tried running an empty sketch and the error message still appeared here : (yes I have some fancy windows skin don't judge me)
To make things a bit clearer I live in France and hence have my localisation set on French (France) (You can also tell by the fact that half of the menu items on the screenshot are translated)
Thanks for helping :)
I have the same problem, i'm from Mexico. (I have processing 3.1.1) Java mode run perfectly but in Python mode any code run, i tried to load some examples and they don't run, just appear a message :
console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0.
i updated Java, i have installed again processing (like 3 times) and the same bug appear.
Problem still consists. I am running processing 3.2.1 (64-bit) on a Windows10 Machine.
I'm sorry about this frustrating bug. I hope to have time to look into it again soon.
Hi there, this bug has something to do with the User folder name on Windows (Windows 10 Pro for me). In my case the User folder name includes the character 'ñ'. To test it, I created a new User account with a simple name, and the Python Mode works correctly in that account. Cheers!
Message with 'ñ' character: console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0.
I am running processing 302 with g code executed ,the following error message received. Error message unsupported statement G4 P150 ( wait 200ms). I am new bie in software ,pls help
Problems still exist.
Copy-paste those message out, it is:
console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp65001.
Could you please share your Windows "Region & Language" settings?
Country: Switzerland Language: English (UK)
On Thu, 31 May 2018 at 01:55, Jonathan Feinberg notifications@github.com wrote:
Could you please share your Windows "Region & Language" settings?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jdf/Processing.py-Bugs/issues/158#issuecomment-393356241, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1TVj4zK-8ZFbNC9srhWA_PMJLR1p15ks5t3zGEgaJpZM4IItAj .
-- MA Zhao
"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"
Any updates? @jdf
I believe this was fixed in version 3038.
@jdf No.
Platform?
Windows 10.
On Tue, 31 Jul 2018 at 17:09, Jonathan Feinberg notifications@github.com wrote:
Platform?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jdf/Processing.py-Bugs/issues/158#issuecomment-409255221, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1TVjomeXTXkPhGoWltTLooyyZE_mFFks5uMHNBgaJpZM4IItAj .
-- MA Zhao
"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"
I've already started a new issue actually. Stack Overflow says a VM argument should be passed to the JVM, which I don't know where since Processing is using its own JRE.
On Tue, 31 Jul 2018 at 17:22, X xliotx@gmail.com wrote:
Windows 10.
On Tue, 31 Jul 2018 at 17:09, Jonathan Feinberg notifications@github.com wrote:
Platform?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jdf/Processing.py-Bugs/issues/158#issuecomment-409255221, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1TVjomeXTXkPhGoWltTLooyyZE_mFFks5uMHNBgaJpZM4IItAj .
-- MA Zhao
"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"
-- MA Zhao
"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"
Yes, on Windows I am indeed passing that -D setting when starting the sketch runner.
any solutions?
None that I can find.
How does one pass the -Dpython.console.encoding=UTF-8 setting in Processing?
I am using processing 3.4 in windows10 and getting the console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0. error everyone else seems to be getting.
I am experiencing the same issue. This happens with any sketch, including empty sketches and example sketches.
I can run Java Mode sketches no problem.
I am running Windows 7 Enterprise 64-bit SP1, Processing 3.4, Java version 1.8.0_181-b13 in "C:\processing-3.4\java\bin", Python Mode 3052 (installed using the 'Add Mode...' tool within Processing).
Could you please share your Windows "Region & Language" settings?
Country or region: United Kingdom Windows display language: English (United Kingdom) Preferred language: English (United Kingdom)
I'm late to the party but I had the same issue with no solution in sight. I verified and I had more than one version of Processing installed. I also didn't have the latest one installed.
I deleted all the older Processing versions and reinstalled, then added Python mode. It works, now. Good luck.
I tried running scripts in Python mode in both 3.0.1 and 3.0.2 and everytime, nothing actually runs and an error line (maybe having something to do with encoding) pops up :
console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0.
I might just miss something completely obvious
halp plz