[imps] local install on Mac OS X

Krisztian Kovacs krisztian.kovacs at probability.co.uk
Wed Oct 31 04:08:30 PDT 2012


Hi everyone!

I've tried to install a local instance of validator.nu , the build was successful, but the service doesn't started. (I'm new to Mac OS X, too, v10.7.4)

Here are the steps, with which I tried to install it (taken from http://about.validator.nu/#src ):

1. install Mercurial : http://mercurial.selenic.com (source control management tool)
2. install Xcode : https://itunes.apple.com/gb/app/xcode/id497799835?mt=12 
3. executed these commands without 'sudo'
		export JAVA_HOME=/Library/Java/Home
		mkdir checker
		cd checker
		hg clone https://bitbucket.org/validator/build build
		python build/build.py all
		python build/build.py all


I have tried today again, here is the end of the output of the second 'build.py all' statement. If you need any other information, just ask for it :)

Thank you for helping me!
Krisztian




Error:
Bad value “foo” for attribute “name” on element “meta” from namespace “http://www.w3.org/1999/xhtml”: Bad metadata name: Keyword “foo” is not registered.
File: file:/Users/krisztiankovacs/checker/syntax/relaxng/tests/html5full-html/valid/003.html
Line: 9 Col: 48

Error:
An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
File: file:/Users/krisztiankovacs/checker/syntax/relaxng/tests/assertions/valid/002.xhtml
Line: 7 Col: 39

java -XX:-DontCompileHugeMethods -Xms131072k -Xmx131072k -XX:ThreadStackSize=2048 -classpath ./dependencies/commons-codec-1.4/commons-codec-1.4.jar:./dependencies/commons-httpclient-3.1/commons-httpclient-3.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-adapters-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-api-1.1.1.jar:./dependencies/icu4j-charsets-4_4_2.jar:./dependencies/icu4j-4_4_2.jar:./dependencies/iri-0.5/lib/iri.jar:./dependencies/jetty-6.1.26/lib/servlet-api-2.5-20081211.jar:./dependencies/jetty-6.1.26/lib/jetty-6.1.26.jar:./dependencies/jetty-6.1.26/lib/jetty-util-6.1.26.jar:./dependencies/jetty-6.1.26/lib/ext/jetty-ajp-6.1.26.jar:./dependencies/apache-log4j-1.2.15/log4j-1.2.15.jar:./dependencies/rhino1_7R1/js.jar:./dependencies/xerces-2_9_1/xercesImpl.jar:./dependencies/xerces-2_9_1/xml-apis.jar:./dependencies/slf4j-1.5.2/slf4j-log4j12-1.5.2.jar:./dependencies/commons-fileupload-1.2.1/lib/commons-fileupload-1.2.1.jar:./dependencies/isorelax.jar:./dependencies/mozilla/intl/chardet/java/dist/lib/chardet.jar:./dependencies/saxon9.jar:./jars/non-schema.jar:./jars/io-xml-util.jar:./jars/htmlparser.jar:./jars/hs-aelfred2.jar:./jars/html5-datatypes.jar:./jars/validator.jar:jing-trang/build/jing.jar -Dnu.validator.servlet.read-local-log4j-properties=1 -Dnu.validator.servlet.log4j-properties=validator/log4j.properties -Dnu.validator.servlet.version=3 -Dnu.validator.servlet.service-name=Validator.nu -Dorg.whattf.datatype.warn=true -Dnu.validator.servlet.about-page=http://about.validator.nu/ -Dnu.validator.servlet.style-sheet=style.css -Dnu.validator.servlet.icon=icon.png -Dnu.validator.servlet.script=script.js -Dnu.validator.spec.html5-load=http://www.whatwg.org/specs/web-apps/current-work/ -Dnu.validator.spec.html5-link=http://www.whatwg.org/specs/web-apps/current-work/ -Dnu.validator.servlet.max-file-size=7340032 -Dnu.validator.servlet.connection-timeout=5000 -Dnu.validator.servlet.socket-timeout=5000 -Dnu.validator.servlet.w3cbranding=0 -Dnu.validator.servlet.statistics=0 -Dorg.mortbay.http.HttpRequest.maxFormContentSize=7340032 -Dnu.validator.servlet.host.generic= -Dnu.validator.servlet.host.html5= -Dnu.validator.servlet.host.parsetree= -Dnu.validator.servlet.path.generic=/ -Dnu.validator.servlet.path.html5=/html5/ -Dnu.validator.servlet.path.parsetree=/parsetree/ -Dnu.validator.servlet.path.about=./validator/site/ nu.validator.servlet.Main 8888
2012-10-31 11:04:54.603:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
nu.validator.servlet.VerifierServletTransaction - Starting static initializer.
nu.validator.servlet.VerifierServletTransaction - Starting to loop over config file lines.
nu.validator.servlet.VerifierServletTransaction - Finished reading config.
nu.validator.servlet.VerifierServletTransaction - Converted config to arrays.
nu.validator.servlet.VerifierServletTransaction - Prepared namespace array.
nu.validator.servlet.VerifierServletTransaction - Parsed doctype numbers into ints.
nu.validator.servlet.VerifierServletTransaction - The cache path prefix is: null
nu.validator.servlet.VerifierServletTransaction - Parsing set up. Starting to read schemas.
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/html5.rnc
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/html5-rdfalite.rnc
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/xhtml10/xhtml-strict.rnc
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/xhtml10/xhtml.sch
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/xhtml10/xhtml-transitional.rnc
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/xhtml10/xhtml-frameset.rnc
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/xhtml5.rnc
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/xhtml5-rdfalite.rnc
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/xhtml1-ruby-rdf-svg-mathml.rnc
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.validator.nu/svg-xhtml5-rdf-mathml.rnc
nu.validator.servlet.VerifierServletTransaction - Schemas read.
nu.validator.servlet.VerifierServletTransaction - Reading spec.
nu.validator.servlet.VerifierServletTransaction - Spec read.
nu.validator.servlet.VerifierServletTransaction - Initialization complete.
Exception in thread "main" java.lang.ExceptionInInitializerError
	at nu.validator.servlet.VerifierServlet.<clinit>(VerifierServlet.java:122)
	at nu.validator.servlet.Main.main(Main.java:93)
Caused by: java.lang.NullPointerException
	at nu.validator.saxtree.TreeBuilder.characters(TreeBuilder.java:99)
	at nu.validator.spec.html5.ImageReportAdviceBuilder.characters(ImageReportAdviceBuilder.java:176)
	at nu.validator.saxtree.TreeParser.characters(TreeParser.java:114)
	at nu.validator.saxtree.Characters.visit(Characters.java:53)
	at nu.validator.saxtree.TreeParser.parse(TreeParser.java:89)
	at nu.validator.htmlparser.sax.HtmlParser.parse(HtmlParser.java:428)
	at nu.validator.spec.html5.ImageReportAdviceBuilder.parseAltAdvice(ImageReportAdviceBuilder.java:72)
	at nu.validator.messages.MessageEmitterAdapter.<clinit>(MessageEmitterAdapter.java:253)
	... 2 more





More information about the Implementors mailing list