v 0.3.0 on Mac attempt

Help
2008-10-17
2013-04-17
  • Margaret Green
    Margaret Green
    2008-10-17

    Hi, I've got the build succeeding. When I attempt to run ParserExample (I've editted it for the right installation paths) inside my IDE and at the terminal command line I get the same error. I'm using MAC OSX 10.5.5

    Any ideas about troubleshooting this? Please.

    $ java -classpath ../dist/MozillaParser.jar:../lib/dom4j-1.6.1.jar:. com.dappit.Dapper.parser.example.ParserExample
    Operating system : Mac OS X
    Loading Parser Library :/Users/margaretgreen/Java/MozillaParser-v-0-3-0/bin/libMozillaParser.jnilib
    parsing...
    shmget() failed; continuing without shared memory: Cannot allocate memory
    execvp("parserWorker") failed: No such file or directory
    Failed to spawn a child process!
    shmget() failed; continuing without shared memory: Cannot allocate memory
    execvp("parserWorker") failed: No such file or directory
    Failed to spawn a child process!
    com.dappit.Dapper.parser.ParserException: Failed to spawn a child process
        at com.dappit.Dapper.parser.MozillaParser.parseHtml(Native Method)
        at com.dappit.Dapper.parser.MozillaParser.callNativeHtmlParser(Unknown Source)
        at com.dappit.Dapper.parser.MozillaParser.callNativeHtmlParser(Unknown Source)
        at com.dappit.Dapper.parser.MozillaParser.parse(Unknown Source)
        at com.dappit.Dapper.parser.example.ParserExample$2.run(ParserExample.java:71)
    done...
    com.dappit.Dapper.parser.ParserException: Failed to spawn a child process
        at com.dappit.Dapper.parser.MozillaParser.parseHtml(Native Method)
        at com.dappit.Dapper.parser.MozillaParser.callNativeHtmlParser(Unknown Source)
        at com.dappit.Dapper.parser.MozillaParser.callNativeHtmlParser(Unknown Source)
        at com.dappit.Dapper.parser.MozillaParser.parse(Unknown Source)
        at com.dappit.Dapper.parser.example.ParserExample$1.run(ParserExample.java:47)
    done...