Doodeff | 9 Feb 07:13
Picon
Favicon

Migration Problem "exceptions.AttributeError: manage_addTool"


Dear Community 

I'm migrating a Plone Site from the very old version 2.0.5 to the newest
version. Like many others as well, I have serious problems with the
migration step from 2.0.5 to 2.1.4. 

My setup: I deinstalled all products within the Plone Site Configuration and
moved the Data.fs to the new instance 2.1.4 which is installed on the same
Zope server (2.7.0) like the 2.0.5 instance. 

In the new instance I try to migrate via "plone_migration" and there I get
the following error: 

Starting the migration from version: 2.0.5 
Attempting to upgrade from: 2.0.5 
Upgrade aborted 
Error type: exceptions.AttributeError 
Error value: manage_addTool 
File "C:\Programme\Plone 2\Data\Products\CMFPlone\MigrationTool.py", line
274, in upgrade newv, msgs = self._upgrade(newv) 
File "C:\Programme\Plone 2\Data\Products\CMFPlone\MigrationTool.py", line
371, in _upgrade res = function(self.aq_parent) 
File "C:\Programme\Plone
2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 65, in
two05_alpha1 installATContentTypes(portal, out) 
File "C:\Programme\Plone
2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 273, in
installATContentTypes installOrReinstallProduct(portal, product_name, out) 
File "C:\Programme\Plone
2\Data\Products\CMFPlone\migrations\migration_util.py", line 79, in
installOrReinstallProduct qi.installProduct(product_name) 
File "C:\Programme\Plone
2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 319, in
installProduct res=install(portal, reinstall=reinstall) 
File "C:\Programme\Plone
2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 224, in
__call__ try: return f(*args, **kw) 
File "C:\Programme\Plone
2\Data\Products\ATContentTypes\Extensions\Install.py", line 57, in install
tool = installTool(self, out) 
File "C:\Programme\Plone
2\Data\Products\ATContentTypes\Extensions\Install.py", line 178, in
installTool addTool =
self.manage_addProduct['ATContentTypes'].manage_addTool 
End of upgrade path, migration has finished 
The upgrade path did NOT reach current version 
Migration has failed 

I tried several other setups (e.g. exporting and importing plone object as
*.zexp) but always got the same error. 

There seems to be a problem with the ATContentTypes, but I just don't have a
clue... does anybody can help me? Any hints? Any experiences? 
--

-- 
View this message in context: http://n2.nabble.com/Migration-Problem-exceptions-AttributeError-manage-addTool-tp4539487p4539487.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Picon

buildout problems behind a proxy

Hi all,

I'm trying to use buildout behind a proxy.

If I'm directly connecet to Internet everything works.

behind a proxy (and a firewall) the standard buildout generated by the 
unified installer doesn't work unless I add in /etc/profile file the lines

export http_proxy=http://test:test-Q0ErXNX1RuYZj/J+X32AWw <at> public.gmane.org:8080
export ftp_proxy=http://test:test-Q0ErXNX1RuYZj/J+X32AWw <at> public.gmane.org:8080

after this the command "sudo bin/buildout -n -v" works correctly.

But when I add my buildout extensions I get the error:

IOError: [Errno socket error] (-2, 'Name or service not known')

Adding in /etc/profile the line

export https_proxy=http://test:test-Q0ErXNX1RuYZj/J+X32AWw <at> public.gmane.org:8080

doesn't change anything.

What can I do?

Thanks
    Mirto

P.S. the complete log:
==========================================
sysop <at> ita014vm10i:/usr/local/plone334/zeocluster$ sudo bin/buildout -v 
-n -c altro.cfg
While:                                                                                

  
Initializing.                                                                       

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:                                                 
Traceback (most recent call last):                                 
  File

"/usr/local/plone334/buildout-cache/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py", 
line 1659, in 
main                                                                                          

    user_defaults, windows_restart, 
command)                                                            
  File

"/usr/local/plone334/buildout-cache/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py", 
line 182, in 
__init__                                                                                       

    data['buildout'].copy(), 
override))                                                                 
  File

"/usr/local/plone334/buildout-cache/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py", 
line 1333, in 
_open                                                                                         

    eresult = _open(base, extends.pop(0), seen, dl_options, 
override)                                   
  File

"/usr/local/plone334/buildout-cache/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py", 
line 1333, in 
_open                                                                                         

    eresult = _open(base, extends.pop(0), seen, dl_options, 
override)                                   
  File

"/usr/local/plone334/buildout-cache/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py", 
line 1283, in _open
    path, is_temp = download(filename)
  File

"/usr/local/plone334/buildout-cache/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/download.py", 
line 96, in __call__
    local_path, is_temp = self.download(url, md5sum, path)
  File

"/usr/local/plone334/buildout-cache/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/download.py", 
line 173, in download
    tmp_path, headers = urllib.urlretrieve(url, tmp_path)
  File "/usr/local/plone334/Python-2.4/lib/python2.4/urllib.py", line 
89, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/local/plone334/Python-2.4/lib/python2.4/urllib.py", line 
222, in retrieve
    fp = self.open(url, data)
  File "/usr/local/plone334/Python-2.4/lib/python2.4/urllib.py", line 
190, in open
    return getattr(self, name)(url)
  File "/usr/local/plone334/Python-2.4/lib/python2.4/urllib.py", line 
313, in open_http
    h.endheaders()
  File "/usr/local/plone334/Python-2.4/lib/python2.4/httplib.py", line 
798, in endheaders
    self._send_output()
  File "/usr/local/plone334/Python-2.4/lib/python2.4/httplib.py", line 
679, in _send_output
    self.send(msg)
  File "/usr/local/plone334/Python-2.4/lib/python2.4/httplib.py", line 
646, in send
    self.connect()
  File "/usr/local/plone334/Python-2.4/lib/python2.4/httplib.py", line 
614, in connect
    socket.SOCK_STREAM):
IOError: [Errno socket error] (-2, 'Name or service not known')
sysop <at> ita014vm10i:/usr/local/plone334/zeocluster$
==========================================

The altro.cfg file:
==========================================
[buildout]
extends = buildout.cfg deliverance/deliverance.cfg

# controllare di aver dato il comando:
# sudo apt-get install libsasl2-dev libcrypto++-dev libldap2-dev libssl-dev

eggs += plone.app.ldap
    Products.Poi
    Products.TinyMCE
    collective.plonetruegallery[picasa]
    collective.easyslider
    Products.gas3

zcml += plone.app.ldap
    collective.plonetruegallery
    collective.easyslider

############################################
# Development Eggs
# ----------------
# You can use paster to create "development eggs" to
# develop new products/themes. Put these in the src/
# directory.
# You will also need to add the egg names in the
# eggs section above, and may also need to add them
# to the zcml section.
#
# Provide the *paths* to the eggs you are developing here:
develop =
    src/Products.gas3

parts += i18noverrides
    supervisor
    pound-build
    pound
    varnish-build
    varnish

# aggiunte alla distribuzione

[versions]
Cheetah = 2.2.1
zc.recipe.cmmi = 1.2.1
# for plone truegallery
z3c.form = 1.9.0
zope.i18n = 3.4.0
zope.testing = 3.4.0
zope.component = 3.4.0
zope.securitypolicy = 3.4.0
zope.app.zcmlfiles = 3.4.3

[i18noverrides]
recipe = collective.recipe.i18noverrides
source = ${buildout:directory}/translations
destinations =
    ${client1:location}
    ${client2:location}

[pound-build]
recipe = plone.recipe.pound:build
# before do:
# apt-get install libssl-dev
#url = http://www.apsis.ch/pound/Pound-2.3.2.tgz
url = http://www.apsis.ch/pound/Pound-2.4.5.tgz

[pound]
recipe = plone.recipe.pound:config
daemon = 0
timeout = 90
balancers =
    QuiPlone 127.0.0.1:6180 127.0.0.1:6080 127.0.0.1:6081

[supervisor]
recipe = collective.recipe.supervisor

port = 6101
serverurl = http://msb02.msb.net:6101/supervisor
user = admin
password = drillococco

programs =
    10 zeoserver ${zeoserver:location}/bin/runzeo ${zeoserver:location}
    20 client1 ${client1:location}/bin/runzope ${client1:location} true
    30 client2 ${client2:location}/bin/runzope ${client2:location} true
    40 deliverance /usr/local/plone334/zeocluster/deliveranceStart.sh true
    50 pound ${buildout:directory}/bin/poundrun ${buildout:directory} true
    60 varnish ${buildout:directory}/bin/varnish ${buildout:directory} true

[varnish-build]
recipe = zc.recipe.cmmi
url = http://downloads.sourceforge.net/varnish/varnish-2.0.4.tar.gz

[varnish]
recipe = plone.recipe.varnish
daemon = ${buildout:directory}/parts/varnish-build/sbin/varnishd
bind = 0.0.0.0:6160
backends = 127.0.0.1:6170
telnet = 127.0.0.1:6161
cache-size = 1G
mode = foreground
=========================================

The deliverance.cfg file
=============================================
[buildout]
parts =
    deliverance-egg
    lxml
    deliverance

[versions]
lxml = 2.2.2
PasteScript = 1.7.3
z3c.recipe.staticlxml = 0.7.1
chardet = 1.0.1
DevAuth = 0.1
HTTPEncode = 0.1
Paste = 1.7.2
PasteDeploy = 1.3.3
Pygments = 1.1.1
Tempita = 0.4
WSGIFilter = 0.2
WSGIProxy = 0.2
WebError = 0.10.1
WebOb = 0.9.6.1
httplib2 = 0.5.0
py = 1.1.0
zc.recipe.cmmi = 1.2.1
infrae.subversion = 1.4.5

[deliverance-egg]
recipe = infrae.subversion
as_eggs = true
urls =
    http://codespeak.net/svn/z3/deliverance/trunk Deliverance

[lxml]
recipe = z3c.recipe.staticlxml
egg = lxml
force = false
libxml2-url = http://xmlsoft.org/sources/libxml2-2.7.6.tar.gz
libxslt-url = http://xmlsoft.org/sources/libxslt-1.1.26.tar.gz

[deliverance]
recipe = zc.recipe.egg:scripts
eggs =
    Deliverance

=============================================

Attachment (mirtosilvio_busico.vcf): text/x-vcard, 292 bytes
MRS IT Admin | 1 Feb 10:01
Picon
Favicon

Upgrading from Plone 2.0.5 to 2.5 on different Server


I am new for Plone and I have only Windows experience. 
I have Plone system 2.0.5 (Zope 2.3; Python 2.3.3). I do not have time to
read the whole Plone manual and the provided upgrade manual is not enough
for me. 
Is there a proper guide of how to perform upgrade to 2.5 which I am planning
to install on different server. 
Thanks
--

-- 
View this message in context: http://n2.nabble.com/Upgrading-from-Plone-2-0-5-to-2-5-on-different-Server-tp4493272p4493272.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Martin Aspeli | 1 Feb 11:28
Picon

Re: Upgrading from Plone 2.0.5 to 2.5 on different Server


MRS IT Admin wrote: > I am new for Plone and I have only Windows experience. > I have Plone system 2.0.5 (Zope 2.3; Python 2.3.3). I do not have time to > read the whole Plone manual and the provided upgrade manual is not enough > for me. > Is there a proper guide of how to perform upgrade to 2.5 which I am planning > to install on different server.
You're going to get better help if you ask better questions. - What did you read? - Why is it not enough for you? - What are you struggling with? - What did you try? Also, please note that Plone 2.5 is about to go out of support, as Plone 4 is around the corner. You may be better served upgrading to Plone 3.3.4. Martin -- -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book
Dale DeWitt | 2 Feb 02:47
Picon

Re: Upgrading from Plone 2.0.5 to 2.5 on different Server

I take it you meant installing Plone 3.3.4 and moving content/path
manually.  Surely you didn't mean that it would be feasible to upgrade
from 2.0.5 upward and have a pristine version free from error,
assuming minimal third-party product assault.  Although I've never
done that I've surmised from the forums what a long laborious hoop
journey that would become (better left to A.I.).

On Feb 1, 4:28 am, Martin Aspeli <optilude+li...@...> wrote:

> MRS IT Admin wrote: > > I am new for Plone and I have only Windows experience. > > I have Plone system 2.0.5 (Zope 2.3; Python 2.3.3). I do not have time to > > read the whole Plone manual and the provided upgrade manual is not enough > > for me. > > Is there a proper guide of how to perform upgrade to 2.5 which I am planning > > to install on different server. > > You're going to get better help if you ask better questions. > >   - What did you read? >   - Why is it not enough for you? >   - What are you struggling with? >   - What did you try? > > Also, please note that Plone 2.5 is about to go out of support, as Plone > 4 is around the corner. You may be better served upgrading to Plone 3.3.4. > > Martin > > -- > Author of `Professional Plone Development`, a book for developers who > want to work with Plone. Seehttp://martinaspeli.net/plone-book > > _______________________________________________ > Setup mailing list > Se...@...://lists.plone.org/mailman/listinfo/setup
MRS IT Admin | 2 Feb 09:46
Picon
Favicon

Re: Upgrading from Plone 2.0.5 to 2.5 on different Server


Dear Martin,
I wanted to upgarde forst to 2.5 as there is no direct way to upgarde to v3.
Only when everything works on 2.5 the next step will be 3.3.
Well basically I do not know what to read in order to get the right
knowledge for the Package.
As Plone includes Plone, Zope and Python I am not sure on what I should
concentrate to become system admin e.g installation, upgrading and adding
plug ins.
So my thought was is there a way I can compare check the plugins installed
on the old version, export the site settings and data and import it into the
new server.
Thanks
Georgi

--

-- 
View this message in context: http://n2.nabble.com/Upgrading-from-Plone-2-0-5-to-2-5-on-different-Server-tp4493272p4499627.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

JonStahl | 31 Jan 17:40
Picon

Re: Xampp


Plone isn't a PHP/MySQL app, so, no, you can't install it under xAMP.

However the good news is that installing Plone on Windows is even easier
than that -- we provide a complete, "batteries included" double-click
installer for Windows (and Mac!) that contains everything you need to get
started.  Just download the Windows installer from http://plone.org/download
and double-click it to get going!

:jon
--

-- 
View this message in context: http://n2.nabble.com/Xampp-tp4488483p4489953.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Karl Johan Kleist | 31 Jan 07:22
Picon

Re: Xampp


The "m" means mysql, and the "p" means "php", yes? Doesn't have anything with
Plone to do, so why should it work?
--

-- 
View this message in context: http://n2.nabble.com/Xampp-tp4488483p4488511.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Nahren | 27 Jan 15:14
Picon

Re: Migrating to New Server - CalendarX No Longer Working


Hello Mikko, 

Thank you so much for your response.  I will go ahead and e-mail Lupa and
see if s/he can assist me.  I will do my best to post the results.

Cheers, 
Nahren
--

-- 
View this message in context: http://n2.nabble.com/Migrating-to-New-Server-CalendarX-No-Longer-Working-tp4442173p4467361.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Nahren | 28 Jan 16:27
Picon

Re: Migrating to New Server - CalendarX No Longer Working


Good Morning, 

I have solved this problem!  It was actually a migration change and not
CalendarX, although and import/export tool may be a thought for the future
(thank you Mikko).

Thank you for taking the time to read this post.

Cheers, 
Nahren
--

-- 
View this message in context: http://n2.nabble.com/SOLVED-Migrating-to-New-Server-CalendarX-No-Longer-Working-tp4442173p4473890.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Graham Perrin | 23 Jan 06:07
Picon
Picon
Favicon

problems with setuptools-0.6c11


I read various posts about problems with 0.6c11 but I'm not sure whether any
of
<http://bugs.python.org/setuptools/issue?%40search_text=0.6c11&title=&%40columns=title&keyword=&id=&%40columns=id&creation=&activity=&%40columns=activity&%40sort=activity&priority=&%40group=priority&status=&%40columns=status&%40pagesize=50&%40startwith=0&%40action=search>
are relevant. 

Is <http://bugs.python.org/setuptools/issue100> the one that's causing
problems for Plone community?

Do we need to report a new bug?

TIA
Graham
--

-- 
View this message in context: http://n2.nabble.com/problems-with-setuptools-0-6c11-tp4444214p4444214.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.


Gmane