[ckan-dev] ckanext KeyError

Ian Ward ian at excess.org
Mon Nov 23 17:42:10 UTC 2015


That's interesting. It looks like your ckanext namespace package is
broken. Might be good to report as a setuptools issue if it's that simple
to reproduce.

Installing in a clean virtualenv would certainly get you past it for now.

On Sun, Nov 22, 2015 at 6:22 PM, Mike Sinclair <mm.sinclair08 at gmail.com>
wrote:

> Hi all,
>
> I'm receiving this error anytime I try to do anything with pip after doing
> a
> $python setup.py develop - on ckanext-discourse.
>
> I have removed all traces of ckanext-discourse but I am unable to install
> other extension with pip now.
>
> Traceback (most recent call last):
>
>   File "/usr/lib/ckan/default/lib/python2.7/site.py", line 682, in <module>
>
>     main()
>
>   File "/usr/lib/ckan/default/lib/python2.7/site.py", line 662, in main
>
>     paths_in_sys = addsitepackages(paths_in_sys)
>
>   File "/usr/lib/ckan/default/lib/python2.7/site.py", line 278, in
> addsitepackages
>
>     addsitedir(sitedir, known_paths)
>
>   File "/usr/lib/ckan/default/lib/python2.7/site.py", line 203, in
> addsitedir
>
>     addpackage(sitedir, name, known_paths)
>
>   File "/usr/lib/ckan/default/lib/python2.7/site.py", line 172, in
> addpackage
>
>     exec(line)
>
>   File "<string>", line 1, in <module>
>
> KeyError: 'ckanext'
>>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20151123/567740c3/attachment-0003.html>


More information about the ckan-dev mailing list