Moving Document Library Product
Hi I have problems moving Document Library instances. I get errors. The entire ZODB is 300MBs and the volume has more then 3Gigs free space. The problem occurs when trying to paste [I/O Error: not enough space on the device] the library (copy command seems to work) or import (export seems to work). DocumentLibrary version 1.0rc1 Zope 2.4 (I am trying to migrate a site to Zope 2.7) python 2.1.3 (I'm using python 2.3.5 for Zope 2.7) Solaris 8 The traceback from an import: Error Type: ImportError Error Value: No module named Splitter Traceback (innermost last): Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module OFS.ObjectManager, line 543, in manage_importObject Module OFS.ObjectManager, line 560, in _importObjectFromFile Module ZODB.ExportImport, line 85, in importFile Module ZODB.Transaction, line 241, in commit Module ZODB.Transaction, line 356, in _commit_objects Module ZODB.Connection, line 344, in commit Module ZODB.ExportImport, line 153, in _importDuringCommit ImportError: No module named Splitter Any help appreciated! Cheers DR
--On 17. August 2005 17:06:36 +0100 David <davidr@talamh.org.uk> wrote:
Error Type: ImportError Error Value: No module named Splitter
Traceback (innermost last):
Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module OFS.ObjectManager, line 543, in manage_importObject Module OFS.ObjectManager, line 560, in _importObjectFromFile Module ZODB.ExportImport, line 85, in importFile Module ZODB.Transaction, line 241, in commit Module ZODB.Transaction, line 356, in _commit_objects Module ZODB.Connection, line 344, in commit Module ZODB.ExportImport, line 153, in _importDuringCommit ImportError: No module named Splitter
Could it be that it tries to import something from the old SearchIndex package which had been removed some decades ago from the Zope tree? -aj
David wrote at 2005-8-17 17:06 +0100:
... The problem occurs when trying to paste [I/O Error: not enough space on the device] the library (copy command seems to work) or import (export seems to work).
Hmmm: This verbal report does not at all fits to the traceback below... An "IOError: not enough space" is very different from an "ImportError: No module named Splitter". In the future, please try to present consistent information (traceback and verbal description filling together).
DocumentLibrary version 1.0rc1 Zope 2.4 (I am trying to migrate a site to Zope 2.7)
Move the "Data.fs"...
... Module ZODB.Connection, line 344, in commit Module ZODB.ExportImport, line 153, in _importDuringCommit ImportError: No module named Splitter
If you really care, give it a module "Splitter". Almost surely, after this, you will get different exceptions: Almost surely, Zope will expect some classes inside the "Splitter" module. Probably, a better way would be to locate the correct "Splitter" module in your old Zope and copy it to the new one. -- Dieter
[David]
... The problem occurs when trying to paste [I/O Error: not enough space on the device] the library (copy command seems to work) or import (export seems to work).
[Dieter Maurer]
Hmmm:
This verbal report does not at all fits to the traceback below...
An "IOError: not enough space" is very different from an "ImportError: No module named Splitter".
In the future, please try to present consistent information (traceback and verbal description filling together).
Yup! WRT "not enough space on the device" during a paste, I've heard of this happening when the directory used by Python for temporary files lives in (as it often does) a small partition. A temp file created by ExportImport.py can run out of disk space then. Here's to find out which directory Python uses for temp files: [tim@ds9 tim]$ python Python 2.3.5 (#1, Feb 16 2005, 10:31:52) ...
import tempfile tempfile.gettempdir() '/tmp'
If that's on a too-small partition, you can boost the partition size. Or you can tell Python to use a different directory for temp files, via setting an envar (TMPDIR should work for Linux boxes): [tim@ds9 tim]$ TMPDIR=~ python Python 2.3.5 (#1, Feb 16 2005, 10:31:52) ...
import tempfile tempfile.gettempdir() '/home/tim'
participants (4)
-
Andreas Jung -
David -
Dieter Maurer -
Tim Peters