[ECODP-dev] latest publisher update creates problems

Bert Van Nuffelen bert.van.nuffelen at tenforce.com
Wed Jun 26 14:46:15 UTC 2013


Hi,

also this json should be now the default in the ckan code. Otherwise
we are out of sync.

Bert

2013/6/26 Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>:
> Hi,
>
> when uploading the latest PO publishers json we get the next error
>
>
>
> USERHOME=/applications/ecodp/users/ecodp
> CKANHOME=$USERHOME/ckan
>
> source $CKANHOME/bin/paster.sh
>
> paster --plugin=ckanext-ecportal ecportal update-publishers -c $CKAN_INI
>
>
> -bash-4.1$ ./ckan_update_publishers.sh
> 2013-06-26 16:35:54,164 WARNI [root] No english version of Association
> française de normalisation [afn].  Skipping
> 2013-06-26 16:35:54,166 WARNI [root] No english version of
> НЕОКОНЧАТЕЛНИ ДАННИ [op_datpro].  Skipping
> Traceback (most recent call last):
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/bin/paster",
> line 9, in <module>
>     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
> line 104, in run
>     invoke(command, command_name, options, args[1:])
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
> line 143, in invoke
>     exit_code = runner.run(args)
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
> line 238, in run
>     result = self.command()
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/commands.py",
> line 123, in command
>     self.update_publishers()
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/commands.py",
> line 658, in update_publishers
>     logic.get_action('group_update')(context, group)
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/logic.py",
> line 95, in group_update
>     return logic.action.update.group_update(context, data_dict)
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/logic/action/update.py",
> line 452, in group_update
>     group = model_save.group_dict_save(data, context)
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/dictization/model_save.py",
> line 386, in group_dict_save
>     group = d.table_dict_save(group_dict, Group, context)
>   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/dictization/__init__.py",
> line 133, in table_dict_save
>     setattr(obj, key, value)
> AttributeError: can't set attribute
>
> The message is not very clear if there is a problem with the code or the data.
>
> 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



-- 
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