[ckan-dev] ckanext KeyError

Mike Sinclair mm.sinclair08 at gmail.com
Mon Nov 23 19:01:31 UTC 2015


Thanks Ian,

I'll try to replicate it to be sure. I'd be curious to know if any others
have ran into this issue before.

Mike
ᐧ

On Mon, Nov 23, 2015 at 9:42 AM, Ian Ward <ian at excess.org> wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/39b1cd8b/attachment-0003.html>


More information about the ckan-dev mailing list