[ckan-dev] CKAN 2.2 Error 500 after trying to register user using reCAPTCHA (Nigel Babu)
Nigel Babu
nigel.babu at okfn.org
Tue Jul 1 01:09:13 UTC 2014
Of course you can enable the development features when you've installed
from package, though there are things to note
1. You can only run debug mode with paster, so I would suggest creating a
copy of your production.ini file, calling it development.ini and changing
debug=True
2. Now cd to the ckan directory, activate the virtualenv, and run paster.
cd /usr/lib/ckan/default
source bin/activate
cd src/ckan
paster serve /etc/ckan/default/development.ini
Nigel Babu
Developer, Open Knowledge
On 27 June 2014 19:22, CKAN UGIS <ckan.ugis at gmail.com> wrote:
> Nigel,
>
> The thing is, I can't really test locally since
> 1) I'm working remotely
> 2) CKAN is installed from package, so no "development" features.
>
> I guess I should attack the root of my problem. The question is,
> 1) Can I enable "development" functionality on CKAN that is installed from
> package or
> 2) Should I reinstall CKAN altogether from source?
>
> Looking forward to your advice,
> Dmitry
>
>
> 2014-06-27 16:00 GMT+04:00 <ckan-dev-request at lists.okfn.org>:
>
>> Send ckan-dev mailing list submissions to
>> ckan-dev at lists.okfn.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> or, via email, send a message with subject or body 'help' to
>> ckan-dev-request at lists.okfn.org
>>
>> You can reach the person managing the list at
>> ckan-dev-owner at lists.okfn.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ckan-dev digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: CKAN 2.2 Error 500 after trying to register user using
>> reCAPTCHA (Nigel Babu)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Fri, 27 Jun 2014 11:07:31 +0530
>> From: Nigel Babu <nigel.babu at okfn.org>
>> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
>> Subject: Re: [ckan-dev] CKAN 2.2 Error 500 after trying to register
>> user using reCAPTCHA
>> Message-ID:
>> <CALGFUD5b=
>> 3HR6ZbO8vJnV1vZwD-bf3_cizT+pnHaPZP65GSRjg at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hrm, can you test locally with debug = True? (please do *NOT* try this in
>> production) That might give you a traceback. I can't reproduce this
>> locally
>> though.
>>
>> Nigel Babu
>> Developer, Open Knowledge
>>
>>
>> On 26 June 2014 23:29, CKAN UGIS <ckan.ugis at gmail.com> wrote:
>>
>> > Hello,
>> >
>> > After updating my CKAN instance from 2.0.3 to 2.2 I decided to add
>> > reCaptcha to prevent spambots from registering.
>> >
>> > I did as the documentation said, uncommented a couple lines in
>> > production.ini, added private and public keys. Reloaded the web server.
>> > After that, captcha does show on registration form, but after I fill all
>> > the fields and press "Create Account" I'm being shown "Error 500" page.
>> >
>> > Unfortunately, I couldn't find where exactly the error happens in Apache
>> > error log.
>> >
>> > Please tell what can I do to troubleshoot this. Or maybe I should
>> provide
>> > some additional info?
>> >
>> > Regards,
>> > Dmitry.
>> >
>> > _______________________________________________
>> > 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/20140627/194e1a79/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/optionss/ckan-dev
>>
>>
>> ------------------------------
>>
>> End of ckan-dev Digest, Vol 44, Issue 52
>> ****************************************
>>
>
>
> _______________________________________________
> 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/20140701/0ee4cc5e/attachment-0002.html>
More information about the ckan-dev
mailing list