Trouble using vp-get theoryID <theoryid>
Created by: wilsonmr
Hey again,
Just trying to get one of Nathan's new low precision theories with vp-get but I'm getting an error regardless of the theory I try to get, tried with most recent compile of master and using a conda install
Getting the following error, possibly it's looking in a funny place for it?
(t161) -bash-4.2$ vp-get theoryID 1
[INFO]: Could not find a resource (theoryID): Could not find theory 1. Folder '/scratch/data/nnpdf/data/theory_1' not found. Attempting to download it.
[ERROR]: Failed to download resource: Failed to fetch remote theories index http://pcteserver.mi.infn.it/~apfelcomb/commondatatheory/theorydata.json: 404 Client Error: Not Found for url: http://pcteserver.mi.infn.it/~apfelcomb/commondatatheory/theorydata.json
Traceback (most recent call last):
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 668, in f
return orig(*args, **kwargs)
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 187, in check_theoryID
"Folder '%s' not found") % (theoryID, theopath) )
validphys.loader.TheoryNotFound: Could not find theory 1. Folder '/scratch/data/nnpdf/data/theory_1' not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 495, in _remote_files_from_url
resp.raise_for_status()
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://pcteserver.mi.infn.it/~apfelcomb/commondatatheory/theorydata.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/scratch/miniconda/envs/t161/bin/vp-get", line 11, in <module>
load_entry_point('validphys==2.0b2', 'console_scripts', 'vp-get')()
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/scripts/vp_get.py", line 69, in main
res = f(name)
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 678, in f
raise e
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 675, in f
download(*args, **kwargs)
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 621, in download_theoryID
remote = self.remote_theories
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 701, in __getattribute__
return super().__getattribute__(attr)
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 521, in remote_theories
rt = self.remote_files(self.theory_urls, self.theory_index, thing="theories")
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 509, in remote_files
d.update(self._remote_files_from_url(url, index, thing))
File "/scratch/miniconda/envs/t161/lib/python3.6/site-packages/validphys/loader.py", line 497, in _remote_files_from_url
raise RemoteLoaderError("Failed to fetch remote %s index %s: %s" % (thing, index_url,e)) from e
validphys.loader.RemoteLoaderError: Failed to fetch remote theories index http://pcteserver.mi.infn.it/~apfelcomb/commondatatheory/theorydata.json: 404 Client Error: Not Found for url: http://pcteserver.mi.infn.it/~apfelcomb/commondatatheory/theorydata.json