[ckan-dev] ckanext KeyError

Mike Sinclair mm.sinclair08 at gmail.com
Mon Nov 23 20:29:31 UTC 2015


Hi Tyler

I'm using pip 1.1,
CKAN 2.41 source install deployed
I grabbed the master branch from github for discourse.

Following the install instructions it says:

git clone https://github.com/okfn/ckanext-discourse.git

However, there is nothing there which is why I grabbed the master from
Ontodia.

Mike
ᐧ

On Mon, Nov 23, 2015 at 9:42 AM, Tyler Kennedy <tk at tkte.ch> wrote:

> Hi Mike,
>
> I'm trying to reproduce this - what version of pip are you using? What
> version of ckanext-discourse did you install?
>
> Thanks,
> Tyler Kennedy
>
> 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/b9837357/attachment-0003.html>


More information about the ckan-dev mailing list