Hi
I've been playing with svn checkout of Plone2.5 (beta1)
- 24/03/06. I tried installing some 3rd party products
I use regularly, of those PloneArticle installs no
problem but PloneGlossary fails on install :-
There were Errors during install, check Transcript
2006-03-24 16:13:09
failed:
Traceback (most recent call last):
File
"C:\Zope-Instance\Products\CMFQuickInstallerTool\QuickInstallerTool.py",
line 320, in installProduct
res=install(portal)
File "C:\Program
Files\Zope-2.8.6-final\lib\python\Products\ExternalMethod\ExternalMethod.py",
line 225, in __call__
try: return f(*args, **kw)
File
"C:\Zope-Instance\Products\PloneGlossary\Extensions\Install.py",
line 89, in install
install_tool(self, out)
File
"C:\Zope-Instance\Products\PloneGlossary\Extensions\Install.py",
line 38, in install_tool
add_tool =
self.manage_addProduct[PROJECTNAME].manage_addTool
AttributeError: manage_addTool
rob
Logged In: YES
user_id=1453406
I have a similar problem but the error trace was:
2006-05-10T18:32:31 ERROR Zope Could not import
Products.PloneGlossary
Traceback (most recent call last):
File "C:\Archivos de
programa\Zope-2.8.5-final\lib\python\OFS\Application.py",
line 698, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File
"C:\Zope-Instance\Products\PloneGlossary\__init__.py", line
22, in ?
from Products.PloneGlossary.types import *
File
"C:\Zope-Instance\Products\PloneGlossary\types\__init__.py",
line 8, in ?
import PloneGlossary
File
"C:\Zope-Instance\Products\PloneGlossary\types\PloneGlossary.py",
line 28, in ?
from Products.PloneGlossary.PloneGlossaryCatalog import
PloneGlossaryCatalog, manage_addPloneGlossaryCatalog
File
"C:\Zope-Instance\Products\PloneGlossary\PloneGlossaryCatalog.py",
line 24, in ?
from Products.Archetypes.ReferenceEngine import
ReferenceResolver
ImportError: cannot import name ReferenceResolver
Logged In: YES
user_id=1453406
solved changing line 24 of PloneGlossaryCatalog.py (SVN
version) from:
from Products.Archetypes.ReferenceEngine import
ReferenceResolver
to:
from Products.Archetypes.UIDCatalog import UIDResolver
PloneGlossary is up and running on Plone 2.5.
Logged In: YES
user_id=1561944
hi,
to use Plone Glossary with Plone 2.5 (Archetypes >= 1.4)
you will have to modifiy the section 'Archetypes imports' in
PloneGlossaryCatalog.py:
# Archetypes imports
...
# old (Archetypes versions < 1.4):
#from Products.Archetypes.ReferenceEngine import
RferenceResolver
# replace with new:
from Products.Archetypes.UIDCatalog import UIDResolver
works for me...
lara