[ECODP-dev] URGENT investigation to be done

Bert Van Nuffelen bert.van.nuffelen at tenforce.com
Thu Jan 24 16:13:21 UTC 2013


Hi,

Today I bumped into the following problem with the CKAN engine.
John upgraded the odp.tenforce.com site with an existing DB.

Since I did the rdf2ckan execution which screwed the database I have
problems with the system.
I restored an old backup this afternoon and I was happy that the
restore went successfull.
But to mine surprise the same error appears, when browsing a dataset.

Can you please investigate as I cannot accept at this moment the rpm.

Something additionally:

[root at ecodp-odp3 ckan_management]# pwd
/applications/ecodp/users/ecodp/ckan_management
[root at ecodp-odp3 ckan_management]# ./ckan_rdf_export.sh
2013-01-24 17:03:55,345 INFO  [ckan.new_authz] Using auth profile at
ckan.logic.auth.publisher
Traceback (most recent call last):
  File "/applications/ecodp/users/ecodp/ckan/lib/ecodp/pyenv/bin/paster",
line 8, in <module>
    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
  File "/applications/ecodp/users/ecodp/ckan/lib/ecodp/pyenv/lib/python2.6/site-packages/paste/script/command.py",
line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/applications/ecodp/users/ecodp/ckan/lib/ecodp/pyenv/lib/python2.6/site-packages/paste/script/command.py",
line 123, in invoke
    exit_code = runner.run(args)
  File "/applications/ecodp/users/ecodp/ckan/lib/ecodp/pyenv/lib/python2.6/site-packages/paste/script/command.py",
line 218, in run
    result = self.command()
  File "/applications/ecodp/users/ecodp/ckan/lib/ecodp/pyenv/src/ckan/ckan/lib/cli.py",
line 404, in command
    self.export_datasets(self.args[0])
  File "/applications/ecodp/users/ecodp/ckan/lib/ecodp/pyenv/src/ckan/ckan/lib/cli.py",
line 431, in export_datasets
    context, {'id': dataset_name}
  File "/applications/ecodp/users/ecodp/ckan/lib/ecodp/pyenv/src/ckanext-ecportal/ckanext/ecportal/plugin.py",
line 238, in package_show
    result['resources'].sort(key=operator.itemgetter('name'))
KeyError: 'name'


kind regards,

Bert

-- 
Bert Van Nuffelen

Semantic Technologies Software Architect at TenForce
www.tenforce.be

Bert.Van.Nuffelen at tenforce.com
Office: +32 (0)16 31 48 60
Mobile:+32 479 06 24 26
skype: bert.van.nuffelen




More information about the ecodp-dev mailing list