Skip to content

Issue with tabulator module topen function #7

@svHatch

Description

@svHatch

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions