Ticket #7400 (closed Bug: fixed)

Opened 9 years ago

Last modified 8 years ago

UnicodeDecodeError when reverting versions

Reported by: oferw Owned by: alecm
Priority: major Milestone: 3.1.3
Component: Versioning Version:
Keywords: Cc:


versioning view looking on the version of a page  http://plone3.sixfeetup.com/5e05e15d95d55df/versions_history_form

and click on the link to view revertversion  http://plone3.sixfeetup.com/5e05e15d95d55df/revertversion?version_id=0

Log Undo Ownership Interfaces Security

Site Error Log Site Error Log at /error_log Exception traceback

Time 2007/11/24 05:31:07.350 US/Pacific User Name (User Id) siteadmin (siteadmin) Request URL  http://plone3.sixfeetup.com/5e05e15d95d55df/revertversion Exception Type UnicodeDecodeError Exception Value 'ascii' codec can't decode byte 0xd7 in position 0: ordinal not in range(128)

Traceback (innermost last):

  • Module ZPublisher.Publish, line 119, in publish
  • Module ZPublisher.mapply, line 88, in mapply
  • Module ZPublisher.Publish, line 42, in call_object
  • Module Products.CMFCore.FSPythonScript, line 140, in call
  • Module Shared.DC.Scripts.Bindings, line 313, in call
  • Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  • Module Products.CMFCore.FSPythonScript, line 196, in _exec
  • Module None, line 7, in revertversion <FSPythonScript at /PloneDemo/revertversion used for /PloneDemo/5e05e15d95d55df> Line 7

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 0: ordinal not in range(128)

Display traceback as text

REQUEST form version_id '0' cookies utma '125055752.1759768654.1195322039.1195322039.1195908863.2' utmz '125055752.1195322039.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)' utmc '125055752' ac 'ud7mwJW/7/2RZgKTEZV+s0mKoOQgc2l0ZWFkbWlu' lazy items SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>> other TraversalRequestNameStack [] LANGUAGE u'he' AUTHENTICATED_USER <PloneUser 'siteadmin'> URL ' http://plone3.sixfeetup.com/5e05e15d95d55df/revertversion' VirtualRootPhysicalPath (, 'PloneDemo') VIRTUAL_URL ' http://plone3.sixfeetup.com/5e05e15d95d55df/revertversion' SERVER_URL ' http://plone3.sixfeetup.com' LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0xedbbaec> AUTHENTICATION_PATH 'PloneDemo/virtual_hosting' traverse_subpath [] _ec_cache {135207456: <Products.PageTemplates.Expressions.ZopeContext object at 0xf8d908c>} ac 'ud7mwJW/7/2RZgKTEZV+s0mKoOQgc2l0ZWFkbWlu' version_id '0' PUBLISHED <FSPythonScript at /PloneDemo/revertversion used for /PloneDemo/5e05e15d95d55df> ACTUAL_URL ' http://plone3.sixfeetup.com/5e05e15d95d55df/revertversion' VIRTUAL_URL_PARTS (' http://plone3.sixfeetup.com', '5e05e15d95d55df/revertversion') URL0  http://plone3.sixfeetup.com/5e05e15d95d55df/revertversion URL1  http://plone3.sixfeetup.com/5e05e15d95d55df URL2  http://plone3.sixfeetup.com BASE0  http://plone3.sixfeetup.com BASE1  http://plone3.sixfeetup.com BASE2  http://plone3.sixfeetup.com/5e05e15d95d55df BASE3  http://plone3.sixfeetup.com/5e05e15d95d55df/revertversion environ CONNECTION_TYPE 'close' HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' HTTP_USER_AGENT 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv: Gecko/20071025 Firefox/' HTTP_REFERER ' http://plone3.sixfeetup.com/5e05e15d95d55df/versions_history_form' SERVER_NAME '' GATEWAY_INTERFACE 'CGI/1.1' SERVER_SOFTWARE 'Zope/(Zope 2.10.4-final, python 2.4.4, freebsd6) ZServer/1.1 Plone/3.0' REMOTE_ADDR '' HTTP_ACCEPT_LANGUAGE 'he' SCRIPT_NAME REQUEST_METHOD 'GET' HTTP_HOST 'app01:51053' PATH_INFO '/VirtualHostBase/http/plone3.sixfeetup.com:80/PloneDemo/VirtualHostRoot/5e05e15d95d55df/revertversion' SERVER_PORT '51053' SERVER_PROTOCOL 'HTTP/1.0' QUERY_STRING 'version_id=0' HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' channel.creation_time 1195911067 HTTP_ACCEPT_ENCODING 'gzip,deflate' HTTP_COOKIE 'utma=125055752.1759768654.1195322039.1195322039.1195908863.2; utmz=125055752.1195322039.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); utmc=125055752; ac="ud7mwJW/7/2RZgKTEZV+s0mKoOQgc2l0ZWFkbWlu"' PATH_TRANSLATED '/VirtualHostBase/http/plone3.sixfeetup.com:80/PloneDemo/VirtualHostRoot/5e05e15d95d55df/revertversion'

Change History

comment:1 Changed 8 years ago by limi

  • Summary changed from RTL - revertversion to UnicodeDecodeError when reverting versions

This is not an RTL-specific bug.

comment:2 Changed 8 years ago by sparcd

I can replicate this on a brand new plone 3.1.1 instance. Create a new instance, go to the home page, click on edit, then click on save. Go to the history tab and try to revert to previous version....

This is a major problem... I haven't been able to successfully revert any version of any page on my sites...

comment:3 follow-up: ↓ 4 Changed 8 years ago by sparcd

  • Owner changed from oferw to alecm
  • Keywords rtl removed
  • Component changed from RTL to Versioning

comment:4 in reply to: ↑ 3 Changed 8 years ago by dberhane

Replying to sparcd: Yes, I agree this is a major issue for Plone 3.1.1 (at least on Windows 2003 server). The Versioning feature is completely unusable. The Versioning feature is working fine on Plone 3.0.6 (Windows 2003 server). In both cases, with have used Plone Windows installer.

We've too recently migrated to Plone 3.1.1 and we've not been able to use the versioning feature since upgrade. I wish we've known about this bug, we could have delayed the migration.

I hope this bug get an urgent attention.

cheers, Daniel.

comment:5 Changed 8 years ago by alecm

  • Status changed from new to closed
  • Resolution set to fixed

This issue is fixed in version 1.1.7 ( http://plone.org/products/cmfeditions/releases/1.1.7) which will hopefully be included with Plone 3.1.2.

Note: See TracTickets for help on using tickets.