FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   Loading Strings doesn't work if sonia is present
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Loading Strings doesn't work if sonia is present  (Read 1017 times)
Hannes

WWW
Loading Strings doesn't work if sonia is present
« on: Jun 4th, 2004, 10:03pm »

Hi,
 
I am writing a little sketch where i want update some parameters using the loadStrings() - Function.
 
But if sonia is present you cannot load some strings from an URL. I found out that if i only put the (sonia)Code-Folder into the Sketch-Folder this exception comes out: (if i remove the code-folder it runs well - but i want to use this nice sonia-stuff
 
problem loading strings from http://www.xyz.de/myscript
 
java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:15
 
What is this?  
I think it must be possible to use sonia and also load some (server-generated) strings at runtime.  
 
Thanks for your help!
hannes
 

Everything is possible ... just try it!
bren

WWW Email
Re: Loading Strings doesn't work if sonia is prese
« Reply #1 on: Jun 5th, 2004, 11:54am »

I've run into the same problem, but didn't realise it was Sonia!
 
pitaru

WWW Email
Re: Loading Strings doesn't work if sonia is prese
« Reply #2 on: Jun 5th, 2004, 12:16pm »

on Jun 5th, 2004, 11:54am, bren wrote:
I've run into the same problem, but didn't realise it was Sonia!

 
hmm.. can you guys try the same project with the following variations
 
1 - an empty code folder (no files in it)
2 - a code folder with some class (other than sonia)
 
-amit
 
Hannes

WWW
Re: Loading Strings doesn't work if sonia is prese
« Reply #3 on: Jun 5th, 2004, 12:41pm »

Hi pitaru,
 
you are alright, without code folder it works well, but:
1. After i put an empty code folder into the project it fails.
2. ... naturally it fails also with some other jar's into ...
 
... strange thing
 
looking forward,
hannes
« Last Edit: Jun 5th, 2004, 12:45pm by Hannes »  

Everything is possible ... just try it!
bren

WWW Email
Re: Loading Strings doesn't work if sonia is prese
« Reply #4 on: Jun 7th, 2004, 6:13pm »

Sorry Amit for jumping to conclusions that it was just Sonia! Does anybody have solution to this or is it a bug?
 
bren

WWW Email
Re: Loading Strings doesn't work if sonia is prese
« Reply #5 on: Jun 8th, 2004, 12:12pm »

Does anybody know if this is solvable?
 
Hannes

WWW
Re: Loading Strings doesn't work if sonia is prese
« Reply #6 on: Jun 8th, 2004, 3:43pm »

Hi bren,
 
I hope there is a way to solve this strange problem because the is
a nice sketch 'in my brain' and it will only run with sonia AND loadStrings() ...
 
bye,
hannes
 

Everything is possible ... just try it!
bren

WWW Email
Re: Loading Strings doesn't work if sonia is prese
« Reply #7 on: Jun 8th, 2004, 5:13pm »

me too - it's quite critical that the loadStrings work for the rpoject I'm working on.
 
Pages: 1 

« Previous topic | Next topic »