You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got an error [1] using Windows OS running cow_tool convert. My file directory data has:
tableGames.csv
tableGames.csv-metadata.json
I then do:
cow_tool convert data\tableGames.csv
Expected result is a ttl file; instead I got the following error:
[1]:
Converting .\data\rulesetPeriods.csv to RDFInitializing converter for .\data\rulesetPeriods.csvProcesses: 4Chunksize: 5000Something went wrong, skipping .\data\rulesetPeriods.csv.Traceback (most recent call last): File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\cow_csvw\csvw_tool.py", line 55, in __init__ c = CSVWConverter(source_file, delimiter=delimiter, File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\cow_csvw\converter\csvw.py", line 223, in __init__ self.metadata_graph.load(f, format='json-ld') File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\graph.py", line 1274, in load return self.parse(source, publicID, format) File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\graph.py", line 1252, in parse parser.parse(source, self, **args) File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\plugins\parsers\jsonld.py", line 125, in parse to_rdf(data, conj_sink, base, context_data, version, generalized_rdf) File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\plugins\parsers\jsonld.py", line 144, in to_rdf return parser.parse(data, context, dataset) File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\plugins\parsers\jsonld.py", line 164, in parse context.load(local_context, context.base) File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\plugins\shared\jsonld\context.py", line 353, in load self._prep_sources(base, source, sources, referenced_contexts) File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\plugins\shared\jsonld\context.py", line 377, in _prep_sources new_ctx = self._fetch_context( File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\plugins\shared\jsonld\context.py", line 409, in _fetch_context source = source_to_json(source_url) File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\plugins\shared\jsonld\util.py", line 27, in source_to_json source = create_input_source(source, format="json-ld") File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\parser.py", line 281, in create_input_source ) = _create_input_source_from_location( File "C:\Users\P70069673\Documents\projects\play-fair-no-git\play-fair\lib\site-packages\rdflib\parser.py", line 312, in _create_input_source_from_location if path.exists(): File "C:\users\p70069673\appdata\local\programs\python\python39\lib\pathlib.py", line 1407, in exists self.stat() File "C:\users\p70069673\appdata\local\programs\python\python39\lib\pathlib.py", line 1221, in stat return self._accessor.stat(self)OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'https:\\raw.githubusercontent.com\\CLARIAH\\COW\\master\\csvw.json'
Hi community!
I got an error [1] using Windows OS running
cow_tool convert
. My file directorydata
has:I then do:
cow_tool convert data\tableGames.csv
Expected result is a ttl file; instead I got the following error:
[1]:
You can get the files here: https://github.com/MaastrichtU-IDS/play-fair/tree/main/data
Any idea how to solve it?
even creating a python virtual environment I get the same error [1].
best,
c.
The text was updated successfully, but these errors were encountered: