[ckan-dev] ckan-dev Digest, Vol 30, Issue 39

Ilia Gromislav igromislav at gmail.com
Wed Apr 17 09:25:32 UTC 2013


Hi! I have run my CKAN test and seen some error:

ERROR: Failure: AttributeError ('module' object has no attribute 'model')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pyenv/local/lib/python2.7/site-packages/nose/loader.py", line
390, in loadTestsFromName
    addr.filename, addr.module)
  File "/root/pyenv/local/lib/python2.7/site-packages/nose/importer.py",
line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/root/pyenv/local/lib/python2.7/site-packages/nose/importer.py",
line 84, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/var/www/opengovdata/data/www/
opengovdata.in.ua/pyenv/src/ckan/ckan/lib/search/__init__.py", line 11, in
<module>
    import ckan.model as model
AttributeError: 'module' object has no attribute 'model'

ERROR: Failure: AttributeError ('module' object has no attribute
'new_authz')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/pyenv/local/lib/python2.7/site-packages/nose/loader.py", line
390, in loadTestsFromName
    addr.filename, addr.module)
  File "/root/pyenv/local/lib/python2.7/site-packages/nose/importer.py",
line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/root/pyenv/local/lib/python2.7/site-packages/nose/importer.py",
line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/var/www/opengovdata/data/www/
opengovdata.in.ua/pyenv/src/ckan/ckan/tests/__init__.py", line 29, in
<module>
    from ckan.lib import search
  File "/var/www/opengovdata/data/www/
opengovdata.in.ua/pyenv/src/ckan/ckan/lib/search/__init__.py", line 13, in
<module>
    import ckan.logic as logic
  File "/var/www/opengovdata/data/www/
opengovdata.in.ua/pyenv/src/ckan/ckan/logic/__init__.py", line 7, in
<module>
    import ckan.new_authz as new_authz
AttributeError: 'module' object has no attribute 'new_authz'

Can You help me with this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130417/6bd1065a/attachment.html>


More information about the ckan-dev mailing list