[Zope] Problem On Rebuild

tonylabarbara at aol.com tonylabarbara at aol.com
Mon Mar 5 12:27:32 EST 2007


Hi;
I'm building out a new server and trying to import all the functionality from the old OS-corrupted server. The Web site built on this server have a directory structure that's easy for identifying stuff but makes for long URLS:
 
example.com/dir1/dir2/dir3/dir4/index.pt
 
They're always the same dirs and they appear on every page of every site. The sysadmin before me had a neat little script buried somewhere that made those dirs disappear when they posted to a browser. That's important for SEO, since the SEs only go a couple dirs deep. But I'll be darned if I know where this guy put that script! I tried to tarball his old Zope build-out and unpack and use it, but I got this error:
 
Error: The object named by "DBTab.ClassFactories.autoClassFactory" could not be imported
Traceback (most recent call last):
File "/usr/local/zope/278/lib/python/Zope/Startup/datatypes.py", line 106, in importable_name
package = __import__(n, g, g, component)
File "/usr/local/zope/278/lib/python/DBTab/ClassFactories.py", line 18, in ?
import OFS.Uninstalled
File "/usr/local/zope/278/lib/python/OFS/__init__.py", line 14, in ?
import Products.ReplaceSupport.AdvancedPatch
File "/usr/local/zope/instance1/Products/ReplaceSupport/__init__.py", line 17, in ?
import Handlers
File "/usr/local/zope/instance1/Products/ReplaceSupport/Handlers/__init__.py", line 30, in ?
from Globals import package_home
File "/usr/local/zope/278/lib/python/Globals.py", line 23, in ?
import Acquisition, ComputedAttribute, App.PersistentExtra, os
File "/usr/local/zope/278/lib/python/App/PersistentExtra.py", line 14, in ?
from class_init import default__class_init__
File "/usr/local/zope/278/lib/python/App/class_init.py", line 14, in ?
from AccessControl.PermissionRole import PermissionRole
File "/usr/local/zope/278/lib/python/AccessControl/__init__.py", line 16, in ?
import DTML
File "/usr/local/zope/278/lib/python/AccessControl/DTML.py", line 18, in ?
from DocumentTemplate import DT_Util
File "/usr/local/zope/278/lib/python/DocumentTemplate/__init__.py", line 22, in ?
from DocumentTemplate import String, File, HTML, HTMLDefault, HTMLFile
File "/usr/local/zope/278/lib/python/DocumentTemplate/DocumentTemplate.py", line 112, in ?
from DT_String import String, File
File "/usr/local/zope/278/lib/python/DocumentTemplate/DT_String.py", line 17, in ?
from DT_Util import ParseError, InstanceDict, TemplateDict, render_blocks, str
File "/usr/local/zope/278/lib/python/DocumentTemplate/DT_Util.py", line 42, in ?
from cDocumentTemplate import InstanceDict, TemplateDict, \
ImportError: /usr/local/zope/278/lib/python/DocumentTemplate/cDocumentTemplate.so: Undefined symbol "PyUnicodeUCS2_DecodeLatin1"
 
I'm not sure if I should even be trying that, but I thought maybe he put the script in there, since I can't find it as a prod. or anything else through the ZCMI. Ideas?
TIA,
Tony
________________________________________________________________________
AOL now offers free email to everyone.  Find out more about what's free from AOL at AOL.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070305/81efdd59/attachment.htm


More information about the Zope mailing list