[ckan-discuss] Failed to initialise CKAN database

Adrià Mercader adria.mercader at okfn.org
Mon Aug 19 12:16:43 BST 2013


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