Mailing List Archive

Upgrading from 2.6.0
hi all,

I was still running a 2.6.0-instance of Zope without upgrading it because
it was not publicly accessible. Big mistake! After upgrading from MySQL 5.5
to 5.6 the authentication protocol used by MySQL-python-0.9.0 is no longer
supported. The oldest version supporting the new protocol seems to be
MySQL-python-1.1.8 but Zope 2.6.0 comes with a precompiled Python 2.1.3
and MySQL-python-1.1.8 needs at least Python 2.3.

Now using the ZODB with Zope 2.13 does not work. I was hoping that 2.12.28
would work but

virtualenv --no-site-packages 2.12.28
cd 2.12.28
./bin/easy_install -i http://download.zope.org/Zope2/index/2.12.28 Zope2

will get me this:

error: ClientForm 0.2.10 is installed but ClientForm==dev,>=0.2.6 is required by set(['mechanize'])

Any idea on how to best migrate to a recent version? Export/Import also was
not made for that job...

Regards,

Michael Brunnbauer

--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Stra?e 11a
++ 81379 M?nchen
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ https://www.netestate.de/
++
++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
++ USt-IdNr. DE221033342
++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
Re: Upgrading from 2.6.0 [ In reply to ]
hi all,

I can try some different approaches (e.g. pip instead of easy_install)
and some different versions but I need to know where the cutoff point for
supporting the 2.6.0 format is.

https://pypi.org/project/Zope2/2.13.0/ says "You can no longer directly
upgrade a Zope 2.7 or earlier database to Zope 2.13" so I figured something
below 2.13 would do it. Is this correct?

Regards,

Michael Brunnbauer

On Mon, Jul 30, 2018 at 02:49:07PM +0200, Michael Brunnbauer wrote:
>
> hi all,
>
> I was still running a 2.6.0-instance of Zope without upgrading it because
> it was not publicly accessible. Big mistake! After upgrading from MySQL 5.5
> to 5.6 the authentication protocol used by MySQL-python-0.9.0 is no longer
> supported. The oldest version supporting the new protocol seems to be
> MySQL-python-1.1.8 but Zope 2.6.0 comes with a precompiled Python 2.1.3
> and MySQL-python-1.1.8 needs at least Python 2.3.
>
> Now using the ZODB with Zope 2.13 does not work. I was hoping that 2.12.28
> would work but
>
> virtualenv --no-site-packages 2.12.28
> cd 2.12.28
> ./bin/easy_install -i http://download.zope.org/Zope2/index/2.12.28 Zope2
>
> will get me this:
>
> error: ClientForm 0.2.10 is installed but ClientForm==dev,>=0.2.6 is required by set(['mechanize'])
>
> Any idea on how to best migrate to a recent version? Export/Import also was
> not made for that job...
>
> Regards,
>
> Michael Brunnbauer
>
> --
> ++ Michael Brunnbauer
> ++ netEstate GmbH
> ++ Geisenhausener Stra?e 11a
> ++ 81379 M?nchen
> ++ Tel +49 89 32 19 77 80
> ++ Fax +49 89 32 19 77 89
> ++ E-Mail brunni@netestate.de
> ++ https://www.netestate.de/
> ++
> ++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
> ++ USt-IdNr. DE221033342
> ++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
> ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel



> _______________________________________________
> Zope maillist - Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )


--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Stra?e 11a
++ 81379 M?nchen
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ https://www.netestate.de/
++
++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
++ USt-IdNr. DE221033342
++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
Re: Upgrading from 2.6.0 [ In reply to ]
hi

WTF? A 403 instead of a redirect? Why is breaking old stuff in the name
of security/progress considered OK?

./bin/easy_install -i https://download.zope.org/Zope2/index/2.12.0 Zope2
Searching for Zope2
Reading https://download.zope.org/Zope2/index/2.12.0/Zope2/
Downloading http://pypi.python.org/packages/source/Z/Zope2/Zope2-2.12.0.tar.gz
error: Can't download http://pypi.python.org/packages/source/Z/Zope2/Zope2-2.12.0.tar.gz: 403 SSL is required

Regards,

Michael Brunnbauer

On Tue, Jul 31, 2018 at 09:47:37AM +0200, Michael Brunnbauer wrote:
>
> hi all,
>
> I can try some different approaches (e.g. pip instead of easy_install)
> and some different versions but I need to know where the cutoff point for
> supporting the 2.6.0 format is.
>
> https://pypi.org/project/Zope2/2.13.0/ says "You can no longer directly
> upgrade a Zope 2.7 or earlier database to Zope 2.13" so I figured something
> below 2.13 would do it. Is this correct?
>
> Regards,
>
> Michael Brunnbauer
>
> On Mon, Jul 30, 2018 at 02:49:07PM +0200, Michael Brunnbauer wrote:
> >
> > hi all,
> >
> > I was still running a 2.6.0-instance of Zope without upgrading it because
> > it was not publicly accessible. Big mistake! After upgrading from MySQL 5.5
> > to 5.6 the authentication protocol used by MySQL-python-0.9.0 is no longer
> > supported. The oldest version supporting the new protocol seems to be
> > MySQL-python-1.1.8 but Zope 2.6.0 comes with a precompiled Python 2.1.3
> > and MySQL-python-1.1.8 needs at least Python 2.3.
> >
> > Now using the ZODB with Zope 2.13 does not work. I was hoping that 2.12.28
> > would work but
> >
> > virtualenv --no-site-packages 2.12.28
> > cd 2.12.28
> > ./bin/easy_install -i http://download.zope.org/Zope2/index/2.12.28 Zope2
> >
> > will get me this:
> >
> > error: ClientForm 0.2.10 is installed but ClientForm==dev,>=0.2.6 is required by set(['mechanize'])
> >
> > Any idea on how to best migrate to a recent version? Export/Import also was
> > not made for that job...
> >
> > Regards,
> >
> > Michael Brunnbauer
> >
> > --
> > ++ Michael Brunnbauer
> > ++ netEstate GmbH
> > ++ Geisenhausener Stra?e 11a
> > ++ 81379 M?nchen
> > ++ Tel +49 89 32 19 77 80
> > ++ Fax +49 89 32 19 77 89
> > ++ E-Mail brunni@netestate.de
> > ++ https://www.netestate.de/
> > ++
> > ++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
> > ++ USt-IdNr. DE221033342
> > ++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
> > ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
>
>
>
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > https://mail.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > https://mail.zope.org/mailman/listinfo/zope-announce
> > https://mail.zope.org/mailman/listinfo/zope-dev )
>
>
> --
> ++ Michael Brunnbauer
> ++ netEstate GmbH
> ++ Geisenhausener Stra?e 11a
> ++ 81379 M?nchen
> ++ Tel +49 89 32 19 77 80
> ++ Fax +49 89 32 19 77 89
> ++ E-Mail brunni@netestate.de
> ++ https://www.netestate.de/
> ++
> ++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
> ++ USt-IdNr. DE221033342
> ++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
> ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel



> _______________________________________________
> Zope maillist - Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )


--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Stra?e 11a
++ 81379 M?nchen
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ https://www.netestate.de/
++
++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
++ USt-IdNr. DE221033342
++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
Re: Upgrading from 2.6.0 [ In reply to ]
hi

I ended up manually creating every object with copy+paste in a fresh
instance of Zope 2.13.x. It took me several hours of work but was probably
the fastest solution at this point...

Regards,

Michael Brunnnbauer

On Tue, Jul 31, 2018 at 09:47:37AM +0200, Michael Brunnbauer wrote:
>
> hi all,
>
> I can try some different approaches (e.g. pip instead of easy_install)
> and some different versions but I need to know where the cutoff point for
> supporting the 2.6.0 format is.
>
> https://pypi.org/project/Zope2/2.13.0/ says "You can no longer directly
> upgrade a Zope 2.7 or earlier database to Zope 2.13" so I figured something
> below 2.13 would do it. Is this correct?
>
> Regards,
>
> Michael Brunnbauer
>
> On Mon, Jul 30, 2018 at 02:49:07PM +0200, Michael Brunnbauer wrote:
> >
> > hi all,
> >
> > I was still running a 2.6.0-instance of Zope without upgrading it because
> > it was not publicly accessible. Big mistake! After upgrading from MySQL 5.5
> > to 5.6 the authentication protocol used by MySQL-python-0.9.0 is no longer
> > supported. The oldest version supporting the new protocol seems to be
> > MySQL-python-1.1.8 but Zope 2.6.0 comes with a precompiled Python 2.1.3
> > and MySQL-python-1.1.8 needs at least Python 2.3.
> >
> > Now using the ZODB with Zope 2.13 does not work. I was hoping that 2.12.28
> > would work but
> >
> > virtualenv --no-site-packages 2.12.28
> > cd 2.12.28
> > ./bin/easy_install -i http://download.zope.org/Zope2/index/2.12.28 Zope2
> >
> > will get me this:
> >
> > error: ClientForm 0.2.10 is installed but ClientForm==dev,>=0.2.6 is required by set(['mechanize'])
> >
> > Any idea on how to best migrate to a recent version? Export/Import also was
> > not made for that job...
> >
> > Regards,
> >
> > Michael Brunnbauer
> >
> > --
> > ++ Michael Brunnbauer
> > ++ netEstate GmbH
> > ++ Geisenhausener Stra?e 11a
> > ++ 81379 M?nchen
> > ++ Tel +49 89 32 19 77 80
> > ++ Fax +49 89 32 19 77 89
> > ++ E-Mail brunni@netestate.de
> > ++ https://www.netestate.de/
> > ++
> > ++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
> > ++ USt-IdNr. DE221033342
> > ++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
> > ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
>
>
>
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > https://mail.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > https://mail.zope.org/mailman/listinfo/zope-announce
> > https://mail.zope.org/mailman/listinfo/zope-dev )
>
>
> --
> ++ Michael Brunnbauer
> ++ netEstate GmbH
> ++ Geisenhausener Stra?e 11a
> ++ 81379 M?nchen
> ++ Tel +49 89 32 19 77 80
> ++ Fax +49 89 32 19 77 89
> ++ E-Mail brunni@netestate.de
> ++ https://www.netestate.de/
> ++
> ++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
> ++ USt-IdNr. DE221033342
> ++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
> ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel



> _______________________________________________
> Zope maillist - Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )


--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Stra?e 11a
++ 81379 M?nchen
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ https://www.netestate.de/
++
++ Sitz: M?nchen, HRB Nr.142452 (Handelsregister B M?nchen)
++ USt-IdNr. DE221033342
++ Gesch?ftsf?hrer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
Re: Upgrading from 2.6.0 [ In reply to ]
Am 06.08.2018 um 11:05 schrieb Michael Brunnbauer <brunni@netestate.de>:
> hi
>
> WTF? A 403 instead of a redirect? Why is breaking old stuff in the name
> of security/progress considered OK?
>
> ./bin/easy_install -i https://download.zope.org/Zope2/index/2.12.0 Zope2
> Searching for Zope2
> Reading https://download.zope.org/Zope2/index/2.12.0/Zope2/
> Downloading http://pypi.python.org/packages/source/Z/Zope2/Zope2-2.12.0.tar.gz
> error: Can't download http://pypi.python.org/packages/source/Z/Zope2/Zope2-2.12.0.tar.gz: 403 SSL is required

Using an index is not well supported any more, so we gave up creating newer ones.
An alternative could be to install Zope using zc.buildout.
https://download.zope.org/Zope2/index/2.12.0/versions.cfg contains the list of needed package versions for this Zope version.


--
Mit freundlichen Grüßen
Michael Howitz