[ckan-discuss] Failed to initialise CKAN database
Richard.Goh at csiro.au
Richard.Goh at csiro.au
Mon Aug 19 12:41:29 BST 2013
Hi Adria,
Many thanks for your reply. I managed to get v2.0 and v2.1 installed on Ubuntu 12.04.
In addition, v2.0 works well with release-2.0 of ckanext-spatial and ckanext-harvest but not with stable release and also with CKAN v2.1.
The error I encountered previously was probably caused by installing CKAN v2.0 on Ubuntu 12.10.
I'm happy with my evaluation on v2.0 for the time being.
Cheers
Richard Goh
________________________________________
From: Adrià Mercader [adria.mercader at okfn.org]
Sent: Monday, 19 August 2013 7:16 PM
To: Goh, Richard (CESRE, Kensington)
Cc: CKAN discuss
Subject: Re: [ckan-discuss] Failed to initialise CKAN database
Hi Richard,
This is strange, I just tested the package on a brand new Ubuntu 12.04
instance and work as expected.
Did you definitely used a new Ubuntu 12.04 64bit instance?
It sounds like Python was not properly installed, did you get any
unexpected log messages during the install?
Adrià
On 15 August 2013 04:44, <Richard.Goh at csiro.au> wrote:
> Hi all,
>
>
>
> I tried v2.1 instead and I managed to get the CKAN database initialised.
>
>
>
> Not sure though why the database initialisation was failing on this CKAN
> package: python-ckan_2.0_amd64.deb.
>
>
>
> Cheers
>
> Richard
>
>
>
> From: Goh, Richard (CESRE, Kensington)
> Sent: Wednesday, 14 August 2013 2:52 PM
> To: 'ckan-discuss at lists.okfn.org'
> Subject: Failed to initialise CKAN database
>
>
>
> Hi all,
>
>
>
> I followed the following link to install CKAN
> (http://docs.ckan.org/en/latest/install-from-package.html).
>
>
>
> I encountered the following error when I was trying to initialise CKAN
> database (sudo ckan db init):
>
>
>
> Traceback (most recent call last):
>
> ...
>
> File "/usr/lib/python2.7/compiler/__init__.py", line 29, in <module>
>
> from compiler.transformer import parse, parseFile
>
> File "/usr/lib/python2.7/compiler/transformer.py", line 29, in <module>
>
> import parser
>
> ImportError: /usr/lib/ckan/default/lib/python2.7/lib-dynload/parser.so:
> undefined symbol: _PyNode_SizeOf
>
>
>
> I tried to re-initialise virtualenv with “virtualenv --system-site-packages
> .” and also tried paster CLI without any luck.
>
>
>
> Has anyone encountered the same error and what was your solution?
>
>
>
> Cheers
>
> Richard Goh
>
>
>
>
>
>
> _______________________________________________
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-discuss
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss
>
More information about the ckan-discuss
mailing list