I downloaded Elk from the CIP4 repository before with CVSGrab 2.2.2 and it worked fine. Today, it hangs for no obvious reason. I tried also the CVSGrab 2.2.3 Snapshot.
This is apparently due to this hack [1] to handle xhtml namespaces. When the word "xmlns" appears in an unexpected context, it goes into an infinite loop.
I need to do some investigation as to what this hack wants to achieve, then I can fix it and create a new SNAPSHOT.
Hello,
I downloaded Elk from the CIP4 repository before with CVSGrab 2.2.2 and it worked fine. Today, it hangs for no obvious reason. I tried also the CVSGrab 2.2.3 Snapshot.
The command I started is:
./cvsgrab.sh -url http://www.cip4.org/viewcvs/viewcvs.cgi/elk/ -debug -destDir ~/grab_dest/cvs_elk
and I also add the appropriate proxy settings.
The last lines I get are:
CVSGrab - -cvs update: Updating elk/src/devices/Approval/webapp/testdata/
[DEBUG] CVSGrab - -Loading url http://www.cip4.org/viewcvs/viewcvs.cgi/elk/src/devices/Approval/webapp/testdata/
[TRACE] CVSGrab - -Executed method http://www.cip4.org/viewcvs/viewcvs.cgi/elk/src/devices/Approval/webapp/testdata/ with status code 200
CVSGrab - -cvs update: Updating elk/src/devices/ConventionalPrinting/webapp/META-INF/
[DEBUG] CVSGrab - -Loading url http://www.cip4.org/viewcvs/viewcvs.cgi/elk/src/devices/ConventionalPrinting/webapp/META-INF/
[TRACE] CVSGrab - -Executed method http://www.cip4.org/viewcvs/viewcvs.cgi/elk/src/devices/ConventionalPrinting/webapp/META-INF/ with status code 200
CVSGrab - -cvs update: Updating elk/src/devices/ConventionalPrinting/webapp/WEB-INF/
[DEBUG] CVSGrab - -Loading url http://www.cip4.org/viewcvs/viewcvs.cgi/elk/src/devices/ConventionalPrinting/webapp/WEB-INF/
[TRACE] CVSGrab - -Executed method http://www.cip4.org/viewcvs/viewcvs.cgi/elk/src/devices/ConventionalPrinting/webapp/WEB-INF/ with status code 200
CVSGrab - -cvs update: Updating elk/src/devices/ConventionalPrinting/webapp/config/
[DEBUG] CVSGrab - -Loading url http://www.cip4.org/viewcvs/viewcvs.cgi/elk/src/devices/ConventionalPrinting/webapp/config/
[TRACE] CVSGrab - -Executed method http://www.cip4.org/viewcvs/viewcvs.cgi/elk/src/devices/ConventionalPrinting/webapp/config/ with status code 200
He always stop after that config directory. And he is not done yet.
Any ideas?
Jos
This is apparently due to this hack [1] to handle xhtml namespaces. When the word "xmlns" appears in an unexpected context, it goes into an infinite loop.
I need to do some investigation as to what this hack wants to achieve, then I can fix it and create a new SNAPSHOT.
Ludovic, do you remember why you put this in?
[1] http://cvsgrab.cvs.sourceforge.net/cvsgrab/cvsgrab/src/java/net/sourceforge/cvsgrab/WebBrowser.java?revision=1.20&view=markup#l_392
I don't remember exactly, but this had something to do with some difficulties in NekoHTML with namespaces.
See: http://web-harvest.sourceforge.net/
Probably the latest version of Neko handles namespaces better, or so I hope.
Ludovic