machawk1 / wail

:whale2: Web Archiving Integration Layer: One-Click User Instigated Preservation
https://matkelly.com/wail
MIT License
353 stars 35 forks source link

Java SE 6 is a requirement on OS X #61

Closed machawk1 closed 9 years ago

machawk1 commented 10 years ago

An alert appears when the app is first installed saying "To open 'java', you need a Java SE runtime. Would you like to install one now.

[Not Now] [Install]

Clicking Install instructs the system's Software Update to install Java. WAIL locks up after this has been installed.

This should be more automated and handled/packaged by WAIL.

machawk1 commented 10 years ago

Force quitting and re-launching WAIL then again clicking "Archive Now" appears to fire up the Heritrix process. A blank icon appears in the Dock.

machawk1 commented 10 years ago

On osagnostic branch, even if alert is shown, an exception occurs only a second or so after it is displayed:

ERROR: JVM terminated without running Heritrix. This could be due to invalid JAVA_OPTS or JMX_PORT, etc. See heritrix_out.log for more details. Here are its last three lines:

max user processes (-u) 709 virtual memory (kbytes, -v) unlimited No Java runtime present, requesting install. /bin/sh: /Applications/WAIL/bundledApps/phantomjs/phantomjs-osx: Permission denied Traceback (most recent call last): File "WAIL.py", line 205, in archiveNow mainAppWindow.advConfig.startTomcat(None) File "WAIL.py", line 637, in startTomcat ret = subprocess.Popen(cmd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 13] Permission denied