Page 1 of 1

demos wont run

Posted: Fri Jun 12, 2009 11:11 pm
by 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)

Posted: Fri Jun 12, 2009 11:45 pm
by TedWalther
On what platform?

What is your operating system, what type of hardware are you using?

Posted: Sat Jun 13, 2009 12:17 am
by slenkar
windows xp tablet edition
core 2 duo processor 1gb of RAM
HP laptop

Posted: Sat Jun 13, 2009 3:42 pm
by cormullion
Could be worth checking the Java version too. I don't know what it should be, but I'm seeing:

Code: Select all

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.

Posted: Sun Jun 14, 2009 6:05 pm
by slenkar
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

Posted: Sun Jun 14, 2009 11:41 pm
by Kazimir Majorinc
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.

Posted: Mon Jun 15, 2009 12:33 pm
by Lutz
Try to start the demo programs from a command prompt like this:

Code: Select all

newlisp "c:\Program Files\newlisp\guiserver\button-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.

Posted: Mon Jun 15, 2009 4:56 pm
by slenkar
I tried this:

newlisp "c:\Program Files\newlisp\guiserver\button-demo.lsp"

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

Posted: Mon Jun 15, 2009 5:00 pm
by Lutz
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.

Posted: Mon Jun 15, 2009 5:02 pm
by Lutz
... and before I forget it, try this (also in a command shell):

Code: Select all

"c:\Program Files\newlisp\guiserver.jar" 47011 c:\myprogs\MyApplication.lsp
replace the right part with any of the demo apps. May be this method works also in the run dialog.

Posted: Tue Jun 16, 2009 4:44 pm
by slenkar
i tried running cmd and got the console window, then I tried

"c:\Program Files\newlisp\guiserver.jar" 47011 "c:\Program Files\newlisp\guiserver\button-demo.lsp"

but nothing happens

Posted: Tue Jun 16, 2009 4:47 pm
by slenkar
AARGH for some reason this worked:

in the console

newlisp "c:\Program Files\newlisp\guiserver\button-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.

Posted: Tue Jun 16, 2009 4:56 pm
by slenkar
ok it works when I do 2 different commands:

"c:\Program Files\newlisp\guiserver.jar" 47011 "c:\Program Files\newlisp\guiserver\button-demo.lsp"

and then:

newlisp "c:\Program Files\newlisp\guiserver\button-demo.lsp"

Posted: Tue Jun 16, 2009 11:23 pm
by Lutz
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?