Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2007 09:37:43 -0700
From:      Dan Busarow <dan@dpcsys.com>
To:        Le Cocq Michel <lecocq@lipn.univ-paris13.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade
Message-ID:  <13C72A6A-A1D2-4727-91FE-EB88096D2B54@dpcsys.com>
In-Reply-To: <45E6E91A.10900@lipn.univ-paris13.fr>
References:  <E1F1EED2-C802-11DB-89C1-0003934CC29E@dpcsys.com> <45E6E91A.10900@lipn.univ-paris13.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 1, 2007, at 7:54 AM, Le Cocq Michel wrote:

> I just test on an other system after making a new instance et =20
> getting my
> var and products folder, so it does not come from my zope instance, =20=

> but
> apparently my other system is unstable... sick...
>
> for ex, when i launch zopctl:
>
> rapace# ./zopectl
> Traceback (most recent call last):
>   File "/usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py", =20=

> line
> 322, in ?

> [snip]

> line 25, in ?
>     from zope.app.component.site import SiteManagementFolder
>   File "/usr/local/www/Zope29/lib/python/zope/app/component/site.py",
> line 35, in ?
>     from zope.app.component import adapter
>   File "/usr/local/www/Zope29/lib/python/zope/app/component/=20
> adapter.py",
> line 28, in ?
>     class LocalSurrogate(zope.interface.adapter.Surrogate):
> AttributeError: 'module' object has no attribute 'Surrogate'

No idea why you get something like that.  I'd try a fresh install.  =20
If you still have a problem hit the zope list and see if they can =20
give you some guidance.

It's not the mix of python 2.4.4 and zope 2.9.6 in FreeBsd though.

Dan


> Dan Busarow a =E9crit :
>>
>> On Thursday, March 1, 2007, at 04:15  AM, Le Cocq Michel wrote:
>>
>>> Yesterday I try to install a python module after a 'portsnap fetch
>>> update', during the install python upgrade from version  2.4.3,1 to
>>> 2.4.4,1.
>>>
>>> python-2.4.3,1   The "meta-port" for the stable version of Python
>>> interprete
>>> vs
>>> python-2.4.4,1   [...]
>>>
>>> since these upgrade my zope (zope29-2.9.6) won't start anymore !
>>>
>>> How can I come back to version python-2.4.3,1 ?
>>
>> Zope 2.9.6 runs just fine with python 2.4.4.  =46rom my Control Panel
>>
>> Zope Version (Zope 2.9.6-final, python 2.4.4, freebsd5)
>> Python Version 2.4.4 (#2, Feb 1 2007, 14:50:23) [GCC 3.4.2 [FreeBSD]
>> 20040728]
>> System Platform freebsd5
>>
>> What is the error you see if you run bin/runzope manually?
>>
>> Dan
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13C72A6A-A1D2-4727-91FE-EB88096D2B54>