[ckan-dev] CKAN dev instance hanging
Julius Chrobak
julius at mingle.io
Thu Jul 18 07:13:30 UTC 2013
re 1) yes, it eventually gets the error you're talking about:
Error - <type 'exceptions.RuntimeError'>: maximum recursion depth exceeded
URL: http://127.0.0.1:8080/
File '/usr/lib/ckan/default/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__
app_iter = self.application(environ, sr_checker)
re 2) the last commit
~/ckan/lib/default/src/ckan $ git log
commit 590ad4060b811aa6a9f3f490e9014d67d806e254
Merge: a925f1c 779952c
Author: amercader <amercadero at gmail.com>
Date: Thu Jul 4 09:46:45 2013 +0100
Merge branch '1071-close-div'
re 3) pip freeze response
Babel==0.9.6
Beaker==1.6.4
FormAlchemy==1.4.3
FormEncode==1.2.6
Genshi==0.6
Jinja2==2.7
Mako==0.8.1
MarkupSafe==0.18
Pairtree==0.7.1-T
Paste==1.7.5.1
PasteDeploy==1.5.0
PasteScript==1.7.5
Pygments==1.6
Pylons==0.9.7
Routes==1.13
SQLAlchemy==0.7.8
Tempita==0.5.1
WebError==0.10.3
WebHelpers==1.3
WebOb==1.0.8
WebTest==1.4.3
apachemiddleware==0.1.1
argparse==1.2.1
-e git+https://github.com/okfn/ckan.git@590ad4060b811aa6a9f3f490e9014d67d806e254#egg=ckan-dev
decorator==3.4.0
distribute==0.6.24
fanstatic==0.12
nose==1.3.0
ofs==0.4.1
psycopg2==2.4.5
python-dateutil==1.5
python-openid==2.2.5
pyutilib.component.core==4.6
repoze.lru==0.6
repoze.who==1.0.19
repoze.who-friendlyform==1.0.8
repoze.who.plugins.openid==0.5.3
requests==1.1.0
simplejson==3.3.0
solrpy==0.9.5
sqlalchemy-migrate==0.7.2
unicodecsv==0.9.4
vdm==0.11
wsgiref==0.1.2
zope.interface==4.0.5
And yes, rebuilding the virtual env did the trick! Thanks a lot for your support.
Regards,
Julius
On Jul 17, 2013, at 2:03 PM, Sean Hammond wrote:
>> Hi All,
>>
>> I'm trying to install CKAN from the source following the http://docs.ckan.org/en/ckan-2.0/install-from-source.html documentation.
>>
>> I've got all the way to the point "9. Run CKAN in the development web server" but this is what happens:
>>
>> 1. terminal
>> $ paster serve /etc/ckan/default/development.ini
>> Starting server in PID 11273.
>> serving on http://127.0.0.1:8080
>>
>>
>> 2. terminal
>> $ curl http://127.0.0.1:8080
>>
>> I get no reply. The curl is hanging and there is nothing being printed in the first terminal either. However, the paste process keeps using almost 100% CPU.
>>
>> Does anyone know what is going on here?
>
> I don't know what's going on, but I just had a similar problem.
>
> Are you still able to reproduce this problem? If so could you please:
>
> 1. See if you eventually get a 'maximum recursion depth exceeded' error,
> if you wait long enough for CKAN to respond (this can take several
> minutes)
>
> 2. Tell us what version of CKAN you installed. Ideally if you could run
> `git log` in your CKAN source dir and tell us what commit you're on
>
> 3. Run `pip freeze` with your virtualenv activated and paste the output
> in a mail to the list
>
> After you've done 1, 2 and 3: what seemed to fix the problem for me was
> destroying my virtualenv and recreating it again. Just deactivate your
> virtualenv, delete your virtualenv directory, and repeat the "Install
> CKAN into a Python virtual environment" steps from the source install
> instructions:
>
> http://docs.ckan.org/en/latest/install-from-source.html#install-ckan-into-a-python-virtual-environment
>
> You shouldn't have to repeat the rest of the source install steps.
>
> Let is know if the problem goes away
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130718/e508aee8/attachment-0001.html>
More information about the ckan-dev
mailing list