How do you comment on another message I will continue here. I repeat the question in case anyone has not read the other message.
We are trying to migrate eduCommons version from 2.3.1 to 3.1.1. but we are having many problems.
We have not succeeded the Pre-Migration Data.fs in version 2.3.1 because when we run the pre-migration script have many errors. The errors are due to changes, for example the ECCourse-->Folder, ECDocument-->Document, ECFolder-->Folder, ECLink-->Link, ...
We do not know what to do.
We try to eliminate all objects that produce error, but in the end we were left with only 3 courses that do not give error.
We are following step by step the migration instructions.
You asked me, on the other messsage:
The traceback we write in the other post was referring to the migration script.
The traceback that comes when you run the script as follows:
This error not only occurs with documents as well as other objects: links or courses.
What you think that is the problem?
There should be a 'reply' link to comment on a comment.
Looking through the traceback, it appears that a unicode error is being thrown somewhere during the process of getting data for each object.
"in getRaw return self.raw.encode(encoding) File "encodings/cp1252.py", line 18, in encode UnicodeEncodeError: 'charmap' codec can't encode character u'\x89' in position 186: "
I wonder if it would be possible for you to zip download the course that contains that file 'encodings/cp1252.py'. I have a migration environment set up; if I had the course contents, I could better isolate and debug the problem.
Lineberger Comprehsensive Cancer Center
University of North Carolina at Chapel Hill
Pre-migration: I am seeing a similar problem when trying to do a few things on our site. When trying to do an IMS export of courses, I get a "UnicodeEncodeError".
Looking through the traceback:
Exception Type UnicodeEncodeError
Exception Value 'ascii' codec can't encode character u'\u201c' in position 750: 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 zope.formlib.form, line 769, in __call__
Module Products.Five.formlib.formbase, line 55, in update
Module zope.formlib.form, line 750, in update
Module zope.formlib.form, line 594, in success
Module Products.IMSTransport.browser.imstransportform, line 174, in action_export
Module Products.IMSTransport.utilities.utils, line 68, in exportZipfile
Module Products.IMSTransport.Manifest, line 122, in writeManifest
Module Products.IMSTransport.Manifest, line 167, in _writeObjectData
Module Products.IMSTransport.Manifest, line 305, in writeFile
Module zipfile, line 460, in writestr
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 750: ordinal not in range(128)
I can zip download the course, but I cannot IMS export it.
The problem can be solved by enabling the "default-zpublisher_encoding utf-8" to render the characters of other languages.
|Free forum by Nabble||Edit this page|