-
Notifications
You must be signed in to change notification settings - Fork 93
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
Error when using local files on Windows #443
Comments
From the trace, it's hard to see where the confusion is introduced. There is code in |
@gkellogg Sorry for the delay, but only now I managed to get the debugger up and running (I have never coded in Ruby before). file_uri = "file:" + File.expand_path(@options[:base])
@options[:base] = RDF::URI(file_uri.to_s).normalize where Then the result of Digging further into On https://github.com/ruby-rdf/rdf/blob/develop/lib/rdf/model/uri.rb#L1099 I am not sure what the proper solution should be and where exactly. |
I fixed some handling for the file scheme, and other windows-specific drive letter handling on the develop branch. Please try building with develop from GitHub to see if that fixes your problem; otherwise, you can re-open this issue with further details. |
Thanks, now I get an error elsewhere:
|
(and I do not have permission to re-open the issue) |
I may have fixed that but already; see if you get more commits on a git pull. |
This is based on 71f70d5 - the latest commit |
But the problem seems to be on this line in rdf-tabular now. |
I pushed up some more changes to the "rdf" gem, as well as "rdf-tabular". I'm getting some errors in rdf-tabular tests, which I'll continue to work on, but it may be worth getting the latest versions of these gems from GitHub to see what that does for you. I'm handicapped by not having a Windows development platform, so I've been leaning on GitHub actions to see results, which are inadequate for development. |
OK, now I get yet another error.
|
I had modified the |
Now I get this - no path, and an extra
|
Can you tell me how you're invoking the gem that results in this problem? If you use an absolute path name, does it work properly? |
I run When I change it to When I change it to |
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 #435 (comment)
Version info:
This definitely worked a year ago - and works fine with these versions:
Full error:
The text was updated successfully, but these errors were encountered: