Error message when starting newLISP-tk

Started by femol, March 05, 2006, 07:56:43 PM

Previous topic - Next topic

femol

#15
@newdep: The same happened with ZoneAlarm, it asked me to block or to allow, I choose allow, both for server and for client, but didn't work...



I can't understand why it only happens with me, must be something very particular with my setup...Only I can't figure out what it is.



@Lutz: I tried running newLISP console with the -p option and the same port (64001) and it connected just fine by telnet, just like you said it would.



Only when I run newLISP-tk it can't connect to neither one of the ports (64001 or 64002).



I want it to work so bad that I got the source of newLISP-tk and looked through it, but couldn't see the problem...I thought of trying to debug it, but don't know how I would go about it, I downloaded ActiveTCL distribution from ActiveState and a TCL debugger called RamDebugger to try and see where the error happens, but I don't know how to set a breakpoint since the script is inside newLISP-tk.exe.Is there some way to unpack it? If I rebuild it from source is there a way to not pack the script inside newLISP-tk.exe? And how would I go about rebuilding it? I have cygwin installed if that helps.



Sorry for the noise, but I really, really want newLISP to work.



Thanks to all that helped me so far.

Ryon

#16
Hmmmm. Does /freewrap/newlisp-tk.tcl: mean anything special to your system? I don't find the freewrap directory used in http://www.newlisp.org/downloads/newlisp-8800-win-tk-135.exe">//http://www.newlisp.org/downloads/newlisp-8800-win-tk-135.exe. This is the installer you are using, right?
\"Give me a Kaypro 64 and a dial tone, and I can do anything!\"

femol

#17
No, it doesn't mean anything special.I guess it is a directory created by the packing application used, freewrap (http://freewrap.sourceforge.net">http://freewrap.sourceforge.net), which turns a tcl script into a packed exe application.

nigelbrown

#18
I see this link may be about a somewhat similar problem (judging by similar error messages)

http://aspn.activestate.com/ASPN/Mail/Message/perl-tk/2945513">http://aspn.activestate.com/ASPN/Mail/M ... tk/2945513">http://aspn.activestate.com/ASPN/Mail/Message/perl-tk/2945513



I see scrolling is mentioned in errors.

Is something causing scrolling of newlisp-tk window while it's trying to set up?

Perhaps a character set or default font size issue. Less likely but maybe worth considering is 32/64 bit issue (but I run newlisp fine with standard winXP on 64 bit capable pentium) - is it a 64 bit winXP?. What CPU and char set are you running with? What is Windows locale? Screen resolution/color depth setting?



Nigel

Ryon

#19
Quotehttp://www.newlisp.org/downloads/newlisp-8800-win-tk-135.exe">http://www.newlisp.org/downloads/newlis ... tk-135.exe">http://www.newlisp.org/downloads/newlisp-8800-win-tk-135.exe. This is the installer you are using, right?
\"Give me a Kaypro 64 and a dial tone, and I can do anything!\"

Lutz

#20
Welcome to newLISP Femol,



You can run the file newlisp-tk.tcl by itself, it will only look for newlisp.exe in the installed path and of course you would need a Tcl/Tk installation. newlisp-tk.exe is just newlisp-tk.tcl and tcl/tk packaged together.



newlisp-tk.tcl starts by setting all its configuration variables Ide(...) to defaults, then it looks for a newlisp-tk.config and loads it if it exists, if newlisp-tk.config does not exist it just takes the default values set at first.



Then newlisp-tk.tcl starts newlisp.exe. Then  both open their listerner ports and start listening for each other for commands.



Lutz

femol

#21
@Ryon: Sorry, didn't see that part.Yes, this is the installer I am using, but I also tried the development version with the same effects.



@nigelbrown: It could be the scrolling, judging by the messages there.Or the drawing code.Don't know...Will try debugging it.

I am using Windows XP Professional SP 2 32 bit AMD Athlon 1800+.

Character set is ISO-8859-1, locale Brazil, 1024x768/32 bpp



@Lutz: Nice, I will try running it in script form and debugging it.Anything else I need to run it like images, etc that are packed together in the exe?



Thanks!

Lutz

#22
... I forgot there is the newlisp-8.8.0/newlisp-tk/images directory you need.



The best is to start newlisp-tk.tcl from inside the distribution directory: newlisp-8.8.0/newlisp-tk/ This way newlisp-tk.tcl finds everything in the place where its looking for.



Lutz

Ryon

#23
I wonder if there's something about the Brazilian character set that might be causing the problem.
\"Give me a Kaypro 64 and a dial tone, and I can do anything!\"