[Zope-dev] Zope Tests: 6 OK

2009-03-27 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Thu Mar 26 12:00:00 2009 UTC to Fri Mar 27 12:00:00 2009 UTC.
There were 6 messages: 6 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Mar 26 21:23:23 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011343.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Mar 26 21:25:28 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011344.html

Subject: OK : Zope-trunk Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Mar 26 21:27:28 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011345.html

Subject: OK : Zope-trunk Python-2.5.4 : Linux
From: Zope Tests
Date: Thu Mar 26 21:29:29 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011346.html

Subject: OK : Zope-trunk-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Mar 26 21:31:31 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011347.html

Subject: OK : Zope-trunk-alltests Python-2.5.4 : Linux
From: Zope Tests
Date: Thu Mar 26 21:33:31 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011348.html

___
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 and Cygwin

2009-03-27 Thread Cesar Canassa
Thanks!

I replaced the code with the one from this link and compiled it again,
worked like a charm :-)

http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py


Regards,
Cesar Canassa

2009/3/26 Ross Patterson m...@rpatterson.net

 Cesar Canassa cesar.cana...@gmail.com writes:

  I am trying to run Zope using cygwin and Windows XP. I started by
 downloading the
  Python 2.4.6 sources and compiling it with:
 
  ./configure
  make  make install
 
  After that I downloaded the Zope-2.11.2-final sources and compiled it
 with:
 
  ./configure --with-python=/usr/local/bin/python
  make  make install
 
  The compilation went smoothly so I created a instance and started the
 server with
  the runzope script. The script returned this error:
 
  $ ./runzope
  Traceback (most recent call last):
File /opt/Zope-2.11/lib/python/Zope2/Startup/run.py, line 56, in ?
  run()
File /opt/Zope-2.11/lib/python/Zope2/Startup/run.py, line 21, in run
  starter.prepare()
File /opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py, line 109,
 in prepare
  self.startZope()
File /opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py, line 300,
 in
  startZope
  Zope2.startup()
File /opt/Zope-2.11/lib/python/Zope2/__init__.py, line 47, in startup
  _startup()
File /opt/Zope-2.11/lib/python/Zope2/App/startup.py, line 105, in
 startup
  Globals.VersionNameName)
File /opt/Zope-2.11/lib/python/App/ZApplication.py, line 32, in
 __init__
  if not root.has_key(name):
File /opt/Zope-2.11/lib/python/ZODB/Connection.py, line 811, in
 setstate
  self._setstate(obj)
File /opt/Zope-2.11/lib/python/ZODB/Connection.py, line 870, in
 _setstate
  self._reader.setGhostState(obj, p)
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 604, in
 setGhostState
  state = self.getState(pickle)
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 597, in
 getState
  return unpickler.load()
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 471, in
  _persistent_load
  return self.load_oid(reference)
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 537, in
 load_oid
  return self._conn.get(oid)
File /opt/Zope-2.11/lib/python/ZODB/Connection.py, line 245, in get
  obj = self._reader.getGhost(p)
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 591, in
 getGhost
  return klass.__new__(klass, *args)
  TypeError: Acquirer.__new__(Application) is not safe, use
  Persistence.Persistent.__new__()
 
  Am I doing something wrong? Does anyone knows if it's possible to compile
 Zope
  with Cygwin?

 Maybe the following can help:

 http://rpatterson.net/software/products.cygwinpatch
 http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py
 http://mail.zope.org/pipermail/zope/2005-December/163636.html

 Ross

 ___
 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 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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Hey All,

I'm trying to get Zope 2.12 working with buildout, in the absence of 
docs, I thought I'd try:

[buildout]
parts = zopetest

[zopetest]
recipe = zc.recipe.egg
interpreter = py
eggs =
   zope2

...and was rewarded with:

Got zope.principalregistry 3.7.0.
While:
   Installing zopetest.
Error: There is a version conflict.
We already have: zope.component 3.5.1
but zope.app.security 3.7.0 requires 'zope.component=3.6.0'.


wtf?

Chris
___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 27.03.2009 15:47 Uhr, Chris Withers wrote:
 Hey All,
 
 I'm trying to get Zope 2.12 working with buildout, in the absence of 
 docs, I thought I'd try:
 
 [buildout]
 parts = zopetest
 
 [zopetest]
 recipe = zc.recipe.egg
 interpreter = py
 eggs =
zope2
 
 ...and was rewarded with:
 
 Got zope.principalregistry 3.7.0.
 While:
Installing zopetest.
 Error: There is a version conflict.
 We already have: zope.component 3.5.1
 but zope.app.security 3.7.0 requires 'zope.component=3.6.0'.
 
 
 wtf?

Same problem as Dieter had some days ago using easy_install. I spent
some time finding the crappy package but failed so far. For now:
perform a SVN checkout of the Zope trunk and use this (bootstrap.py +
bin/buildout game).

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

iEYEARECAAYFAknNPEcACgkQCJIWIbr9KYwK+QCgqlDruBd5nyVahnq03jafn0uf
tpwAoKwzsBwb33drQ/RaedrN2eSsnW1X
=NuiX
-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 )


Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Chris Withers wrote:
 Got zope.principalregistry 3.7.0.
 While:
Installing zopetest.
 Error: There is a version conflict.
 We already have: zope.component 3.5.1
 but zope.app.security 3.7.0 requires 'zope.component=3.6.0'.

Okay, so I thought I'd be smart and try the following buildout.cfg:

[buildout]
parts = zopetest
versions = versions

[versions]
zope.component=3.6.0

[zopetest]
recipe = zc.recipe.egg
interpreter = py
eggs =
   zope2

But this still burps:

We have the distribution that satisfies 'zope.configuration==3.4.1'.
The version, =3.6.0, is not consistent with the requirement, 
'zope.component==3.5.1'.
While:
   Installing zopetest.
Error: Bad version =3.6.0

Okay, so the 2.12.0.a1 zope2 egg specifies zope.component 3.5.1, fair 
enough, so lets dig into what wants zope.component 3.6.0...

As the original error messages says, it's zope.app.security 3.7.0 that 
wants zope.component 3.6.0.

But wait, zope2 2.12.0.a1 SPECIFIES a hard requirement of 
zope.app.security 3.6.0.

What the hell is zope.app.security 3.7.0 doing being dragged down?
Is this a buildout snafu? Jim?

cheers,

Chris
___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 27.03.2009 16:02 Uhr, Chris Withers wrote:
 Chris Withers wrote:
 Got zope.principalregistry 3.7.0.
 While:
Installing zopetest.
 Error: There is a version conflict.
 We already have: zope.component 3.5.1
 but zope.app.security 3.7.0 requires 'zope.component=3.6.0'.
 
 Okay, so I thought I'd be smart and try the following buildout.cfg:


Stop with your approach right now until we have understood what's going
wrong. Working with a SVN checkout from the trunk works (as said).

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

iEYEARECAAYFAknNQE8ACgkQCJIWIbr9KYzg3ACgmMwrsKXIyjBjVI8/2r57lYSW
ZUMAn2mTm0vVhdM3R17306nABzvssYQw
=LZvd
-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 )


Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Andreas Jung wrote:
 Stop with your approach right now until we have understood what's going
 wrong. Working with a SVN checkout from the trunk works (as said).

I'm interested in actually solving what's wrong ;-)

This feels like buildout doing something wrong, at the very least. It 
has a hard-nailed version for zope.app.security and appears to be 
ignoring that...

Chris

___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Andreas Jung
On Fri, Mar 27, 2009 at 16:11, Chris Withers ch...@simplistix.co.uk wrote:

 Andreas Jung wrote:

 Stop with your approach right now until we have understood what's going
 wrong. Working with a SVN checkout from the trunk works (as said).


 I'm interested in actually solving what's wrong ;-)


Chris, go! Two  free beer during PyCon if you can figure it out :-)

Andreas
___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 27.03.2009 16:11 Uhr, Chris Withers wrote:
 Andreas Jung wrote:
 Stop with your approach right now until we have understood what's going
 wrong. Working with a SVN checkout from the trunk works (as said).
 
 I'm interested in actually solving what's wrong ;-)
 
 This feels like buildout doing something wrong, at the very least. It
 has a hard-nailed version for zope.app.security and appears to be
 ignoring that...


One last hint: you might try using 'pip' (instead of 'easy_install').
'pip -v' gives you better information about the dependencies pulled in
and where (but it does not tell you why - at least not obviously).

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

iEYEARECAAYFAknNQqMACgkQCJIWIbr9KYy3EQCg6Qaqzp3rDBev3R8tfY+wzvou
dpQAnR0R1Xg7WF/w0xvF75jJe64fQpip
=1Dlv
-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 )


Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Andreas Jung wrote:
 One last hint: you might try using 'pip' (instead of 'easy_install').
 'pip -v' gives you better information about the dependencies pulled in
 and where (but it does not tell you why - at least not obviously).

Engage brain ;-)

I'm not using easy_install, I'm using buildout...

(yeah, I know buildout uses easy_install, but...)

Chris


___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Paul Winkler
On Fri, Mar 27, 2009 at 04:27:31PM -0500, Chris Withers wrote:
 Andreas Jung wrote:
  One last hint: you might try using 'pip' (instead of 'easy_install').
  'pip -v' gives you better information about the dependencies pulled in
  and where (but it does not tell you why - at least not obviously).
 
 Engage brain ;-)
 
 I'm not using easy_install, I'm using buildout...
 
 (yeah, I know buildout uses easy_install, but...)

One possibility: try using http://pypi.python.org/pypi/gp.recipe.pip ?

-- 

Paul Winkler
http://www.slinkp.com
___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Paul Winkler wrote:
 I'm not using easy_install, I'm using buildout...

 (yeah, I know buildout uses easy_install, but...)
 
 One possibility: try using http://pypi.python.org/pypi/gp.recipe.pip ?

I need to be totally upfront about this:

I'm interested in finding out why something that *should* work is 
broken. I worry that there's something not quite right in buildout 
that's causing that, and that's something I'd like to fix...

I'm NOT interested in working around the problem, specifically by trying 
out weird'n'whacky recipes...

Chris

___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Paul Winkler
On Fri, Mar 27, 2009 at 04:34:43PM -0500, Chris Withers wrote:
 Paul Winkler wrote:
 I'm not using easy_install, I'm using buildout...

 (yeah, I know buildout uses easy_install, but...)

 One possibility: try using http://pypi.python.org/pypi/gp.recipe.pip ?

 I need to be totally upfront about this:

 I'm interested in finding out why something that *should* work is  
 broken. I worry that there's something not quite right in buildout  
 that's causing that, and that's something I'd like to fix...

 I'm NOT interested in working around the problem, specifically by trying  
 out weird'n'whacky recipes...

Well, yeah. The point of the suggestion was specifically to help you
get more info about the dependency chain, since pip is more verbose
about that than easy_install is.

-- 

Paul Winkler
http://www.slinkp.com
___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Jim Fulton

On Mar 27, 2009, at 4:47 PM, Chris Withers wrote:

 Hey All,

 I'm trying to get Zope 2.12 working with buildout, in the absence of
 docs, I thought I'd try:

 [buildout]
 parts = zopetest

 [zopetest]
 recipe = zc.recipe.egg
 interpreter = py
 eggs =
   zope2

 ...and was rewarded with:

 Got zope.principalregistry 3.7.0.
 While:
   Installing zopetest.
 Error: There is a version conflict.
 We already have: zope.component 3.5.1
 but zope.app.security 3.7.0 requires 'zope.component=3.6.0'.


 wtf?


Try running buildout in verbose mode (-v).

It will tell you why it added zope.component 3.5.1.

Jim

--
Jim Fulton
Zope Corporation


___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Jim Fulton

On Mar 27, 2009, at 5:27 PM, Chris Withers wrote:
 (yeah, I know buildout uses easy_install, but...)


Not in a significant way.  (It uses easy_install to build eggs from  
source distributions, and nothing else. It really should use bdist_egg  
instead.)

Jim

--
Jim Fulton
Zope Corporation


___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Paul Winkler wrote:
 Well, yeah. The point of the suggestion was specifically to help you
 get more info about the dependency chain, since pip is more verbose
 about that than easy_install is.

Well, running buildout -v gives some good clues, a piece of which is 
this:

Getting required 'zope.app.security'
   required by zope.app.publication 3.5.1.
   required by zope.app.component 3.6.0.
   required by zope.app.testing 3.6.0.
We have the best distribution that satisfies 'zope.app.security'.
Picked: zope.app.security = 3.7.0


Okay, cute, but WHY is 3.7.0 being picked, rather than the 3.6.0 that's 
nailed down in zope2 2.12.0a1's setup.py?!

These:

zope.app.publication 3.5.1.
zope.app.component 3.6.0.
zope.app.testing 3.6.0.

...are all in the 2.12.0a1 setup.py..

...and none of them specify any version for zope.app.security, so again, 
I'm left wondering why buildout is picking zope.app.security 3.7.0 in 
direct contradiction to the 3.6.0 specced in zope2 2.12.0a1's setup.py?

cheers,

Chris
___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Chris Withers wrote:
 Paul Winkler wrote:
 Well, yeah. The point of the suggestion was specifically to help you
 get more info about the dependency chain, since pip is more verbose
 about that than easy_install is.
 
 Well, running buildout -v gives some good clues, a piece of which is 
 this:
 
 Getting required 'zope.app.security'
required by zope.app.publication 3.5.1.
required by zope.app.component 3.6.0.
required by zope.app.testing 3.6.0.
 We have the best distribution that satisfies 'zope.app.security'.
 Picked: zope.app.security = 3.7.0
 
 
 Okay, cute, but WHY is 3.7.0 being picked, rather than the 3.6.0 that's 
 nailed down in zope2 2.12.0a1's setup.py?!

Off the back of this, I changed the buildout.cfg to be the following:
[buildout]
parts = zopetest
versions = versions

[versions]
zope.app.security=3.6.0

[zopetest]
recipe = zc.recipe.egg
interpreter = py
eggs =
   zope2

...and we got much further. So, this has gotta be a buildout bug, right?

cheers,

Chris

PS: Even with the above, the next barf is:

Error: There is a version conflict.
We already have: zope.component 3.5.1
but zope.authentication 3.7.0 requires 'zope.component=3.6.0'.

Interestingly, zope.authentication *isn't* listed in zope2 2.12.0a1's 
setup.y. I guess it should be?
___
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 and Cygwin

2009-03-27 Thread Cesar Canassa
One more question.

Does Zope requires that a root user should exist on system in order to run
properly? I am asking this because when I try to run Zope as a daemon I got
this:

$ ./plonectl start
instance: . . . . . . . . . . . . . . . . . . . Unlinking stale socket
/cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock;
sleep 1
No handlers could be found for logger root
. Unlinking stale socket
/cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock;
sleep 1
. Unlinking stale socket
/cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock;
sleep 1
. Unlinking stale socket
/cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock;
sleep 1
. Unlinking stale socket
/cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock;
sleep 1
. Unlinking stale socket
/cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock;
sleep 1


It continues spamming this until I kill the process, the server does not
start neither. I suspect that this is happening because of the lack of a
root user on my Cygwin installation.

If I use the runzope script it works ok thought.

Thanks,
Cesar

2009/3/27 Cesar Canassa cesar.cana...@gmail.com

 Thanks!

 I replaced the code with the one from this link and compiled it again,
 worked like a charm :-)

 http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py


 Regards,
 Cesar Canassa

 2009/3/26 Ross Patterson m...@rpatterson.net

 Cesar Canassa cesar.cana...@gmail.com writes:

  I am trying to run Zope using cygwin and Windows XP. I started by
 downloading the
  Python 2.4.6 sources and compiling it with:
 
  ./configure
  make  make install
 
  After that I downloaded the Zope-2.11.2-final sources and compiled it
 with:
 
  ./configure --with-python=/usr/local/bin/python
  make  make install
 
  The compilation went smoothly so I created a instance and started the
 server with
  the runzope script. The script returned this error:
 
  $ ./runzope
  Traceback (most recent call last):
File /opt/Zope-2.11/lib/python/Zope2/Startup/run.py, line 56, in ?
  run()
File /opt/Zope-2.11/lib/python/Zope2/Startup/run.py, line 21, in run
  starter.prepare()
File /opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py, line 109,
 in prepare
  self.startZope()
File /opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py, line 300,
 in
  startZope
  Zope2.startup()
File /opt/Zope-2.11/lib/python/Zope2/__init__.py, line 47, in
 startup
  _startup()
File /opt/Zope-2.11/lib/python/Zope2/App/startup.py, line 105, in
 startup
  Globals.VersionNameName)
File /opt/Zope-2.11/lib/python/App/ZApplication.py, line 32, in
 __init__
  if not root.has_key(name):
File /opt/Zope-2.11/lib/python/ZODB/Connection.py, line 811, in
 setstate
  self._setstate(obj)
File /opt/Zope-2.11/lib/python/ZODB/Connection.py, line 870, in
 _setstate
  self._reader.setGhostState(obj, p)
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 604, in
 setGhostState
  state = self.getState(pickle)
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 597, in
 getState
  return unpickler.load()
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 471, in
  _persistent_load
  return self.load_oid(reference)
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 537, in
 load_oid
  return self._conn.get(oid)
File /opt/Zope-2.11/lib/python/ZODB/Connection.py, line 245, in get
  obj = self._reader.getGhost(p)
File /opt/Zope-2.11/lib/python/ZODB/serialize.py, line 591, in
 getGhost
  return klass.__new__(klass, *args)
  TypeError: Acquirer.__new__(Application) is not safe, use
  Persistence.Persistent.__new__()
 
  Am I doing something wrong? Does anyone knows if it's possible to
 compile Zope
  with Cygwin?

 Maybe the following can help:

 http://rpatterson.net/software/products.cygwinpatch
 http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py
 http://mail.zope.org/pipermail/zope/2005-December/163636.html

 Ross

 ___
 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 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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Tobias Rodäbel
Hi,

had the same issue tonight. I'm using attached versions.cfg for now.  
That works quite well for me.

Cheers,
Tobias

[buildout]
versions = versions

[versions]
Acquisition = 2.12.0a1
DateTime = 2.11.2
ExtensionClass = 2.11.1
Persistence = 2.11.1
tempstorage = 2.11.1
zLOG = 2.11.1
ClientForm = 0.2.10
RestrictedPython = 3.5.0
ZConfig = 2.6.1
ZODB3 = 3.9.0a11
docutils = 0.5
jquery.javascript = 1.0.0
jquery.layer = 1.0.0
lxml = 2.2beta4
mechanize = 0.1.11
pytz = 2009a
setuptools = 0.6c9
transaction = 1.0a1
z3c.coverage = 1.1.2
z3c.csvvocabulary = 1.0.0
z3c.etestbrowser = 1.2.1
z3c.form = 1.9.0
z3c.formdemo = 1.5.3
z3c.formjs = 0.4.1
z3c.formjsdemo = 0.3.1
z3c.formui = 1.4.2
z3c.i18n = 0.1.1
z3c.layer.minimal = 1.0.1
z3c.layer.pagelet = 1.0.1
z3c.layer.ready2go = 0.5.1
z3c.layer.trusted = 1.0.1
z3c.macro = 1.1.0
z3c.macroviewlet = 1.0.0
z3c.menu.ready2go = 0.5.1
z3c.menu.simple = 0.5.1
z3c.optionstorage = 1.0.4
z3c.pagelet = 1.0.3
z3c.rml = 0.7.3
z3c.schema = 0.6.0
z3c.skin.pagelet = 1.0.2
z3c.template = 1.2.0
z3c.testing = 0.3.0
z3c.traverser = 0.2.4
z3c.viewtemplate = 0.4.0
z3c.zrtresource = 1.1.0
zc.buildout = 1.2.0
zc.catalog = 1.4.1
zc.datetimewidget = 0.6.1
zc.i18n = 0.6.1
zc.lockfile = 1.0
zc.recipe.egg = 1.1.0
zc.recipe.filestorage = 1.0.1
zc.recipe.testrunner = 1.1.0
zc.resourcelibrary = 1.0.2
zc.table = 0.7.0
zc.zope3recipes = 0.7.0
zdaemon = 2.0.2
zodbcode = 3.4.0
zope.annotation = 3.4.1
zope.app.apidoc = 3.6.1
zope.app.applicationcontrol = 3.4.3
zope.app.appsetup = 3.9.0
zope.app.authentication = 3.5.0a2
zope.app.basicskin = 3.4.0
zope.app.boston = 3.4.0
zope.app.broken = 3.5.0
zope.app.cache = 3.5.0
zope.app.catalog = 3.8.0
zope.app.component = 3.6.0
zope.app.container = 3.7.0
zope.app.content = 3.4.0
zope.app.dav = 3.5.0
zope.app.debug = 3.4.1
zope.app.debugskin = 3.4.0
zope.app.dependable = 3.4.0
zope.app.dtmlpage = 3.5.0
zope.app.error = 3.5.2
zope.app.exception = 3.4.2
zope.app.externaleditor = 3.5.0
zope.app.file = 3.5.0
zope.app.folder = 3.5.0
zope.app.form = 3.7.1
zope.app.ftp = 3.5.0
zope.app.generations = 3.4.2
zope.app.homefolder = 3.5.0
zope.app.http = 3.5.0
zope.app.i18n = 3.5.0
zope.app.i18nfile = 3.4.1
zope.app.interface = 3.4.0
zope.app.interpreter = 3.4.0
zope.app.intid = 3.7.0
zope.app.layers = 3.4.0
zope.app.locales = 3.5.1
zope.app.locking = 3.5.0
zope.app.module = 3.5.0
zope.app.onlinehelp = 3.5.0
zope.app.pagetemplate = 3.5.0
zope.app.pluggableauth = 3.4.0
zope.app.preference = 3.6.0
zope.app.preview = 3.4.0
zope.app.principalannotation = 3.5.0
zope.app.publication = 3.5.1
zope.app.publisher = 3.6.0
zope.app.pythonpage = 3.5.0
zope.app.renderer = 3.5.0
zope.app.rotterdam = 3.5.0
zope.app.schema = 3.5.0
zope.app.security = 3.6.0
zope.app.securitypolicy = 3.5.1
zope.app.server = 3.4.2
zope.app.session = 3.6.0
zope.app.skins = 3.4.0
zope.app.sqlscript = 3.5.0
zope.app.testing = 3.6.0
zope.app.traversing = 3.4.0
zope.app.tree = 3.6.0
zope.app.twisted = 3.4.2
zope.app.undo = 3.5.0
zope.app.wfmc = 0.1.2
zope.app.workflow = 3.5.0
zope.app.wsgi = 3.4.1
zope.app.xmlrpcintrospection = 3.5.0
zope.app.zapi = 3.4.0
zope.app.zcmlfiles = 3.5.2
zope.app.zopeappgenerations = 3.4.0
zope.app.zptpage = 3.5.0
zope.broken = 3.5.0
zope.browser = 0.5.0
zope.cachedescriptors = 3.4.1
zope.catalog = 3.8.0
zope.component = 3.5.1
zope.configuration = 3.4.1
zope.container = 3.7.1
zope.contentprovider = 3.4.0
zope.contenttype = 3.4.1
zope.copy = 3.5.0
zope.copypastemove = 3.5.1
zope.datetime = 3.4.0
zope.decorator = 3.4.0
zope.deferredimport = 3.5.0
zope.deprecation = 3.4.0
zope.documenttemplate = 3.4.2
zope.dottedname = 3.4.5
zope.dublincore = 3.4.2
zope.error = 3.6.0
zope.event = 3.4.0
zope.exceptions = 3.5.2
zope.file = 0.4.0
zope.filerepresentation = 3.5.0
zope.formlib = 3.5.2
zope.hookable = 3.4.0
zope.html = 1.1.0
zope.i18n = 3.6.0
zope.i18nmessageid = 3.4.3
zope.index = 3.5.1
zope.interface = 3.5.0
zope.intid = 3.7.0
zope.keyreference = 3.6.1
zope.lifecycleevent = 3.5.0
zope.location = 3.5.2
zope.mimetype = 0.3.0
zope.minmax = 1.1.0
zope.modulealias = 3.4.0
zope.pagetemplate = 3.4.1
zope.proxy = 3.5.0
zope.publisher = 3.5.5
zope.rdb = 3.5.0
zope.schema = 3.5.2
zope.security = 3.6.0
zope.securitypolicy = 3.5.0
zope.sendmail = 3.5.1
zope.sequencesort = 3.4.0
zope.server = 3.5.0
zope.session = 3.8.1
zope.site = 3.6.0
zope.size = 3.4.0
zope.structuredtext = 3.4.0
zope.tal = 3.5.0
zope.tales = 3.4.0
zope.testbrowser = 3.6.0a2
zope.testing = 3.7.1
zope.testrecorder = 0.3.0
zope.traversing = 3.5.2
zope.ucol = 1.0.2
zope.viewlet = 3.5.0
zope.wfmc = 3.4.0
zope.xmlpickle = 3.4.0

On 27.03.2009, at 21:47, Chris Withers wrote:

 Hey All,

 I'm trying to get Zope 2.12 working with buildout, in the absence of
 docs, I thought I'd try:

 [buildout]
 parts = zopetest

 [zopetest]
 recipe = zc.recipe.egg
 interpreter = py
 eggs =
  zope2

 ...and was rewarded with:

 Got zope.principalregistry 3.7.0.
 While:
  Installing zopetest.
 Error: There is a version conflict.
 We already have: zope.component 3.5.1
 but 

Re: [Zope-dev] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Tobias Rodäbel wrote:
 Hi,
 
 had the same issue tonight. I'm using attached versions.cfg for now.  
 That works quite well for me.

Which issue is this supposed to help with?

Chris

___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Tobias Rodäbel
On 28.03.2009, at 00:30, Chris Withers wrote:

 Tobias Rodäbel wrote:
 Hi,

 had the same issue tonight. I'm using attached versions.cfg for now.
 That works quite well for me.

 Which issue is this supposed to help with?

Using zc.buildout. This is my buildut.cfg:

[buildout]
parts = zope zopepy
extends = versions.cfg
unzip = true

[zope]
recipe = zc.recipe.egg:scripts
eggs = Zope2

[zopepy]
recipe = zc.recipe.egg
eggs = Zope2
interpreter = zopepy
scripts = zopepy
___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Tobias Rodäbel wrote:
 On 28.03.2009, at 00:30, Chris Withers wrote:
 
 Tobias Rodäbel wrote:
 Hi,

 had the same issue tonight. I'm using attached versions.cfg for now.
 That works quite well for me.
 Which issue is this supposed to help with?
 
 Using zc.buildout. 

There are currently two seperate issue with specifying zope2 as an egg 
in a buildout.cfg.

Which of these two issues is your solution designed to address?

Chris

___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Tobias Rodäbel
On 28.03.2009, at 00:36, Chris Withers wrote:

 There are currently two seperate issue with specifying zope2 as an  
 egg in a buildout.cfg.

 Which of these two issues is your solution designed to address?

My versions.cfg resolved all version conflicts mentioned within this  
thread.
___
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] trying out the buildout-based Zope 2.12...

2009-03-27 Thread Chris Withers
Tobias Rodäbel wrote:
 My versions.cfg resolved all version conflicts mentioned within this  
 thread.

Cool, I'll bear it in mind, but right now I want to try and actually fix 
things so they work like they should :-)

cheers,

Chris

___
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 )