-
Notifications
You must be signed in to change notification settings - Fork 38
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
JES 5.02 may not be working on MacOS Mojave (10.14)? #119
Comments
maybe helps with gatech-csl#119
Try the special version of JES created for High Sierra available here: https://guzdial.engin.umich.edu/media-computation/
Does it work on Mojave?
- Mark
…________________________________
From: Michael Stewart <notifications@github.com>
Sent: Monday, October 1, 2018 9:17:02 PM
To: gatech-csl/jes
Cc: Subscribed
Subject: [gatech-csl/jes] JES 5.02 may not be working on MacOS Mojave (10.14)? (#119)
It is maybe related to the following
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/tgm/Downloads/jes-5.020-macosx/JES.app/Contents/Resources/Java/dependencies/jython/Lib/runpy.py", line 94, in run_module
return _run_module_code(code, init_globals, run_name,
File "/Users/tgm/Downloads/jes-5.020-macosx/JES.app/Contents/Resources/Java/dependencies/jython/Lib/runpy.py", line 51, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/Users/tgm/Downloads/jes-5.020-macosx/JES.app/Contents/Resources/Java/dependencies/jython/Lib/runpy.py", line 32, in _run_code
exec code in run_globals
File "/Users/tgm/Downloads/jes-5.020-macosx/JES.app/Contents/Resources/Java/jes/python/jes/__main__.py", line 14, in <module>
setDockIcon()
File "/Users/tgm/Downloads/jes-5.020-macosx/JES.app/Contents/Resources/Java/jes/python/jes/platform/macosx/__init__.py", line 59, in setDockIcon
app.setDockIconImage(None)
at com.apple.eawt._AppDockIconHandler.setDockIconImage(_AppDockIconHandler.java:77)
at com.apple.eawt.Application.setDockIconImage(Application.java:346)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
I edited jes-5.020-macosx/JES.app/Contents/Resources/Java/jes/python/jes/__main__.py to remove the offending call and it seems to run well! (I am using jenv<http://www.jenv.be/> to manage multiple java versions and have set `$JES_JAVA_HOME="$HOME/.jenv/versions/1.8.0.181"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#119>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AELfpmS2yDARAE1KAyGC-00d6scXUXmXks5ugr6OgaJpZM4XDKCg>.
|
@mjguzdial for me this version does not work. Though perhaps some others can solve it by installing the default 1.6 jdk if they have it somewhere. in the |
Try getting Java 6 here: https://support.apple.com/kb/dl1572?locale=en_US
- Mark
…________________________________
From: Michael Stewart <notifications@github.com>
Sent: Tuesday, October 2, 2018 7:33:47 PM
To: gatech-csl/jes
Cc: Guzdial, Mark; Mention
Subject: Re: [gatech-csl/jes] JES 5.02 may not be working on MacOS Mojave (10.14)? (#119)
@mjguzdial<https://github.com/mjguzdial> for me this version does not work. Though perhaps some others can solve it by installing the default 1.6 jdk if they have it somewhere.
in the jes-launcher.sh this version insists java be located at JAVA="/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java", but I started using jenv (see above) and so for me it's more convenient to use the JES_JAVA_HOME env var to specify my java. I couldn't readily find jdk 1.6 for Mac, so I am using 1.8. I don't knwo if it's related to this difference, but I then get the error in #119 (comment)<#119 (comment)> and that solution I mentioned applies here again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#119 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AELfprd8zknukMAoyvz0zXNBe1vCYaaZks5ug_fbgaJpZM4XDKCg>.
|
This is may be off topic for this specific issue, but the special version for the MAC won't download. It either keeps restarting or stalls and times out. The retina aware download keeps getting flagged as malware. I have a few students use MAC and I'm not sure where to go from here if they can't get one of the workaround versions of JES to download. |
How about this version?
https://computinged.wordpress.com/2019/07/22/beta-release-of-new-jes-jython-environment-for-students-now-available-media-computation-for-python-ide/
…------
Mark Guzdial, mjguz@umich.edu
- Professor of Electrical Engineering and Computer Science, and
Engineering Education Research, College of Engineering and
Professor of Information, School of Information (courtesy)
- Blog: http://computinged.wordpress.com
On Wed, Aug 21, 2019 at 11:40 AM Logan Mayfield ***@***.***> wrote:
This is maybe off issue, but the special version for the MAC won't
download. It either keeps restarting or stalls and times out. The retina
aware download keeps getting flagged as malware. I have a few students use
MAC and I'm not sure where to go from here if they can't get one of the
workaround versions of JES to download.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#119?email_source=notifications&email_token=ABBN7JUAYVQFPVQFT4OFJZLQFVOU7A5CNFSM4FYMUCQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD42DKBA#issuecomment-523515140>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABBN7JWMCPFZH56HZ5LJGATQFVOU7ANCNFSM4FYMUCQA>
.
|
I found that link in another issue and that seems to do the trick. I'll report back if we have further problems. |
@jlmayfield please follow up. I'm using this for a course and a few students have run into the same problem. |
Please try the beta version here: https://computinged.wordpress.com/2019/07/22/beta-release-of-new-jes-jython-environment-for-students-now-available-media-computation-for-python-ide/ <https://computinged.wordpress.com/2019/07/22/beta-release-of-new-jes-jython-environment-for-students-now-available-media-computation-for-python-ide/>
I’m running Mojave and it’s working for me.
- Mark
… On Aug 26, 2019, at 5:40 PM, Dr Z ***@***.***> wrote:
@jlmayfield <https://github.com/jlmayfield> please follow up. I'm using this for a course and a few students have run into the same problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#119?email_source=notifications&email_token=ABBN7JSEZ3UTIBG7FNSWETDQGREUFA5CNFSM4FYMUCQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5FYTNA#issuecomment-525044148>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABBN7JX7W7VKLJBNR7IYETTQGREUFANCNFSM4FYMUCQA>.
|
@sazamore I directed MAC students to the Beta and it seems to be doing the trick. They mostly get hung up on the message about the program coming from an unidentified developer |
Yeah, I have to figure out if it's worth dealing with that. Thanks!
- Mark
------
Mark Guzdial, mjguz@umich.edu
- Professor of Electrical Engineering and Computer Science, and
Engineering Education Research, College of Engineering and
Professor of Information, School of Information (courtesy)
- Blog: http://computinged.wordpress.com
…On Mon, Aug 26, 2019 at 7:42 PM Logan Mayfield ***@***.***> wrote:
@sazamore <https://github.com/sazamore> I directed MAC students to the
Beta and it seems to be doing the trick. They mostly get hung up on the
message about the program coming from an unidentified developer
<https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#119?email_source=notifications&email_token=ABBN7JXGLEK7US3GNNSDCB3QGRS43A5CNFSM4FYMUCQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5GAFIA#issuecomment-525075104>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABBN7JV2OPLIWSDKSYEJPQDQGRS43ANCNFSM4FYMUCQA>
.
|
It is maybe related to the following
I edited
jes-5.020-macosx/JES.app/Contents/Resources/Java/jes/python/jes/__main__.py
to remove the offending call and it seems to run well! (I am using jenv to manage multiple java versions and have set$JES_JAVA_HOME="$HOME/.jenv/versions/1.8.0.181"
The text was updated successfully, but these errors were encountered: