inria-traces / trace.archive

2 stars 1 forks source link

Python3 problem with zenodo script #1

Open stanisic opened 9 years ago

stanisic commented 9 years ago

Output of test script when running with Python3:

Traceback (most recent call last): File "../zenodo_publish.py", line 87, in config=load_user_conf() File "../zenodo_publish.py", line 55, in load_user_conf config = json.load(f) File "/opt/cluster/plafrim2-dev/apps/language/python/Python-3.4.1-install/lib/python3.4/json/init.py", line 268, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, kw) File "/opt/cluster/plafrim2-dev/apps/language/python/Python-3.4.1-install/lib/python3.4/json/init**.py", line 318, in loads return _default_decoder.decode(s) File "/opt/cluster/plafrim2-dev/apps/language/python/Python-3.4.1-install/lib/python3.4/json/decoder.py", line 343, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/opt/cluster/plafrim2-dev/apps/language/python/Python-3.4.1-install/lib/python3.4/json/decoder.py", line 361, in raw_decode raise ValueError(errmsg("Expecting value", s, err.value)) from None ValueError: Expecting value: line 1 column 1 (char 0)

generoso commented 9 years ago

It seems to be fixed by commit 302f16191796b96a77523774571ffb95cf09d381. Before testing it be sure to remove the zenodo_conf.json file in zenodo directory.