Neuros Forums
Home | Active Topics | Search | FAQ
 All Forums
 Neuros Support (formerly Mods)
 Software
 positron
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hiko
Just Posting

4 Posts

Posted - 09/25/2005 :  11:01:03 PM  Show Profile  Reply with Quote
Aloha,
I downloaded and installed positron but it won't run. I verified that I have Python installed. My Neuros mounts and is seen as /dev/sda1. I can open it in konqueror and look at the files on my Neuros. I am running Fedora Core 4 and my USB is 2.0. I looked at a couple other programs but they all seem to need a lot of other stuff installed. NeurosDBM doesn't work either. Not sure why. Any advice or information would be appreciated.
Mahalo,
Edward

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)

Eythian
Posting is for Closers

51 Posts

Posted - 09/26/2005 :  6:32:50 PM  Show Profile  Visit Eythian's Homepage  Reply with Quote
Maybe I can help with NDBM. Can you give me more information? How exactly does it not work?

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

Hiko
Just Posting

4 Posts

Posted - 09/26/2005 :  8:58:57 PM  Show Profile  Reply with Quote
I do a "mount dev/sdf1" and it mounts.
I do a cd to /media/IDW_IO_D001 and do an ls and can see the files one my Neuros.
I go to home where the .jar is at and type
"java -jar Neuros.1.49.jar" and get the following on the screen.
$ java -jar NeurosDBM.1.49.jar
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at net.sourceforge.neurosdbm.NeurosDBM.NeurosDBM() (Unknown Source)
at net.sourceforge.neurosdbm.NeurosDBM.main(java.lang.String[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: com.sun.java.swing.plaf.windows.WindowsLookAndFeel not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:NeurosDBM.1.49.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at net.sourceforge.neurosdbm.ThemeSelector.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
...4 more
And then it goes back to the command prompt.....
With positron I get the following with the Neuros mounted.
Type "$ positron config"
Traceback (most recent call last):
File "/usr/bin/positron", line 23, in ?
from positron.config import Config
ImportError: No module named positron.config
Thanks for helping.
Mahalo,
Edward

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

Eythian
Posting is for Closers

51 Posts

Posted - 09/26/2005 :  9:27:01 PM  Show Profile  Visit Eythian's Homepage  Reply with Quote
Hmm. I can't help with the positron problem, but I can with the NDBM one.

What java environment are you using (what does java -version say?). It looks like you are using GCJ, and I don't think that NDBM will work with that (though, can't say I've tested it). You'll need to get the Sun JRE, from http://java.sun.com and use that.

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

Hiko
Just Posting

4 Posts

Posted - 10/01/2005 :  9:45:29 PM  Show Profile  Reply with Quote
java -version reveals...
java version "1.4.2"
gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
rpm -iv of JRE reveals....
rpm -iv jre-1_5_0_05-linux-i586.rpm
Preparing packages for installation...
package jre-1.5.0_05-fcs is already installed

So not sure if I got the right thing or not....any words of advice?
Mahalo,
Edward

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

Eythian
Posting is for Closers

51 Posts

Posted - 10/02/2005 :  12:14:52 AM  Show Profile  Visit Eythian's Homepage  Reply with Quote
quote:
Originally posted by Hiko

java -version reveals...
java version "1.4.2"
gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)

....

package jre-1.5.0_05-fcs is already installed


The problem here is that you have two versions of Java. The sun one, and whatever the other one is. A 'java -version' should say (in your case) 1.5.0 or similar. Try removing the package that is giving you the 1.4.2. To find that out, do:
rpm -qf `which java`
It's probably kaffe or something like that. Hopefully once that is removed, the sun one will end up being the one that is used.

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page

Hiko
Just Posting

4 Posts

Posted - 10/07/2005 :  12:55:53 AM  Show Profile  Reply with Quote
Aloha,
I figures out that my problem was I had the "Java Development" Group installed. Once I removed them I went to the jre folder intio the bin directory and did java -jar and everything worked. Thanks for the pointers and the help. :)
Mahalo
Edward

Your quick response to this post: (0 total votes)
I agree (0%)
I disagree (0%)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Neuros Forums Go To Top Of Page
Snitz Forums 2000