Skip to content
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 in rake parse:gtfs_2_kml #14

Closed
russellhoff opened this issue Dec 14, 2015 · 3 comments
Closed

Error in rake parse:gtfs_2_kml #14

russellhoff opened this issue Dec 14, 2015 · 3 comments

Comments

@russellhoff
Copy link

Hi!

I think I've found what it seems a bug in your project... I've gone on executing commands so as to setup transit-map with a GTFS, but I'm facing a issue when executing the following command: rake parse:gtfs_2_kml.


joninazio@IN000-server:~/simulacion_gtfs/lurraldebus_pesa/GTFS-viz$ rake parse:gtfs_2_kml
/usr/local/lib/ruby/gems/2.0.0/gems/google-api-client-0.8.6/lib/google/api_client/environment.rb:35: warning: Insecure world writable dir /home/joninazio/automatizar/gtfsdb/bin in PATH, mode 040777
rake aborted!
Errno::ENOENT: No such file or directory - /home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/inc/templates/kml_placemark_shapes.xml
/home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/gtfs.rb:177:in initialize' /home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/gtfs.rb:177:inopen'
/home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/gtfs.rb:177:in block in geojson_to_kml' /home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/gtfs.rb:176:ineach'
/home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/gtfs.rb:176:in geojson_to_kml' /home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/Rakefile:140:inblock (3 levels) in <top (required)>'
/home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/Rakefile:139:in each' /home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/Rakefile:139:inblock (2 levels) in <top (required)>'
Tasks: TOP => parse:gtfs_2_kml
(See full trace by running task with --trace)

Notice that the program it's looking for kml_placemark_shapes.xml file inside /home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/inc/templates/, shouldn't it be /home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/templates/?


No such file or directory - /home/joninazio/simulacion_gtfs/lurraldebus_pesa/GTFS-viz/inc/inc/templates/kml_placemark_shapes.xml
Could you lend me a hand?

Extra question: why am I getting the "Insecure world writable" warning? I've successfully cloned the project without the need of root (sudo) permission...

@russellhoff
Copy link
Author

By the way, I don't know whether copying the content of inc/templates into inc/inc/templates works or not... This is what I'm doing right now.

@vasile
Copy link
Owner

vasile commented Dec 14, 2015

Thanks for reporting @russellhoff , I just pushed a fix - efd7798
Please pull and let me know if it works now.

@vasile vasile closed this as completed Dec 14, 2015
@vasile
Copy link
Owner

vasile commented Dec 14, 2015

The Insecure world writable error comes from the Google's gem, didn't investigate further ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants