demos wont run

Started by slenkar, June 12, 2009, 04:11:03 PM

Previous topic - Next topic

slenkar

Whenever I try to run a demo in the guiserver folder, I have to press ctrl alt delete to shut down the IDE after pressing run twice (first time doesnt do anything) then the program appears after I shut down the IDE (sometimes)

TedWalther

#1
On what platform?



What is your operating system, what type of hardware are you using?
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.

slenkar

#2
windows xp tablet edition

core 2 duo processor 1gb of RAM

HP laptop

cormullion

#3
Could be worth checking the Java version too. I don't know what it should be, but I'm seeing:


Java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)


on MacOS X.

slenkar

#4
i have java 1.6



when i try to start a demo like all fonts demo it says:

 ("C" ".")

(lambda (gs:id gs:action) (net-send gs:out (string "frame-resized " gs:id " " gs:action

   "n")))



If I press the green button again then the buttons grey out



then i have to end the IDE with the task manager

Kazimir Majorinc

#5
I remember I had same problem and solved it with some reinstalations, using default settings. Yes, it was the problem, but in Windows it has to be done from time to time this way or another. I think Java was the problem, but usually it is easier to reinstal everything than trying to fix error.



You can try clean install in Sun's Virtual Box, so you'll be sure that problem is not in hardware incompatibility.
http://kazimirmajorinc.com/\">WWW site; http://kazimirmajorinc.blogspot.com\">blog.

Lutz

#6
Try to start the demo programs from a command prompt like this:


newlisp "c:Program Filesnewlispguiserverbutton-demo.lsp"

The fact that the IDE is running tells us that Java 1.6 is OK. The IDE editor is written in newLISP and works together with the java guiserver.



I believe you are running some special modified Windows version for the tablet.

slenkar

#7
I tried this:



newlisp "c:Program Filesnewlispguiserverbutton-demo.lsp"



on the windows 'Run' dialog and then a blank console window opened. Nothing happened after that.

Lutz

#8
Try to do this in a command window, not in the run-command. May be you don't have a command shell, and that could be the problem.

Lutz

#9
... and before I forget it, try this (also in a command shell):




"c:Program Filesnewlispguiserver.jar" 47011 c:myprogsMyApplication.lsp

replace the right part with any of the demo apps. May be this method works also in the run dialog.

slenkar

#10
i tried running cmd and got the console window, then I tried



"c:Program Filesnewlispguiserver.jar" 47011 "c:Program Filesnewlispguiserverbutton-demo.lsp"



but nothing happens

slenkar

#11
AARGH for some reason this worked:



in the console



newlisp "c:Program Filesnewlispguiserverbutton-demo.lsp"



I tried it yesterday and it didnt work, ? ! ? !? ! ? !? ! ? ! ?





I just tried it again in the console

and it DIDNT WORK,



now im totally confused.

slenkar

#12
ok it works when I do 2 different commands:



"c:Program Filesnewlispguiserver.jar" 47011 "c:Program Filesnewlispguiserverbutton-demo.lsp"



and then:



newlisp "c:Program Filesnewlispguiserverbutton-demo.lsp"

Lutz

#13
The demo should come up after just one of these statements. Then the Windows task manager should show exactly two new processes, a Java Process and a newLISP process.



The first method loads guiserver.jar (a Java app) first, which then loads the newLISP program demo.



The second method load newLISP and the program first, which then starts guiserver.jar. Looks like each does half of the work on you machine.



I wonder what it is, that you are seeing after each of these steps in the console window and the task manager? Last not least it would be interesting to see the environment setting on your machine before and after executing the statements.



Can you give more detailed info about what is happening, with screen captures etc?