We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › Warnings when running Processing
Page Index Toggle Pages: 1
Warnings when running Processing (Read 707 times)
Warnings when running Processing
Nov 18th, 2005, 11:52am
 
Hi,

I'm guessing this is not a bug and it must be a computer specific error, but I didn't find a better category in the forums.  Maybe it would be nice to have a Troubleshooting category or add such a keyword to the category you guys think this belongs.

I uncompressed processing in my computer running Linux and when I run it I get the following message.  I tried removing it, and removing the .processing folder created in my home.  And nothing, same problem.

I hope somebody can help me out, because when I run the Processing IDE, this appears in the command line:

Code:

Warning: Color name "#efefef " is not defined
Warning: Cannot parse default background color specification.
Warning: Color name "#000000 " is not defined
Warning: Color name "#ffffff " is not defined


Then I can still use Processing's IDE but each time I run a sketch I get this output:

Code:

Warning: Color name "#efefef " is not defined
Warning: Cannot parse default background color specification.


and no errors appear from the applet, so it's quite hard to debug the sketches I'm working on.

I had been running for a while with this version and nothing happened, the other day I removed the processing-0093 directory that was next to the processing-0095, and I tried making a symbolic link to processing in my /usr/local/bin and I started getting these problems.

I tried reinstalling processing-0093 and removing the symbolic links, but nothing yet.

Any help?
thanks
Re: Warnings when running Processing
Reply #1 - Nov 18th, 2005, 4:55pm
 
are you using the java vm that was included with the download?

if not, you might want to make sure it's not java 1.5.
Re: Warnings when running Processing
Reply #2 - Nov 18th, 2005, 7:11pm
 
Ok I think I have the right version of Java VM running.  Although I'm not quite sure.  This is what I did to see.  Create the applet:

Code:

void setup(){
size(200,200);
Properties p = System.getProperties();
for (Enumeration e = p.propertyNames() ; e.hasMoreElements() ;) {
String ky = (String)e.nextElement();
System.out.println(ky+": "+p.getProperty(ky));
}
}


and this was the spit out (I'm sure much of it is unnecessary, but I don't know what, so I put it all):

Code:

java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path: /home/rmarxer/packages/processing-0095/java/lib/i386
java.vm.version: 1.4.2_08-b03
java.vm.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
path.separator: :
java.vm.name: Java HotSpot(TM) Client VM
file.encoding.pkg: sun.io
user.country: US
sun.os.patch.level: unknown
java.vm.specification.name: Java Virtual Machine Specification
user.dir: /home/rmarxer/packages/processing-0095
java.runtime.version: 1.4.2_08-b03
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.endorsed.dirs: /home/rmarxer/packages/processing-0095/java/lib/endorsed
os.arch: i386
java.io.tmpdir: /tmp
line.separator:

java.vm.specification.vendor: Sun Microsystems Inc.
os.name: Linux
sun.java2d.fontpath:
java.library.path: /home/rmarxer/packages/processing-0095/java/lib/i386/client:/home/rmarxer/packages/processing-0095/java/lib/i386:/home/rmarxer/packages/processing-0095/java/../lib/i386:/usr/lib
java.specification.name: Java Platform API Specification
java.class.version: 48.0
java.util.prefs.PreferencesFactory: java.util.prefs.FileSystemPreferencesFactory
os.version: 2.6.12-9-386
user.home: /home/rmarxer
user.timezone: Europe/Amsterdam
java.awt.printerjob: sun.print.PSPrinterJob
file.encoding: ANSI_X3.4-1968
java.specification.version: 1.4
user.name: rmarxer
java.class.path: java/lib/rt.jar:lib:lib/build:lib/pde.jar:lib/core.jar:lib/antlr.jar:lib/oro.jar:lib/registry.jar:lib/mrj.jar
java.vm.specification.version: 1.0
sun.arch.data.model: 32
java.home: /home/rmarxer/packages/processing-0095/java
java.specification.vendor: Sun Microsystems Inc.
user.language: en
java.vm.info: mixed mode
java.version: 1.4.2_08
java.ext.dirs: /home/rmarxer/packages/processing-0095/java/lib/ext
sun.boot.class.path: /home/rmarxer/packages/processing-0095/java/lib/rt.jar:/home/rmarxer/packages/processing-0095/java/lib/i18n.jar:/home/rmarxer/packages/processing-0095/java/lib/sunrsasign.jar:/home/rmarxer/packages/processing-0095/java/lib/jsse.jar:/home/rmarxer/packages/processing-0095/java/lib/jce.jar:/home/rmarxer/packages/processing-0095/java/lib/charsets.jar:/home/rmarxer/packages/processing-0095/java/classes
java.vendor: Sun Microsystems Inc.
file.separator: /
java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian: little
sun.io.unicode.encoding: UnicodeLittle
sun.cpu.isalist:


Can this help solve the problem?  I'm quite stuck here.

thanks
ricard
Re: Warnings when running Processing
Reply #3 - Nov 18th, 2005, 10:51pm
 
i don't think those are processing errors, so i think it's something broken between the java install and your windowing system.

maybe try using a different version of java (does your system come with one? if so, try renaming the 'java' folder and replacing it with a symlink to the jre location on your system), and that might help. or if you've done something weird with your graphics drivers (update them?) then that may have broken things.
Re: Warnings when running Processing
Reply #4 - Nov 21st, 2005, 3:48pm
 
Thanks

got it working using one of my systems jre.

Although it's version 1.5, which you guys don't support "yet?".

It might be that my windowing system became java 1.4 incompatible, although I'm guessing that it has been me messing around with unstable installations. jeje

Well I'll learn from that.

thanks it helped a lot!
Re: Warnings when running Processing
Reply #5 - Nov 22nd, 2005, 4:44pm
 
k, closing thread.
Page Index Toggle Pages: 1