Pages: [1]
  Print  
Author Topic: RapidMiner hanging on startup at "Loading GUI properties", MAC OSX Mountain Lion  (Read 2912 times)
Rudsack
Newbie
*
Posts: 3


« on: March 08, 2013, 02:22:57 AM »

Hello,

So i've tried starting up RapidMiner on my mac, running Mountain Lion OSX, I also have the latest version of Java 7.  The loading screen will appear, but then it will hang on "Loading GUI properties". This occurs when I double click on the rapidminer.jar file.    I've also attempted to load it by running the file RapidMinerGUI through terminal, still to no avail, it begins loading up, and hangs on "Loading GUI properties".

Just to be more specific I ran it on Terminal by typing these instructions in, as I was not able to run the script just by cling on the file "RapidMinerGUI":

1) close Terminal if open
2) open Terminal
3) type cd and hit "return" key
4) type pwd and hit "return" key
5) verify that Terminal prints /Users/michaelrudzki
6) type cd Desktop/rapidminer/scripts/ and hit "return" key
7) type chmod a+x RapidMinerGUI and hit "return" key
Cool double click on RapidMinerGUI from the Finder



Here is the Code in terminal that appears when loading it up:

Last login: Thu Mar  7 13:09:05 on ttys000
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$ /Users/michaelrudzki/Desktop/rapidminer/scripts/RapidMinerGUI ; exit;
RAPIDMINER_HOME is not set. Trying the directory '/Users/michaelrudzki/Desktop/rapidminer'...
grep: /proc/cpuinfo: No such file or directory
Number of cores: 2
Number of GC Threads: 1
No maximum Java memory defined, using 1024 Mb...
Starting RapidMiner from '/Users/michaelrudzki/Desktop/rapidminer', using classes from '/Users/michaelrudzki/Desktop/rapidminer/lib/rapidminer.jar'...
Java version: 16
Starting with CMS garbage collector
Starting in multi-core mode
Mar 7, 2013 1:10:26 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '/Users/michaelrudzki/Desktop/rapidminer'.
Mar 7, 2013 1:10:28 PM com.rapid_i.Launcher main
INFO: Launching RapidMiner, platform ANY
Mar 7, 2013 1:10:29 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:29 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Mar 7, 2013 1:10:29 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:29 PM com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
Mar 7, 2013 1:10:29 PM com.rapidminer.gui.safemode.SafeMode launchStarts
INFO: Failed to create lock file /Users/michaelrudzki/.RapidMiner5/safeMode.lock.
java.io.IOException: No such file or directory
   at java.io.UnixFileSystem.createFileExclusively(Native Method)
   at java.io.File.createNewFile(File.java:883)
   at com.rapidminer.gui.safemode.SafeMode.launchStarts(SafeMode.java:63)
   at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:543)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.rapid_i.Launcher.main(Launcher.java:346)
Mar 7, 2013 1:10:31 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:31 PM com.rapidminer.RapidMiner performFirstInitialization
INFO: Performing upgrade  to version 5.3.005
Mar 7, 2013 1:10:31 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:31 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:31 PM com.rapidminer.RapidMiner writeLastVersion
WARNING: Cannot write current version into property file.
java.io.FileNotFoundException: /Users/michaelrudzki/.RapidMiner5/lastversion (No such file or directory)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
   at java.io.FileWriter.<init>(FileWriter.java:73)
   at com.rapidminer.RapidMiner.writeLastVersion(RapidMiner.java:721)
   at com.rapidminer.RapidMiner.performInitialSettings(RapidMiner.java:712)
   at com.rapidminer.RapidMiner.splashMessage(RapidMiner.java:642)
   at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:242)
   at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:563)
   at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:544)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.rapid_i.Launcher.main(Launcher.java:346)
Mar 7, 2013 1:10:31 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '/Users/michaelrudzki/Desktop/rapidminer'.
Mar 7, 2013 1:10:32 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:32 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:35 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.OperatorService init
INFO: Number of registered operator classes: 443; number of registered operator descriptions: 444; number of replacements: 403
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver is not installed.
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:37 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:38 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:38 PM com.rapidminer.tools.cipher.KeyGeneratorTool createAndStoreKey
WARNING: Failed to delete old key file.
Mar 7, 2013 1:10:38 PM com.rapidminer.tools.cipher.KeyGeneratorTool createAndStoreKey
WARNING: Failed to generate key: java.io.FileNotFoundException: /Users/michaelrudzki/.RapidMiner5/cipher.key (No such file or directory)
java.io.FileNotFoundException: /Users/michaelrudzki/.RapidMiner5/cipher.key (No such file or directory)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
   at com.rapidminer.tools.cipher.KeyGeneratorTool.createAndStoreKey(KeyGeneratorTool.java:91)
   at com.rapidminer.RapidMiner.init(RapidMiner.java:575)
   at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:243)
   at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:563)
   at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:544)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.rapid_i.Launcher.main(Launcher.java:346)
Mar 7, 2013 1:10:38 PM com.rapidminer.RapidMiner init
WARNING: Cannot generate encryption key: Cannot store key: /Users/michaelrudzki/.RapidMiner5/cipher.key (No such file or directory)
com.rapidminer.tools.cipher.KeyGenerationException: Cannot store key: /Users/michaelrudzki/.RapidMiner5/cipher.key (No such file or directory)
   at com.rapidminer.tools.cipher.KeyGeneratorTool.createAndStoreKey(KeyGeneratorTool.java:102)
   at com.rapidminer.RapidMiner.init(RapidMiner.java:575)
   at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:243)
   at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:563)
   at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:544)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.rapid_i.Launcher.main(Launcher.java:346)
Mar 7, 2013 1:10:38 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:38 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:39 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:39 PM com.rapidminer.repository.RepositoryManager createRepositoryIfNoneIsDefined
WARNING: Failed to create default repository.
com.rapidminer.repository.RepositoryException: Cannot create repository folder at '/Users/michaelrudzki/.RapidMiner5/repositories/Local Repository'.
   at com.rapidminer.repository.local.SimpleFolder.mkdir(SimpleFolder.java:70)
   at com.rapidminer.repository.local.LocalRepository.<init>(LocalRepository.java:89)
   at com.rapidminer.repository.local.LocalRepository.<init>(LocalRepository.java:82)
   at com.rapidminer.repository.RepositoryManager.createRepositoryIfNoneIsDefined(RepositoryManager.java:267)
   at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:256)
   at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:563)
   at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:544)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.rapid_i.Launcher.main(Launcher.java:346)
Mar 7, 2013 1:10:44 PM com.rapidminer.gui.tools.ResourceAction addToActionMap
WARNING: Cannot add action save_building_block to input map: no accelerator defined.
Mar 7, 2013 1:10:44 PM com.rapidminer.gui.tools.ResourceAction addToActionMap
WARNING: Cannot add action save_building_block to input map: no accelerator defined.
Mar 7, 2013 1:10:44 PM com.rapidminer.gui.tools.ResourceAction addToActionMap
WARNING: Cannot add action toggle_all_breakpoints to input map: no accelerator defined.
Mar 7, 2013 1:10:44 PM com.rapidminer.gui.tools.ResourceAction addToActionMap
WARNING: Cannot add action toggle_all_breakpoints to input map: no accelerator defined.
Mar 7, 2013 1:10:45 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:45 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:45 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:45 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Mar 7, 2013 1:10:45 PM com.rapidminer.tools.FileSystemService getUserRapidMinerDir
WARNING: Unable to create user home rapidminer directory /Users/michaelrudzki/.RapidMiner5
Exception in thread "main" java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.rapid_i.Launcher.main(Launcher.java:346)
Caused by: java.lang.NullPointerException
   at com.rapidminer.gui.ApplicationPerspectives.loadAll(ApplicationPerspectives.java:257)
   at com.rapidminer.gui.RapidMinerGUI.loadGUIProperties(RapidMinerGUI.java:502)
   at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:269)
   at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:563)
   at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:544)
   ... 5 more

Anyone's help would be greatly appreciated, I need this software for a school/work project. 
Logged
wessel
Hero Member
*****
Posts: 559


« Reply #1 on: March 08, 2013, 02:31:48 AM »

You probably need to chmod a+x a lot more files.

For example, allow read/write here:
WARNING: Failed to create default repository.
com.rapidminer.repository.RepositoryException: Cannot create repository folder at '/Users/michaelrudzki/.RapidMiner5/repositories/Local Repository'.
Logged
Rudsack
Newbie
*
Posts: 3


« Reply #2 on: March 08, 2013, 02:38:25 AM »

Thanks for the quick reply,
 which files though, and is there anyway that I can do the  "chmod a+x" command for all the files?

Shouldn't the files have been ready to execute anyways? 



Logged
wessel
Hero Member
*****
Posts: 559


« Reply #3 on: March 08, 2013, 03:22:22 AM »

No, apparently your operating system does not allow read/write by default.

You can use chmod a+x * ?

Just look at the log and start with the important files:
/Users/michaelrudzki/.RapidMiner5
/Users/michaelrudzki/.RapidMiner5/repositories/Local Repository

etc.
Logged
Rudsack
Newbie
*
Posts: 3


« Reply #4 on: March 08, 2013, 03:38:23 AM »

I think i've tried that here, seems like it can't find the file. 

Last login: Thu Mar  7 17:55:06 on ttys000
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$ cd
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$ Users/michaelrudzki/.RapidMiner5
-bash: Users/michaelrudzki/.RapidMiner5: No such file or directory
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$ /Users/michaelrudzki/.RapidMiner5
-bash: /Users/michaelrudzki/.RapidMiner5: No such file or directory
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$ pwd
/Users/michaelrudzki
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$ cd Users/michaelrudzki/.RapidMiner5
-bash: cd: Users/michaelrudzki/.RapidMiner5: No such file or directory
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$ chmod a+x .RapidMiner5
chmod: .RapidMiner5: No such file or directory
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$ chmoda+x.RapidMiner5
-bash: chmoda+x.RapidMiner5: command not found
Michael-Rudzkis-MacBook-Pro:~ michaelrudzki$


If i'm doing it incorrectly, sorry, i'm not familiar with Terminal commands. 

It's weird though, my friends are able to run it on their macs with no problems. All they've been doing is opening the file RapidMiner.jar  , by double clicking it, which I guess suggests that their operating systems can read/write, but read/write what?


Logged
Marcin
Global Moderator
Full Member
*****
Posts: 165


« Reply #5 on: March 08, 2013, 10:14:06 AM »

It seems that your .RapidMiner5 directory was not even created which is strange, because you should be able to write to your own home directory. Try this commands.

Code:
mkdir ~/.RapidMiner5

If this doesn't work, please post the error message, otherwise try to start RapidMiner again. If this fails, post the error message (in code tags please) go back to the terminal, type the following and post the result as well.

Code:
cd && ls -la | grep .RapidMiner5
Logged
MacPhotoBiker
Jr. Member
**
Posts: 56


WWW
« Reply #6 on: May 17, 2013, 05:11:33 AM »

Did you ever solve it?

Two things are important: You need to have the proper writing rights, and you should be the owner of the entire rapidminer folder.

In a Terminal window, go to the directory that contains the rapidminer folder, i. e when you type ls, you should see the rapidminer folder (among other folders and files).

To modify ownership:   chown -R YourUserName:YourUserName rapidminer
To set write access"      chmod -R 755 rapidminer

I hope this helps
Logged

MacPhotoBiker
Just do your Core Business. We do the rest.
Pages: [1]
  Print  
 
Jump to: