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

AttributeError: 'Stop' object has no attribute 'feedid' #27

Open
ustroetz opened this issue Oct 1, 2015 · 0 comments
Open

AttributeError: 'Stop' object has no attribute 'feedid' #27

ustroetz opened this issue Oct 1, 2015 · 0 comments

Comments

@ustroetz
Copy link

ustroetz commented Oct 1, 2015

After running the following command:

 python -m transitland.bootstrap --url http://www.vbb.de/de/datei/GTF_VBB_Dez2014_Dez2015.zip --feedname berlin-brandenburg_germany  

I get the following output:

Downloading: http://www.vbb.de/de/datei/GTF_VBB_Dez2014_Dez2015.zip
Loading feed: /var/folders/_k/bl71qf5x6vl932642r4g9w9c0000gn/T/tmp0bOZSj.zip
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/site-packages/transitland/bootstrap.py", line 57, in <module>
    feed.bootstrap_gtfs(f)
  File "/usr/local/lib/python2.7/site-packages/transitland/feed.py", line 83, in bootstrap_gtfs
    stop = Stop.from_gtfs(gtfs_stop, feedid)
  File "/usr/local/lib/python2.7/site-packages/transitland/entity.py", line 83, in from_gtfs
    entity.add_identifier(gtfs_entity.feedid(feedid))
AttributeError: 'Stop' object has no attribute 'feedid'

The feed itself is valid. Maybe I am missing a parameter to generate the feedid. Maybe one of you guys can have a look at it?

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

1 participant