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

Issue with tabulator module topen function #7

Open
svHatch opened this issue Jun 21, 2017 · 0 comments
Open

Issue with tabulator module topen function #7

svHatch opened this issue Jun 21, 2017 · 0 comments

Comments

@svHatch
Copy link

svHatch commented Jun 21, 2017

Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux

Installed datapaka as per the documentation, with both requirements met.

Traceback (most recent call last):
  File "/usr/local/bin/datapaka", line 28, in <module>
    dp = datapackage.DataPackage(descriptor=OrderedDict())
  File "/usr/local/lib/python2.7/dist-packages/datapackage/datapackage.py", line 57, in __init__
    self._schema = self._load_schema(schema)
  File "/usr/local/lib/python2.7/dist-packages/datapackage/datapackage.py", line 327, in _load_schema
    return datapackage.schema.Schema(schema)
  File "/usr/local/lib/python2.7/dist-packages/datapackage/schema.py", line 35, in __init__
    self._registry = self._load_registry()
  File "/usr/local/lib/python2.7/dist-packages/datapackage/schema.py", line 71, in _load_registry
    return datapackage.registry.Registry()
  File "/usr/local/lib/python2.7/dist-packages/datapackage/registry.py", line 40, in __init__
    self._registry = self._get_registry(registry_path_or_url)
  File "/usr/local/lib/python2.7/dist-packages/datapackage/registry.py", line 110, in _get_registry
    table = tabulator.topen(registry_path_or_url, headers='row1')
AttributeError: 'module' object has no attribute 'topen'

Tabulator module is at version 1.0.0, and only seems to have tabulator.io.open() available. Is there a requirement for an older version of tabulator?

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