Open jakubklimek opened 7 months ago
From the trace, it's hard to see where the confusion is introduced. There is code in RDF::URI
to not use the C:
bit as a URI scheme on windows platforms, and this generally seems to work, as both the RDF and the rdf-tabular gems run CI on Windows. But, there may be some case where it's dealing with multiple tables and not taking the proper path. That might be in rdf/tabular/read.rb someplace around line 210. I'm handicapped by not having a Windows platform to try this out on, so if you're able to get in there with a debugger you might be able to see where it happens. I suspect the issue lies entirely in the rdf-tabular gem, and not the RDF.rb gem.
When trying to work with CSV on the Web (rdf-tabular) on Windows, I get an error connected to how Windows paths are processed:
Note that the file
C:\Users\jakub\Downloads\rubyinstaller-3.2.2-1-x64\rubyinstaller-3.2.2-1-x64\bin\1.csv
actually exists, but also note the path in the error starting withC%3A
.This may be related to #435 and may be reproduced with the same files as in https://github.com/ruby-rdf/rdf/issues/435#issuecomment-1099933164
Version info:
This definitely worked a year ago - and works fine with these versions:
Full error: