NewLisp Ide : problems with Ie 6.0

Started by Maurizio, September 10, 2007, 03:37:45 AM

Previous topic - Next topic

Maurizio

I've installed newLisp Ide in c:programminewlisp

(that is, I have a directory c:programminewlispide containing

index.html, editor-frame.html, etc...



I made a desktop link to start the server as the following :

C:Programminewlispnewlisp.exe  -httpd -d 8080 -w C:Programminewlispide



I made a c:tmp directory.



If I start the server, I open a browser (IE 6.0) and then ask for:

http://127.0.0.1:8080">http://127.0.0.1:8080



the main editor page appears correctly.

from this page I can navigate using the left directory tree and I can inspect the distribuition files.



However, As I click on a button (even NEW):

the editor page does not change,

the browser shows on the status line:

Apertura pagina http://127.0.0.1:8080/content-frame.cgi">http://127.0.0.1:8080/content-frame.cgi,

it keeps running the upper right icon , but it is not really waiting.



If now I click on another file name, it is correctly displayed in the edit window.

If I manually clear the edit window and I enter a simple expression

like (println "hello") and I click on the eval button, the above behaviour

repeats exactly as described.



This happens only using IE 6.0.

Using Mozilla Firefox all works perfectly

Any suggestion ?



Regards

Maurizio

Lutz

#1
I have seen this behaviour only on IE 7. IE-6 is fine on the WinXP machine and another WinXP Laptop I can use.



This problem has been reported before for IE-7 and on IE-6 when running with a http-conf.lsp file. A fix for this is high on my list, unfortunately I need a machine where I can reproduce it and do development at the same time ;-(



A debugging help may be to inspect the file

which are generated by  newlisp in the tmp/ directory. This file contains the page sent to the browser after the CGI operation.



Unfortunately this file gets deleted immedately after the CGI operation took place by newLISP.



In nl-web.c in line 1206 there is a unlink(tempfile) statement which could be commented out to suppress deleting.



If you have a home network, you could try to access the machine from a client browser on a different machine, to check if that works. If it does work it tells us that the output id probably gnerated fine, but that there is something wrong with the I/O interaction of the newlisp-server and browser-client part on the same machine



Lutz

Lutz

#2
I tried this on WinXP home on 2 machines, but could not repeat the error your are reporting. It works reliably (about a 100 page accesses) with IE-6 and Firefox with newLISP 9.2 and newlisp-ide 4.0.



This is my shortcut/properties to start newLISP in httpd mode:


"C:Program Filesnewlispnewlisp.exe" -http -d 8080 -w "C:Program Filesnewlispide

Lutz

Maurizio

#3
I don't know if it is a related problem, but I've just noticed the following :



I start the newlisp server, clicking on the desktop link,

then I open Ie 6.0 and I call the initial page :

http://127.0.0.1:8080">http://127.0.0.1:8080

The first page appears, but IE shows a warning icon on the status bar.

Double clicking on that icon shows an error box with the following text:



riga: 38

carattere: 1

Errore: 'parent.frames.1.document.forms.0.dir' è nullo o non è un oggetto

codice: 0

url: http://127.0.0.1:8080/file-frame.cgi">http://127.0.0.1:8080/file-frame.cgi



Regards

Maurizio

Lutz

#4
The error seems to be JavaScript related. Row 38 is the end of a JavaScript section and the DOM ptr to the left frame returns 0. Is JavaScript enabled in that browser?



Lutz

Maurizio

#5
(sorry for the delay)

sure, Javascript is enabled.

Maurizio