[ECODP-dev] latest publisher update creates problems

John Glover john.glover at okfn.org
Thu Jun 27 08:49:00 UTC 2013


Hi Bert,

Thanks, this was a bug, I have pushed a fix to our Git repos and updated
the commit hash in the release notes (in our shared folder on Google
Drive). I have also added the update corporate bodies file, and have run
the command on the test server.

Note: you can often get more information by setting the CKAN log level to
INFO instead of WARN, although I don't think it would have helped much in
this specific case.

Regards,
John


On 26 June 2013 16:46, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>wrote:

> 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
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130627/93f21fa3/attachment.html>


More information about the ecodp-dev mailing list