Hello Andrea,
we have spotted and fixed quite a few UnicodeDecodeErrors in
collective.contentlicensing, this sounds like another one.
I would look for non-ASCII character in your site's Title, the author's
name, or in the title of a video.
Adding a .decode('utf-8','ignore') in said strings in line 100 in
copyrightbyline.py may address the issue.
Let me know how it goes and if you need any help pushing the fix back
to
collective.contentlicensing. It's in the github Plone collective:
https://github.com/collective/collective.contentlicensing
Cheers,
Dimitris
On 14.03.2012 12:20, Andrea Amantini wrote:
Dear Plumi Community,
After the sources have been set to track
master branches ( a8ea9995ff ... )
my develop instance of Plumi 4.3 complains each time
I upload a video.
By the very first view after upload I get
an Unicodedecode error from collective.contentlicensing.
According to the trace (
https://gist.github.com/2035196
) the error is called whenever a plumi template
include the partial: context/@@copyright_byline_view
which calls: view/getCitationInfo
Any suggestion for a solution?
I apologize if this issue has been already
discussed,
Cheers,
Andrea
PS) I see collective.contentlicensing
has been changed recently for something which
could be related to this issue.
Maybe .decode('utf-8','ignore')
should be added inside getCitationInfo as well?
But I sure dont have strange characters in the
Member's name...
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss
--
https://unweb.me
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss