Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert_fendl script broken #6

Closed
makeclean opened this issue Jul 1, 2019 · 5 comments
Closed

convert_fendl script broken #6

makeclean opened this issue Jul 1, 2019 · 5 comments

Comments

@makeclean
Copy link
Contributor

As in #5 CI mayve stopped this, but it seems that convert_fendl is broken - I get this error

Traceback (most recent call last):
  File "convert_fendl.py", line 87, in <module>
    downloaded_file = download(url, context=ssl._create_unverified_context())
  File "/home/adavis/opt/openmc/openmc/_utils.py", line 27, in download
    req = urlopen(url, **kwargs)
  File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib64/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

When I run. Also could be user error, if it is let me know what Im doing wrong

@makeclean
Copy link
Contributor Author

@shimwell any ideas?

@paulromano
Copy link
Contributor

Looks like IAEA changed something in their configuration such that the download needs to appear as though it's coming from a browser. Unfortunately, that's not something that normal CI would have caught (unless we were running nightly tests or something). Anyway, I'll put in a fix (this requires something extra in OpenMC's download function).

@makeclean
Copy link
Contributor Author

Thats my point, maybe we should be running nightly tests that tries to build and get all the data, each one as a different element in the matrix?

@paulromano
Copy link
Contributor

Interesting, I didn't think this was possible with Travis but evidently it is. The problem we'll run into is that the "generate" scripts actually run NJOY for all evaluations which takes a long time (longer than the Travis job time limits).

@paulromano
Copy link
Contributor

This was fixed by #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants