Re: [Zope-dev] [Zope 2.12] ImportError: cannot import name aq_inContextOf

2009-01-24 Thread Hanno Schlichting
Hanno Schlichting wrote:
> Andreas Jung wrote:
>> I am currently trying to fix the generation of the creation and
>> configuration of the startup scripts. I am getting this when running
>> zopectl:
> 
> You are using the wrong version of Acquisition. Zope trunk depends on a
> new and not yet released version. Acquisition-2.11.1 isn't good enough.
> 
> The eggification of Zope2 trunk has moved some packages into their own
> distributions. For all the factored out packages only Acquisition has
> seen changes as far as I know.

I made a new release of Acquisition called 2.12.0a1 now and included it
into the Zope2-egg buildout.

Hanno

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


Re: [Zope-dev] [Zope 2.12] ImportError: cannot import name aq_inContextOf

2009-01-23 Thread Hanno Schlichting
Andreas Jung wrote:
> I am currently trying to fix the generation of the creation and
> configuration of the startup scripts. I am getting this when running
> zopectl:
> 
> The debugger output isn't much helpful:
> 
> /home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Acquisition-2.11.1-py2.4-linux-x86_64.egg/Acquisition/__init__.py(4)?()
> 
> Any bells ringing?

You are using the wrong version of Acquisition. Zope trunk depends on a
new and not yet released version. Acquisition-2.11.1 isn't good enough.

The eggification of Zope2 trunk has moved some packages into their own
distributions. For all the factored out packages only Acquisition has
seen changes as far as I know.

Hanno

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


[Zope-dev] [Zope 2.12] ImportError: cannot import name aq_inContextOf

2009-01-23 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am currently trying to fix the generation of the creation and
configuration of the startup scripts. I am getting this when running
zopectl:

Traceback (most recent call last):
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/src/Zope2/Startup/run.py",
line 56, in ?
run()
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/src/Zope2/Startup/run.py",
line 21, in run
starter.prepare()
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Zope2-2.12.dev-py2.4-linux-x86_64.egg/Zope2/Startup/__init__.py",
line 98, in prepare
self.setupSecurityOptions()
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Zope2-2.12.dev-py2.4-linux-x86_64.egg/Zope2/Startup/__init__.py",
line 180, in setupSecurityOptions
import AccessControl
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Zope2-2.12.dev-py2.4-linux-x86_64.egg/AccessControl/__init__.py",
line 16, in ?
from AccessControl.Implementation import setImplementation
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Zope2-2.12.dev-py2.4-linux-x86_64.egg/AccessControl/Implementation.py",
line 98, in ?
setImplementation("C")
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Zope2-2.12.dev-py2.4-linux-x86_64.egg/AccessControl/Implementation.py",
line 51, in setImplementation
from AccessControl import ImplC as impl
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Zope2-2.12.dev-py2.4-linux-x86_64.egg/AccessControl/ImplC.py",
line 35, in ?
from AccessControl.ImplPython import RestrictedDTML
  File
"/home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Zope2-2.12.dev-py2.4-linux-x86_64.egg/AccessControl/ImplPython.py",
line 23, in ?
from Acquisition import aq_inContextOf
ImportError: cannot import name aq_inContextOf

The debugger output isn't much helpful:

>
/home/develop/sandboxes/Zope2.buildout/trunk/lib/python2.4/site-packages/Acquisition-2.11.1-py2.4-linux-x86_64.egg/Acquisition/__init__.py(4)?()
- -> from interfaces import IAcquirer
(Pdb) dir(_Acquisition)
['Acquired', 'Acquirer', 'AcquisitionCAPI', 'Explicit',
'ExplicitAcquirer', 'ExplicitAcquisitionWrapper', 'Implicit',
'ImplicitAcquisitionWrapper', '__doc__', '__file__', '__name__',
'aq_acquire', 'aq_base', 'aq_chain', 'aq_get', 'aq_inner', 'aq_parent',
'aq_self']


Any bells ringing?

Andreas

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkl596UACgkQCJIWIbr9KYz5AACgti6xi0RU0XzwvBQfFlG89KfF
h4EAniWUKiHzS/EoI7eroyRIextoOrfA
=bdiz
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

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