Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

quantlib.net fails

Help
2006-07-25
2013-04-02
  • Lars Schouw
    Lars Schouw
    2006-07-25

    I have a problem getting sources of quantlib.
    Any idea how this would work?

    >java -classpath "C:\sletmig\cvsgrab\cvsgrab-2.2
    .2\lib\cvsgrab.jar" -Dorg.apache.commons.logging.Log=org.apache.commons.logging.
    impl.SimpleLog -Dorg.apache.commons.logging.simplelog.showShortLogname=false "-D cvsgrab.home=C:\sletmig\cvsgrab\cvsgrab-2.2.2" net.sourceforge.cvsgrab.CVSGrab -rootUrl http://quantlib.cvs.sourceforge.net/quantlib -packagePath QuantLib -destDir c:\dev\quantlib\quantlib.cvs -packageDir quantlib -proxyHost XXX -proxyPort 8080
    Using proxy XXX:8080
    CVSGrab version 2.2.2 starting...
    Tried to connect to the following urls:
    cvsroot
    http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
    http://quantlib.cvs.sourceforge.net/quantlib/
    Problems found during automatic detection:
    ViewCvs0_7 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Quan
    tLib/ but found error Expected marker ViewCVS 0.7, found null
    ViewCvs0_8 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Quan
    tLib/ but found error Expected marker ViewCVS 0.8, found null
    ViewCvs0_9 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Quan
    tLib/ but found error Expected marker ViewCVS 0.9, found null
    ViewCvs0_9 tried to match page cvsroot but page doesn't exist
    ViewCvs1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Quan
    tLib/ but found error Expected marker ViewCVS 1.0, found null
    ViewCvs1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/ but
    found error Expected marker ViewCVS 1.0, found null
    Sourcecast1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Q
    uantLib/ but found error null
    Sourcecast2_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Q
    uantLib/ but found error Not SourceCast/CollabNet, meta keywords was 'null', des
    cription was 'null'
    Sourcecast3_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Q
    uantLib/ but found error Not SourceCast/CollabNet, meta keywords was 'null', des
    cription was 'null'
    CvsWeb1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Quant
    Lib/ but found error Not CvsWeb, did not found comment containing 'hennerik CVSw
    eb'
    CvsWeb1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/ but
    found error Not CvsWeb, did not found comment containing 'hennerik CVSweb'
    CvsWeb2_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Quant
    Lib/ but found error Not CvsWeb, found marker ViewVC 1.0.0
    CvsWeb3_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Quant
    Lib/ but found error Not CvsWeb, found marker ViewVC 1.0.0
    Chora2_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantL
    ib/ but found error Root url should end with cvs.php
    FishEye1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/Quan
    tLib/ but found error No value for xpath: //DIV[@id='footer']//A[starts-with(@hr
    ef,'http://www.cenqua.com/fisheye/')]
    [ERROR] Could not detect the type of the web interface
    [ERROR] Could not detect the type of the web interface
    [ERROR] There were some errors.
    [ERROR] If you cannot find an obvious answer, report the problem to http://sourc
    eforge.net/forum/forum.php?forum_id=174128

    I am running CVSGrab 2.2.2, Windows XP Sp2 and java 1.5.0_07.

    Regards
    Lars Schouw

     
    • Lars Schouw
      Lars Schouw
      2006-07-25

      Updated:

      cvsgrab -rootUrl http://dev.eclipse.org/viewcvs/index.cgi/ -packagePath org.eclipse.ant.core -destDir c:/tmp -proxyHost XXX -proxyPort 8080

      works fine ... looks as if I have problems on sourceforce cvs .. not sure what is going on.

       
    • Lars Schouw
      Lars Schouw
      2006-07-25

      UPDATE 2: Now with fill verbose..

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem @echo off

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem ************************************************************************

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem * Define here CVSGRAB_HOME if you didn't define it a a system variable

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem * CVSGRAB_HOME should be set to the installation directory of cvsgrab.

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem ************************************************************************

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>set CVSGRAB_HOME=C:\sletmig\cvsgrab\cvsgrab-2.2.2

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>if not "Windows_NT" == "Windows_NT" goto win9xStart

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem C:\sletmig\cvsgrab\cvsgrab-2.2.2\ is name of current script under NT

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>set DEFAULT_CVSGRAB_HOME=C:\sletmig\cvsgrab\cvsgrab-2.2.2\

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>if "C:\sletmig\cvsgrab\cvsgrab-2.2.2" == "" set CVSGRAB_HOME=C:\sletmig\cvsgrab\cvsgrab-2.2.2\

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>set DEFAULT_CVSGRAB_HOME=

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem Need to check if we are using the 4NT shell...

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>if "@eval[2+2]" == "4" goto setup4NT

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>rem On NT/2K grab all arguments at once

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>set ANT_CMD_LINE_ARGS=-rootUrl http://quantlib.cvs.sourceforge.net/quantlib -packagePath QuantLib -destDir c:\dev\quantlib\quantlib.cvs -packageDir quantlib -proxyHost XXX -proxyPort 8080 -verbose true

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>goto doneStart

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>set LOG_ARGS=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.showShortLogname=false

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>set HOME_ARG=-Dcvsgrab.home=C:\sletmig\cvsgrab\cvsgrab-2.2.2

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>java -classpath "C:\sletmig\cvsgrab\cvsgrab-2.2.2\lib\cvsgrab.jar" -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.showShortLogname=false "-Dcvsgrab.home=C:\sletmig\cvsgrab\cvsgrab-2.2.2" net.sourceforge.cvsgrab.CVSGrab -rootUrl http://quantlib.cvs.sourceforge.net/quantlib -packagePath QuantLib -destDir c:\dev\quantlib\quantlib.cvs -packageDir quantlib -proxyHost XXX -proxyPort 8080 -verbose true
      [DEBUG] Web option/root url = http://quantlib.cvs.sourceforge.net/quantlib/
      [DEBUG] Web option/package path = QuantLib/
      [DEBUG] Web option/project root = null
      [DEBUG] Web option/version tag = null
      [DEBUG] Web option/query params = null
      [DEBUG] Web option/web interface = null
      Using proxy XXX:8080
      CVSGrab version 2.2.2 starting...
      [DEBUG] Connecting to http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] Connection successful
      [DEBUG] ViewCvs0_7: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] ViewCvs0_7 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Expected marker ViewCVS 0.7, found null
      [DEBUG] ViewCvs0_8: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] ViewCvs0_8 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Expected marker ViewCVS 0.8, found null
      [DEBUG] ViewCvs0_9: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] ViewCvs0_9 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Expected marker ViewCVS 0.9, found null
      [DEBUG] ViewCvs0_9: Loading for validation cvsroot
      [DEBUG] Error when loading page cvsroot <java.lang.IllegalArgumentException: host parameter is null>java.lang.IllegalArgumentException: host parameter is null
          at org.apache.commons.httpclient.HttpConnection.setHost(HttpConnection.java:253)
          at org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnection(SimpleHttpConnectionManager.java:117)
          at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:613)
          at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
          at net.sourceforge.cvsgrab.WebBrowser.executeMethod(WebBrowser.java:254)
          at net.sourceforge.cvsgrab.WebBrowser.getResponse(WebBrowser.java:314)
          at net.sourceforge.cvsgrab.WebBrowser.getDocument(WebBrowser.java:388)
          at net.sourceforge.cvsgrab.WebBrowser.getDocument(WebBrowser.java:378)
          at net.sourceforge.cvsgrab.CvsWebInterface.loadDocument(CvsWebInterface.java:203)
          at net.sourceforge.cvsgrab.CvsWebInterface.validate(CvsWebInterface.java:293)
          at net.sourceforge.cvsgrab.CvsWebInterface.findInterface(CvsWebInterface.java:143)
          at net.sourceforge.cvsgrab.CVSGrab.detectWebInterface(CVSGrab.java:813)
          at net.sourceforge.cvsgrab.CVSGrab.getWebInterface(CVSGrab.java:700)
          at net.sourceforge.cvsgrab.CVSGrab.grabCVSRepository(CVSGrab.java:566)
          at net.sourceforge.cvsgrab.CVSGrab.run(CVSGrab.java:340)
          at net.sourceforge.cvsgrab.CVSGrab.main(CVSGrab.java:232)

      [DEBUG] ViewCvs1_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] ViewCvs1_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Expected marker ViewCVS 1.0, found null
      [DEBUG] ViewCvs1_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/
      [DEBUG] ViewCvs1_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Expected marker ViewCVS 1.0, found null
      [DEBUG] Sourcecast1_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] Sourcecast1_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException
      [DEBUG] Sourcecast2_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] Sourcecast2_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Not SourceCast/CollabNet, meta keywords was 'null', description was 'null'
      [DEBUG] Sourcecast3_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] Sourcecast3_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Not SourceCast/CollabNet, meta keywords was 'null', description was 'null'
      [DEBUG] CvsWeb1_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] CvsWeb1_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Not CvsWeb, did not found comment containing 'hennerik CVSweb'
      [DEBUG] CvsWeb1_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/
      [DEBUG] CvsWeb1_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Not CvsWeb, did not found comment containing 'hennerik CVSweb'
      [DEBUG] CvsWeb2_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] CvsWeb2_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Not CvsWeb, found marker ViewVC 1.0.0
      [DEBUG] CvsWeb3_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] CvsWeb3_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Not CvsWeb, found marker ViewVC 1.0.0
      [DEBUG] Chora2_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] Chora2_0 doesn't match, cause is net.sourceforge.cvsgrab.MarkerNotFoundException: Root url should end with cvs.php
      [DEBUG] FishEye1_0: Loading for validation http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      [DEBUG] FishEye1_0 doesn't match, cause is org.apache.commons.jxpath.JXPathException: No value for xpath: //DIV[@id='footer']//A[starts-with(@href,'http://www.cenqua.com/fisheye/')]
      Tried to connect to the following urls:
      cvsroot
      http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/
      http://quantlib.cvs.sourceforge.net/quantlib/
      Problems found during automatic detection:
      ViewCvs0_7 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Expected marker ViewCVS 0.7, found null
      ViewCvs0_8 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Expected marker ViewCVS 0.8, found null
      ViewCvs0_9 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Expected marker ViewCVS 0.9, found null
      ViewCvs0_9 tried to match page cvsroot but page doesn't exist
      ViewCvs1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Expected marker ViewCVS 1.0, found null
      ViewCvs1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/ but found error Expected marker ViewCVS 1.0, found null
      Sourcecast1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error null
      Sourcecast2_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Not SourceCast/CollabNet, meta keywords was 'null', description was 'null'
      Sourcecast3_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Not SourceCast/CollabNet, meta keywords was 'null', description was 'null'
      CvsWeb1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Not CvsWeb, did not found comment containing 'hennerik CVSweb'
      CvsWeb1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/ but found error Not CvsWeb, did not found comment containing 'hennerik CVSweb'
      CvsWeb2_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Not CvsWeb, found marker ViewVC 1.0.0
      CvsWeb3_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Not CvsWeb, found marker ViewVC 1.0.0
      Chora2_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error Root url should end with cvs.php
      FishEye1_0 tried to match page http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/ but found error No value for xpath: //DIV[@id='footer']//A[starts-with(@href,'http://www.cenqua.com/fisheye/')]
      [ERROR] Could not detect the type of the web interface
      [ERROR] Could not detect the type of the web interface
      [ERROR] There were some errors.
      [ERROR] If you cannot find an obvious answer, report the problem to http://sourceforge.net/forum/forum.php?forum_id=174128

      C:\sletmig\cvsgrab\cvsgrab-2.2.2>if not "Windows_NT" == "Windows_NT" goto end

       
    • Shinobu Kawai
      Shinobu Kawai
      2006-07-25

      Hi Lars,

      Sourceforge is now on ViewVC 1.0, which is not currently supported by CVSGrab 2.2.2.

      You can try the 2.2.3-SNAPSHOT version available at http://www.picoservice.com/cvsgrab.

      I successfully downloaded QuantLib using the following:

      cvsgrab -url http://quantlib.cvs.sourceforge.net/quantlib/QuantLib/

       
    • Lars Schouw
      Lars Schouw
      2006-07-26

      Seems to work.. thanks Shinobu.
      Lars