-
Notifications
You must be signed in to change notification settings - Fork 31
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
Issue reading in Zip-file #16
Comments
Can you provide a sample of your code with the error message so that we can understand what the problem is about in more detail. |
The code is directly taken from the example in " gtfspy/examples/example_temporal_distance_profile.py". The error can be found in the following method:
In this line, using a direct link to the previously mentioned zip file at www.openOV.nl it can not be loaded. The following is printed:
And the following error occurs:
As you can see the error is an object mismatch. As I said before, unpacking the zip works, but using the zip directly does not. |
I have the same problem when reading files for Prague transport:
Is there some workaround to this issue? |
Looks like one of the rows's csv is being turned into a list, instead of string. I guess it's done something clever. Can you look into the Otherwise, can you gave an link to the exact file you are using and exact command line used? |
I cannot replicate this issue as it was solved by #24. At that time, I considered the issue to be connected with special characters that caused that a string was considered split to many due to the special chars (i.e. creating something like I am using GTFS zip file that can be downloaded here and ran the script by |
Not all zip-files can be used to create the sqlite file.
The Dutch public transport net cannot be processed by zip, only after unzipping. (data from www.openOV.nl)
Not a major issue, but this bug creates a minor annoyance for the users. Maybe a good case study for bug testing?
The text was updated successfully, but these errors were encountered: