kapilt / contentmirror

Automatically exported from code.google.com/p/contentmirror
1 stars 0 forks source link

Drop Product, Only egg installation for install docs #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Plone (3.2.2) on Windows using windows installer (buildout).
2. Create initial site and test working ok.
3. add contentmirror via buildout - in [productdistros] urls

What is the expected output? What do you see instead?
Expected - Plone still working - ready to configure contentmirror as next step.
Actual - Plone won't run - error thrown re zope.formlib (debug trace
below). on instance startup. 

What version of the product are you using? On what operating system?
a) Plone 3.2.2 on Windows XP SP2 (also tried on Windows Server 2003 - same
result.
b) ContentMirror 0.5.2b2 (via buildout)

Please provide any additional information below.
Trace from trying foreground execution: (bin\instance fg)
2009-08-04 12:50:30 ERROR Application Couldn't install CMFPlone
Traceback (most recent call last):
  File "c:\plone\zope2\lib\python\OFS\Application.py", line 786, in
install_prod
uct
    initmethod(context)
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\__i
nit__.py", line 110, in initialize
    migrations.executeMigrations()
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\__init__.py", line 4, in executeMigrations
    import v2_1, v2_5, v3_0, v3_1, v3_2
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\v2_1\__init__.py", line 2, in ?
    import final_two11
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\v2_1\final_two11.py", line 2, in ?
    from Products.CMFPlone.migrations.v3_0.alphas import enableZope3Site
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\v3_0\__init__.py", line 2, in ?
    import alphas
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\v3_0\alphas.py", line 82, in ?
    from plone.app.portlets.utils import convert_legacy_portlets
  File
"c:\plone\buildout-cache\eggs\plone.app.portlets-1.1.5.1-py2.4.egg\plone\
app\portlets\utils.py", line 11, in ?
    from plone.app.portlets.portlets import calendar
  File
"c:\plone\buildout-cache\eggs\plone.app.portlets-1.1.5.1-py2.4.egg\plone\
app\portlets\portlets\calendar.py", line 20, in ?
    from plone.app.portlets.portlets import base
  File
"c:\plone\buildout-cache\eggs\plone.app.portlets-1.1.5.1-py2.4.egg\plone\
app\portlets\portlets\base.py", line 24, in ?
    from plone.app.portlets.browser.formhelper import AddForm
  File
"c:\plone\buildout-cache\eggs\plone.app.portlets-1.1.5.1-py2.4.egg\plone\
app\portlets\browser\formhelper.py", line 3, in ?
    from zope.formlib import form
ImportError: No module named formlib
Traceback (most recent call last):
  File "C:\Plone\parts\instance\bin\servicewrapper.py", line 103, in ?
    run.run()
  File "c:\plone\zope2\lib\python\Zope2\Startup\run.py", line 21, in run
    starter.prepare()
  File "c:\plone\zope2\lib\python\Zope2\Startup\__init__.py", line 102, in
prepa
re
    self.startZope()
  File "c:\plone\zope2\lib\python\Zope2\Startup\__init__.py", line 278, in
start
Zope
    Zope2.startup()
  File "c:\plone\zope2\lib\python\Zope2\__init__.py", line 47, in startup
    _startup()
  File "c:\plone\zope2\lib\python\Zope2\App\startup.py", line 102, in startup
    OFS.Application.initialize(application)
  File "c:\plone\zope2\lib\python\OFS\Application.py", line 309, in initialize
    initializer.initialize()
  File "c:\plone\zope2\lib\python\OFS\Application.py", line 338, in initialize
    self.install_products()
  File "c:\plone\zope2\lib\python\OFS\Application.py", line 603, in
install_prod
ucts
    return install_products(app)
  File "c:\plone\zope2\lib\python\OFS\Application.py", line 634, in
install_prod
ucts
    folder_permissions, raise_exc=debug_mode)
  File "c:\plone\zope2\lib\python\OFS\Application.py", line 786, in
install_prod
uct
    initmethod(context)
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\__i
nit__.py", line 110, in initialize
    migrations.executeMigrations()
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\__init__.py", line 4, in executeMigrations
    import v2_1, v2_5, v3_0, v3_1, v3_2
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\v2_1\__init__.py", line 2, in ?
    import final_two11
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\v2_1\final_two11.py", line 2, in ?
    from Products.CMFPlone.migrations.v3_0.alphas import enableZope3Site
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\v3_0\__init__.py", line 2, in ?
    import alphas
  File
"c:\plone\buildout-cache\eggs\plone-3.2.2-py2.4.egg\Products\CMFPlone\mig
rations\v3_0\alphas.py", line 82, in ?
    from plone.app.portlets.utils import convert_legacy_portlets
  File
"c:\plone\buildout-cache\eggs\plone.app.portlets-1.1.5.1-py2.4.egg\plone\
app\portlets\utils.py", line 11, in ?
    from plone.app.portlets.portlets import calendar
  File
"c:\plone\buildout-cache\eggs\plone.app.portlets-1.1.5.1-py2.4.egg\plone\
app\portlets\portlets\calendar.py", line 20, in ?
    from plone.app.portlets.portlets import base
  File
"c:\plone\buildout-cache\eggs\plone.app.portlets-1.1.5.1-py2.4.egg\plone\
app\portlets\portlets\base.py", line 24, in ?
    from plone.app.portlets.browser.formhelper import AddForm
  File
"c:\plone\buildout-cache\eggs\plone.app.portlets-1.1.5.1-py2.4.egg\plone\
app\portlets\browser\formhelper.py", line 3, in ?
    from zope.formlib import form
ImportError: No module named formlib

----
Is there a work-around available please?
Thanks - Peter Heffernan

Original issue reported on code.google.com by hefferna...@gmail.com on 4 Aug 2009 at 1:04

GoogleCodeExporter commented 9 years ago
Update - I gave up on the productdistro version on windows. It just wouldn't 
work 
for me, always throwing errors related to formlib. I eventually got things 
working 
using the latest egg / zcml buildout, patching my windows plone instance with 
pyodbc 
(syncing to MS SQL) and updating my buildout instance recipe 
(plone.recipe.zope2instance) to include Wichert's latest changes so the zcml-
additional section got handled correctly for the slug in the package-includes. 
Thanks to kapil and wiggy for the notes in the discussion group re egg based 
installation / issues - without those I would not have got there. The issue 
remains 
that the current wiki install docs could use some improvement - especially for 
windows users. If there is a move to standardise on eggifying this product 
release 
then I'd be happy to contibute my expereince on windows to the team to help 
standardise and improve the install documentation to promote more people using 
ContentMirror.

Original comment by hefferna...@gmail.com on 6 Aug 2009 at 10:14

GoogleCodeExporter commented 9 years ago
we're going to be dropping the product installation, its too much of a hassle, 
and its 
not needed anymore since we're dropping plone 2.5 support. updated ticket title.

Original comment by kapilt@gmail.com on 22 Mar 2010 at 4:30

GoogleCodeExporter commented 9 years ago
I think we should mark this for 0.6 release.

Original comment by runy...@gmail.com on 30 Mar 2010 at 3:19

GoogleCodeExporter commented 9 years ago
mark as part of 0.6 release

Original comment by kapilt@gmail.com on 30 Mar 2010 at 6:08