List Info

Thread: UnicodeDecodeError




UnicodeDecodeError
user name
2007-02-20 04:34:49
This error happens, when I change the default charset of the
portal.
But here I have a plone site which always was set to utf-8.
This was
never changed.

Now I want to import a folder with content as zexp into a
migrated
Plone 2.1.4 (from 2.0.5) and I get this Traceback. Where do
I have to
change anything?

Error type: UnicodeDecodeError
Error value: 'ascii' codec can't decode byte 0xc3 in
position 95:
ordinal not in range(128)

Taceback:
Traceback (innermost last):
 Module ZPublisher.Publish, line 114, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 40, in call_object
 Module OFS.ObjectManager, line 575, in manage_importObject
 Module OFS.ObjectManager, line 597, in
_importObjectFromFile
 Module OFS.ObjectManager, line 307, in _setObject
 Module Products.CMFCore.CMFCatalogAware, line 199, in
manage_afterAdd
 Module Products.CMFCore.CMFCatalogAware, line 235, in
__recurse
 Module Products.Archetypes.BaseFolder, line 107, in
manage_afterAdd
 Module Products.CMFCore.CMFCatalogAware, line 198, in
manage_afterAdd
 Module Products.Archetypes.CatalogMultiplex, line 26, in
indexObject
 Module Products.CMFPlone.CatalogTool, line 433, in
catalog_object
 Module Products.ZCatalog.ZCatalog, line 567, in
catalog_object
 Module Products.ZCatalog.Catalog, line 360, in
catalogObject
 Module Products.ZCTextIndex.ZCTextIndex, line 187, in
index_object
 Module Products.Archetypes.BaseObject, line 537, in
SearchableText
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in
position
95: ordinal not in range(128)

_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: UnicodeDecodeError
country flaguser name
Sweden
2007-02-20 05:24:16
Export/import is not a valid migration strategy. Imports
require the  
exact same versions of things at both ends. You should copy
your  
Data.fs to the 2.1.4 instance and run the Plone migrations. 

Especially from 2.0 to 2.1 where all CMF content needs to be
 
converted to ATCT content.

Stefan


On 20. Feb 2007, at 11:34, Stephan Goeldi wrote:

> This error happens, when I change the default charset
of the portal.
> But here I have a plone site which always was set to
utf-8. This was
> never changed.
>
> Now I want to import a folder with content as zexp into
a migrated
> Plone 2.1.4 (from 2.0.5) and I get this Traceback.
Where do I have to
> change anything?
>
> Error type: UnicodeDecodeError
> Error value: 'ascii' codec can't decode byte 0xc3 in
position 95:
> ordinal not in range(128)

--
It doesn't necessarily do it in chronological order,
though.
   --Douglas Adams



_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

Re: UnicodeDecodeError
country flaguser name
Norway
2007-02-21 05:00:43
On Tue, 20 Feb 2007 11:34:49 +0100, Stephan Goeldi  
<gozopegmail.com> wrote:

> Now I want to import a folder with content as zexp into
a migrated
> Plone 2.1.4 (from 2.0.5) and I get this Traceback.
Where do I have to
> change anything?

http://plone.org/documentation/faq/importing-2.
0-content-into-2.1

-- 
Alexander Limi ยท http://limi.net


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )