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:
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 
Traceback (most recent call last):
File "/usr/local/zope/278/lib/python/Zope/Startup/datatypes.py", line 106, in 
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, \
/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?
AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.com.
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to