NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 1000 - Build process stops with bad md5 message
Build process stops with bad md5 message
Status: RESOLVED NOTREPRODUCIBLE
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-05 16:11 CEST by Carsten Busse
Modified: 2015-02-15 19:17 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Busse 2014-08-05 16:11:09 CEST
Build process stops at
"Bad MD5 hash for http://download.berlios.de/jsontools/jsontools-core-1.5.jar"

if forced to use the package with wrong md5 build process stops at:

http://help.whatwg.org/meta-extensions/
Traceback (most recent call last):
  File "build-old/build.py", line 1148, in <module>
    downloadLocalEntities()
  File "build-old/build.py", line 775, in downloadLocalEntities
    fetchUrlTo("http://help.whatwg.org/meta-extensions/", os.path.join(buildRoot, metaExtensions))
  File "build-old/build.py", line 738, in fetchUrlTo
    f = urllib2.urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
Comment 1 Michael[tm] Smith 2014-08-05 16:24:36 CEST
I think you need to update to the latest version of the build script.

The build script was changed last month to download the jsontools.jar file from Sourceforce instead of the old location -

  https://github.com/validator/build/commit/af5a7282a7f5eaa319c072fb1e8d683f46c4ada0

You need to run build script without the --no-self-update switch, to make sure it pulls the latest version of the build script before it does anything else.