[ckan-dev] ImportError: No module named importlib.command

Adrià Mercader amercadero at gmail.com
Tue Apr 12 12:12:52 UTC 2011


Hi all,
I'm getting this error multiple times when I try to run the
ckanext-dgu tests (traceback follows):

ImportError: No module named importlib.command

Traceback (most recent call last):
  File "/home/adria/dev/envs/ckan/bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
  File "/home/adria/dev/envs/ckan/lib/python2.6/site-packages/paste/script/command.py",
line 83, in run
    command = commands[command_name].load()
  File "/home/adria/dev/envs/ckan/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py",
line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/adria/dev/envs/ckan/src/ckanext-dgu/ckanext/dgu/testtools/mock_drupal.py",
line 6, in <module>
    from ckanext.dgu.testtools.organisations import test_organisations, \
  File "/home/adria/dev/envs/ckan/src/ckanext-dgu/ckanext/dgu/testtools/organisations.py",
line 5, in <module>
    from ckanext.dgu.command import XmlRpcCommand
  File "/home/adria/dev/envs/ckan/src/ckanext-dgu/ckanext/dgu/command.py",
line 1, in <module>
    from ckanext.importlib.command import Command
ImportError: No module named importlib.command

I checked ckanext and there's no mention of importlib.
Does anyone have a clue of what's going on?

Thanks




More information about the ckan-dev mailing list