Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


Juergen.Herrmann at XLhost

Sep 22, 2009, 2:39 AM

Post #1 of 9 (989 views)
Permalink
zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1

good morning everbody!

while trying to update my zope 2.12 test installation to 2.12.0c1
via easy_install i ran into problems with zopectl and runzope today.

to make sure i didn't screw anything by myself i did a fresh install
to a new virtualenv. outcome is reported here:

https://bugs.launchpad.net/zope2/+bug/434549

just posting this as not everybody seems to be monitoring bugs on
launchbad yet. is this a bad idea to post bugs here also?

cheers, jürgen
--
>> XLhost.de - eXperts in Linux hosting ® <<

XLhost.de GmbH
Jürgen Herrmann, Geschäftsführer
Boelckestrasse 21, 93051 Regensburg, Germany

Geschäftsführer: Volker Geith, Jürgen Herrmann
Registriert unter: HRB9918
Umsatzsteuer-Identifikationsnummer: DE245931218

Fon: +49 (0)800 XLHOSTDE [0800 95467833]
Fax: +49 (0)800 95467830

WEB: http://www.XLhost.de
IRC: #XLhost [at] irc

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


lists at zopyx

Sep 22, 2009, 2:54 AM

Post #2 of 9 (947 views)
Permalink
Re: zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1 [In reply to]

On 22.09.09 11:39, Jürgen Herrmann wrote:
> good morning everbody!
>
> while trying to update my zope 2.12 test installation to 2.12.0c1
> via easy_install i ran into problems with zopectl and runzope today.
>
> to make sure i didn't screw anything by myself i did a fresh install
> to a new virtualenv. outcome is reported here:
You haven't read the docs carefully:

http://docs.zope.org/zope2/releases/2.12/INSTALL.html

Andreas
Attachments: lists.vcf (0.31 KB)


Juergen.Herrmann at XLhost

Sep 22, 2009, 3:15 AM

Post #3 of 9 (955 views)
Permalink
Re: zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1 [In reply to]

On Tue, September 22, 2009 11:54, Andreas Jung wrote:
> On 22.09.09 11:39, Jürgen Herrmann wrote:
>> good morning everbody!
>>
>> while trying to update my zope 2.12 test installation to 2.12.0c1
>> via easy_install i ran into problems with zopectl and runzope today.
>>
>> to make sure i didn't screw anything by myself i did a fresh install
>> to a new virtualenv. outcome is reported here:
> You haven't read the docs carefully:
>
> http://docs.zope.org/zope2/releases/2.12/INSTALL.html
>
i read it again, this time following the section "Installing Zope
using easy_install" word by word (except inserting the correct zope2
version number into the easy_install command).

here's the outcome:

[jh [at] t5-lapto ~]$ virtualenv --no-site-packages my_zope
New python executable in my_zope/bin/python2.6
Also creating executable in my_zope/bin/python
Installing setuptools............done.

[jh [at] t5-lapto ~]$ cd my_zope
[jh [at] t5-lapto my_zope]$ source bin/activate
(my_zope)[jh [at] t5-lapto my_zope]$ bin/easy_install -i http://download.zope.org/Zope2/index/2.12.0c1
Zope2
...
(my_zope)[jh [at] t5-lapto my_zope]$ bin/mkzopeinstance
Please choose a directory in which you'd like to install
Zope "instance home" files such as database files, configuration
files, etc.

Directory: /home/jh/my_zope
Please choose a username and password for the initial user.
These will be the credentials you use to initially manage
your new Zope instance.

Username: admin
Password:
Verify password:

(my_zope)[jh [at] t5-lapto my_zope]$ bin/zopectl fg
Traceback (most recent call last):
File "bin/zopectl", line 8, in <module>
load_entry_point('Zope2==2.12.0c1', 'console_scripts', 'zopectl')()
File
"/home/jh/my_zope/lib/python2.6/site-packages/Zope2-2.12.0c1-py2.6-linux-i686.egg/Zope2/Startup/zopectl.py",
line 347, in run
exitstatus = main()
File
"/home/jh/my_zope/lib/python2.6/site-packages/Zope2-2.12.0c1-py2.6-linux-i686.egg/Zope2/Startup/zopectl.py",
line 303, in main
options.realize(args)
File
"/home/jh/my_zope/lib/python2.6/site-packages/Zope2-2.12.0c1-py2.6-linux-i686.egg/Zope2/Startup/zopectl.py",
line 122, in realize
self.directory = config.instancehome
AttributeError: 'NoneType' object has no attribute 'instancehome'



what did i miss??? andreas, you could have been a bit more telling
in your answer :)

regards, jürgen
--
>> XLhost.de - eXperts in Linux hosting ® <<

XLhost.de GmbH
Jürgen Herrmann, Geschäftsführer
Boelckestrasse 21, 93051 Regensburg, Germany

Geschäftsführer: Volker Geith, Jürgen Herrmann
Registriert unter: HRB9918
Umsatzsteuer-Identifikationsnummer: DE245931218

Fon: +49 (0)800 XLHOSTDE [0800 95467833]
Fax: +49 (0)800 95467830

WEB: http://www.XLhost.de
IRC: #XLhost [at] irc

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


lists at zopyx

Sep 22, 2009, 3:23 AM

Post #4 of 9 (950 views)
Permalink
Re: zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1 [In reply to]

On 22.09.09 12:15, Jürgen Herrmann wrote:
> ...
> (my_zope)[jh [at] t5-lapto my_zope]$ bin/mkzopeinstance
> Please choose a directory in which you'd like to install
> Zope "instance home" files such as database files, configuration
> files, etc.
Try to create your instance outside the buildout dir.

Andreas
Attachments: lists.vcf (0.31 KB)


Juergen.Herrmann at XLhost

Sep 22, 2009, 4:29 AM

Post #5 of 9 (944 views)
Permalink
Re: zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1 [In reply to]

On Tue, September 22, 2009 12:23, Andreas Jung wrote:
> On 22.09.09 12:15, Jürgen Herrmann wrote:
>> ...
>> (my_zope)[jh [at] t5-lapto my_zope]$ bin/mkzopeinstance
>> Please choose a directory in which you'd like to install
>> Zope "instance home" files such as database files, configuration
>> files, etc.
> Try to create your instance outside the buildout dir.
>
> Andreas

some further testing shows, that it's still possible to have the instance
home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv

still is this info missing on http://docs.zope.org/zope2/releases/2.12/INSTALL.html
or am i blind?

regards, jürgen
--
>> XLhost.de - eXperts in Linux hosting ® <<

XLhost.de GmbH
Jürgen Herrmann, Geschäftsführer
Boelckestrasse 21, 93051 Regensburg, Germany

Geschäftsführer: Volker Geith, Jürgen Herrmann
Registriert unter: HRB9918
Umsatzsteuer-Identifikationsnummer: DE245931218

Fon: +49 (0)800 XLHOSTDE [0800 95467833]
Fax: +49 (0)800 95467830

WEB: http://www.XLhost.de
IRC: #XLhost [at] irc

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


lists at zopyx

Sep 22, 2009, 4:31 AM

Post #6 of 9 (941 views)
Permalink
Re: zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1 [In reply to]

On 22.09.09 13:29, Jürgen Herrmann wrote:
> On Tue, September 22, 2009 12:23, Andreas Jung wrote:
>
>> On 22.09.09 12:15, Jürgen Herrmann wrote:
>>
>>> ...
>>> (my_zope)[jh [at] t5-lapto my_zope]$ bin/mkzopeinstance
>>> Please choose a directory in which you'd like to install
>>> Zope "instance home" files such as database files, configuration
>>> files, etc.
>>>
>> Try to create your instance outside the buildout dir.
>>
>> Andreas
>>
> some further testing shows, that it's still possible to have the instance
> home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv
>
> s
Better give feedback if it worked or not :-)

Andreas
Attachments: lists.vcf (0.31 KB)


Juergen.Herrmann at XLhost

Sep 22, 2009, 5:07 AM

Post #7 of 9 (940 views)
Permalink
Re: zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1 [In reply to]

On Tue, September 22, 2009 13:31, Andreas Jung wrote:
> On 22.09.09 13:29, Jürgen Herrmann wrote:
>> On Tue, September 22, 2009 12:23, Andreas Jung wrote:
>>
>>> On 22.09.09 12:15, Jürgen Herrmann wrote:
>>>
>>>> ...
>>>> (my_zope)[jh [at] t5-lapto my_zope]$ bin/mkzopeinstance
>>>> Please choose a directory in which you'd like to install
>>>> Zope "instance home" files such as database files, configuration
>>>> files, etc.
>>>>
>>> Try to create your instance outside the buildout dir.
>>>
>>> Andreas
>>>
>> some further testing shows, that it's still possible to have the instance
>> home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv
>>
>> s
> Better give feedback if it worked or not :-)
>
> Andreas
>

well, now it works. as descripted above, my instance home is now
/home/xlhost/zope and the virtualenv is in /home/xlhost/zope/virtualenv


i found another problem though:
Zope2-2.12.0c1-py2.6-linux-i686.egg/Products/PluginIndexes/nterfaces.py
is now missing the interfaces ITextIndex and IVocabulary which leads to
import errors in Products.GenericSetup

why have these been dropped?

they were there in 2.12.0b1 and after copying them over everything comes
up fine.

best regards, jürgen
--
>> XLhost.de - eXperts in Linux hosting ® <<

XLhost.de GmbH
Jürgen Herrmann, Geschäftsführer
Boelckestrasse 21, 93051 Regensburg, Germany

Geschäftsführer: Volker Geith, Jürgen Herrmann
Registriert unter: HRB9918
Umsatzsteuer-Identifikationsnummer: DE245931218

Fon: +49 (0)800 XLHOSTDE [0800 95467833]
Fax: +49 (0)800 95467830

WEB: http://www.XLhost.de
IRC: #XLhost [at] irc

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


lists at zopyx

Sep 22, 2009, 5:10 AM

Post #8 of 9 (939 views)
Permalink
Re: zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1 [In reply to]

On 22.09.09 14:07, Jürgen Herrmann wrote:
> On Tue, September 22, 2009 13:31, Andreas Jung wrote:
>
>> On 22.09.09 13:29, Jürgen Herrmann wrote:
>>
>>> On Tue, September 22, 2009 12:23, Andreas Jung wrote:
>>>
>>>
>>>> On 22.09.09 12:15, Jürgen Herrmann wrote:
>>>>
>>>>
>>>>> ...
>>>>> (my_zope)[jh [at] t5-lapto my_zope]$ bin/mkzopeinstance
>>>>> Please choose a directory in which you'd like to install
>>>>> Zope "instance home" files such as database files, configuration
>>>>> files, etc.
>>>>>
>>>>>
>>>> Try to create your instance outside the buildout dir.
>>>>
>>>> Andreas
>>>>
>>>>
>>> some further testing shows, that it's still possible to have the instance
>>> home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv
>>>
>>> s
>>>
>> Better give feedback if it worked or not :-)
>>
>> Andreas
>>
>>
> well, now it works. as descripted above, my instance home is now
> /home/xlhost/zope and the virtualenv is in /home/xlhost/zope/virtualenv
>
>
> i found another problem though:
> Zope2-2.12.0c1-py2.6-linux-i686.egg/Products/PluginIndexes/nterfaces.py
> is now missing the interfaces ITextIndex and IVocabulary which leads to
> import errors in Products.GenericSetup
>
> why have these been dropped?
>

The removal of TextIndex is documented in the release notes.

Andreas
Attachments: lists.vcf (0.31 KB)


Juergen.Herrmann at XLhost

Sep 22, 2009, 5:15 AM

Post #9 of 9 (943 views)
Permalink
Re: zopectl and runzope not working on freshly easy_install'd zope 2.12.0c1 [In reply to]

On Tue, September 22, 2009 14:10, Andreas Jung wrote:
> On 22.09.09 14:07, Jürgen Herrmann wrote:
>> On Tue, September 22, 2009 13:31, Andreas Jung wrote:
>>
>>> On 22.09.09 13:29, Jürgen Herrmann wrote:
>>>
>>>> On Tue, September 22, 2009 12:23, Andreas Jung wrote:
>>>>
>>>>
>>>>> On 22.09.09 12:15, Jürgen Herrmann wrote:
>>>>>
>>>>>
>>>>>> ...
>>>>>> (my_zope)[jh [at] t5-lapto my_zope]$ bin/mkzopeinstance
>>>>>> Please choose a directory in which you'd like to install
>>>>>> Zope "instance home" files such as database files, configuration
>>>>>> files, etc.
>>>>>>
>>>>>>
>>>>> Try to create your instance outside the buildout dir.
>>>>>
>>>>> Andreas
>>>>>
>>>>>
>>>> some further testing shows, that it's still possible to have the instance
>>>> home in /somedir/instance and the virtualenv in /somedir/instance/virtualenv
>>>>
>>>> s
>>>>
>>> Better give feedback if it worked or not :-)
>>>
>>> Andreas
>>>
>>>
>> well, now it works. as descripted above, my instance home is now
>> /home/xlhost/zope and the virtualenv is in /home/xlhost/zope/virtualenv
>>
>>
>> i found another problem though:
>> Zope2-2.12.0c1-py2.6-linux-i686.egg/Products/PluginIndexes/nterfaces.py
>> is now missing the interfaces ITextIndex and IVocabulary which leads to
>> import errors in Products.GenericSetup
>>
>> why have these been dropped?
>>
>
> The removal of TextIndex is documented in the release notes.
>
> Andreas
>
ok, thanks very much for your help!

jürgen
--
>> XLhost.de - eXperts in Linux hosting ® <<

XLhost.de GmbH
Jürgen Herrmann, Geschäftsführer
Boelckestrasse 21, 93051 Regensburg, Germany

Geschäftsführer: Volker Geith, Jürgen Herrmann
Registriert unter: HRB9918
Umsatzsteuer-Identifikationsnummer: DE245931218

Fon: +49 (0)800 XLHOSTDE [0800 95467833]
Fax: +49 (0)800 95467830

WEB: http://www.XLhost.de
IRC: #XLhost [at] irc

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

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.