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.
IndexProgramming Questions & HelpOther Libraries › Candy and Linux
Page Index Toggle Pages: 1
Candy and Linux (Read 803 times)
Candy and Linux
Nov 13th, 2006, 11:53pm
 
Hi,
I'm trying to use Candy with my linux laptop
Fedora Core 6 and kernel : 2.6.18

I use a svg file which I created using adobe illustrator (it's not a big file, very simple vector drawing with no fills)and have installed both proxml and candy (put them in libraries folder simply)

but i get this error:
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

at java.util.Vector.get(Unknown Source)

at proxml.XMLElement.getChild(XMLElement.java:493)

at candy.SVG.<init>(SVG.java:72)

at Temporary_2417_6392.setup(Temporary_2417_6392.java:9)

at processing.core.PApplet.handleDisplay(PApplet.java:1240)

at processing.core.PGraphics.requestDisplay(PGraphics.java:564)

at processing.core.PApplet.run(PApplet.java:1409)

at java.lang.Thread.run(Unknown Source)


I'd appreciate if anybody has an idea ,suggestion etc...
ps: I'm a newbie to linux by the way...but try my best if it's smthing to do with linux

;p

Re: Candy and Linux
Reply #1 - Nov 14th, 2006, 7:17pm
 
It's not a problem with Linux, it's the problem with the current proXML library and Candy not working nicely together. The fix is in development.
Page Index Toggle Pages: 1