hi again,

this is a self-reply for documentation purpose ;-)

after i found a hint on 
https://weblion.psu.edu/trac/weblion/wiki/Internationalization
which points to an 'dirty' installation of python i reinstalled my whole python enviroment and rerun all the parts below.

i also tried that with plone 3.2.2 and zope 2.10.7, but the problem is still the same :-(



hi list,

today i tried to install plone 3.2.1 on my machine (mbp with mac os x 10.5.6, python 2.4.4). to do so i updated my zopeskel to get the new plone3_buildout template.

and created a plone buildout using paster.
version set to 3.2.1 (by default)
and zope_installation=/path/to/my/zope2.10.6/installation

i've also added a development.cfg to extend the buildout with pil:
########
[buildout]
extends = buildout.cfg
parts += PIL
eggs += PIL

find-links += http://dist.repoze.org/plone/latest

[PIL]
# Build egg with Chris McDonough's custom packaging of setuptools- compatibile PIL
# http://article.gmane.org/gmane.comp.web.zope.devel/13999
recipe = zc.recipe.egg
egg = PIL==1.1.6
########
then runnning bootstrap and bin/buildout -c development.cfg

bin/instance fg gives me the following traceback:
------------------------
iham:std_plone iham$ ./bin/instance fg
/Users/iham/sandbox/std_plone/parts/instance/bin/runzope -X debug- mode=on 2009-02-26 12:08:46 INFO ZServer HTTP server started at Thu Feb 26 12:08:46 2009
        Hostname: 0.0.0.0
        Port: 8080
Traceback (most recent call last):
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/Zope2/ Startup/run.py", line 56, in ?
   run()
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/Zope2/ Startup/run.py", line 21, in run
   starter.prepare()
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/Zope2/ Startup/__init__.py", line 102, in prepare
   self.startZope()
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/Zope2/ Startup/__init__.py", line 278, in startZope
   Zope2.startup()
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/Zope2/ __init__.py", line 46, in startup
   from Zope2.App.startup import startup as _startup
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/Zope2/ App/startup.py", line 32, in ?
   import OFS.Application
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/OFS/ Application.py", line 30, in ?
   from App.ApplicationManager import ApplicationManager
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/App/ ApplicationManager.py", line 92, in ?
   class DatabaseChooser (SimpleItem.SimpleItem):
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/App/ ApplicationManager.py", line 104, in DatabaseChooser
   manage_main = PageTemplateFile('www/chooseDatabase.pt', globals())
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/ Products/PageTemplates/PageTemplateFile.py", line 90, in __init__
   self.pt_edit( content, guess_type(filename, content))
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/zope/ pagetemplate/pagetemplate.py", line 83, in pt_edit
   self.write(text)
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/zope/ pagetemplate/pagetemplate.py", line 151, in write
   self._cook()
File "/Users/iham/sandbox/enviroment/zope/2.10.6/lib/python/zope/ pagetemplate/pagetemplate.py", line 202, in _cook
   self._v_warnings = parser.getWarnings()
AttributeError: HTMLTALParser instance has no attribute 'getWarnings'
------------------------

i've set up another plone3_buildout without the shared zope_installation to fetch the version plone prefers. doing this the buildout will fetch zope-2.10.6-final (which is the same version i use on my shared zope installation) and will startup without errors.

so i thought my shared zope could have been corrupted in any way and reinstalled it using the tarball the buildout downloaded. new plone3_buildout with shared zope but no luck, again the same traceback as posted above.

my last try was to test it with an older ploneversion.
running paster again and set plone version to 3.1.7 and zope_installation to the shared zope installation.
bootstrap and bin/buildout again, then bin/instance fg.
no problem with that one!

any idea what i'm doing wrong?
or is plone 3.2.1 used to use a newer zope version?
(i would be surprised, when plonebuildout fetches 2.10.6 by its own)
or does it simply not support shared zope installations?
(that would surprise me even more)


regards
iham


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to