Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Mar 28, 2009, at 01:16 , thedag...@gmail.com wrote:

 Telling someone to install all of Plone just to make filesystem
 content available seems insane, sorry. There are several products out
 there which can do the job, like LocalFS.

 LocalFS has been updated since 2006. There is nothing in the zope  
 world that is as well maintained as plone. Sorry.

You're not getting my point. Why would I install a huge package just  
for one small functionality?

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAknN3K0ACgkQRAx5nvEhZLIFggCdHt42IgRINAX1PaDyEcH/+M2v
OoYAni2eDjs8FaNzfA/Vir3qkgrgT1zc
=bA60
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] unittest a component that is using zope.dublincore

2009-03-28 Thread Jean-Michel FRANCOIS
Hi,
  I m trying to make my first content type with zope3. The code is
available there: http://github.com/toutpt/z3weblog.entry/tree

I m following the second edition of the book web component developement
with zope3, i know this is not the last edition. So, i m making a
ISized component for my simple content type, with a simple unittest, but
now, i want to use zope.dublincore package and i get an error when i m
launch the tests:

=
(zope3apps)tou...@linux-tggd:~/workspace/zope3apps/apps/prout .bin/test
Running tests at level 1
Running unit tests:
  Running:
...

Error in test test_size_for_display
(z3weblog.entry.tests.test_size.EntrySizeTestCase)
Traceback (most recent call last):
  File
/home/toutpt/outils/python_system/2.5.4/lib/python2.5/unittest.py,
line 260, in run
testMethod()
  File
/home/toutpt/workspace/zope3apps/apps/prout/src/z3weblog.entry/src/z3weblog/entry/tests/test_size.py,
line 21, in test_size_for_display
msg = self.size.sizeForDisplay()
  File
/home/toutpt/workspace/zope3apps/apps/prout/src/z3weblog.entry/src/z3weblog/entry/size.py,
line 24, in sizeForDisplay
unit, chars = self.sizeForSorting()
  File
/home/toutpt/workspace/zope3apps/apps/prout/src/z3weblog.entry/src/z3weblog/entry/size.py,
line 18, in sizeForSorting
dc = dcI.IZopeDublinCore(self.context)
TypeError: ('Could not adapt', z3weblog.entry.content.ZODBWeblogEntry
object at 0x839382c, InterfaceClass
zope.dublincore.interfaces.IZopeDublinCore)

.

Error in test test_size_for_sorting
(z3weblog.entry.tests.test_size.EntrySizeTestCase)
Traceback (most recent call last):
  File
/home/toutpt/outils/python_system/2.5.4/lib/python2.5/unittest.py,
line 260, in run
testMethod()
  File
/home/toutpt/workspace/zope3apps/apps/prout/src/z3weblog.entry/src/z3weblog/entry/tests/test_size.py,
line 16, in test_size_for_sorting
unit, size = self.size.sizeForSorting()
  File
/home/toutpt/workspace/zope3apps/apps/prout/src/z3weblog.entry/src/z3weblog/entry/size.py,
line 18, in sizeForSorting
dc = dcI.IZopeDublinCore(self.context)
TypeError: ('Could not adapt', z3weblog.entry.content.ZODBWeblogEntry
object at 0x839382c, InterfaceClass
zope.dublincore.interfaces.IZopeDublinCore)


  Ran 4 tests with 0 failures and 2 errors in 0.007 seconds.

Tests with errors:
   test_size_for_display (z3weblog.entry.tests.test_size.EntrySizeTestCase)
   test_size_for_sorting (z3weblog.entry.tests.test_size.EntrySizeTestCase)



The trace back is very clear, the zope.dublincore components are not
loaded. The question is : what is the best way to load components in
unittests ? Do just i have to load the zcml of zope.dublincore, or do i
have to register only needed components, if so how can i do that ?

JeanMichel FRANCOIS
Makina-Corpus
begin:vcard
fn:JeanMichel FRANCOIS
n:FRANCOIS;JeanMichel
org:Makina-Corpus
adr;quoted-printable:;;44 boulevard des pas enchant=C3=A9s;Nantes;;44200;FRANCE
email;internet:jeanmichel.franc...@makina-corpus.com
title;quoted-printable:Ing=C3=A9nieur D=C3=A9veloppement
tel;work:0251798084
tel;home:0240133880
tel;cell:0675156788
url:www.makina-corpus.com
version:2.1
end:vcard

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


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread robert rottermann
thedag...@gmail.com schrieb:
 make that: LocalFS hasn't been updated since 2006.
it still works fine,
there is only a line you have to change in its code where it pulls in security
from cmf to some other cmf module. when starting up cmf tells you what is wrong.
so its really easy to fix.
robert

 
 There was a time when I would have agreed with you Jens, but the
 relentless changes to Zope has worn me down. Now I use what Plone uses
 and I only change zope versions when plone changes.
 
 
 
 On Mar 27, 2009 5:16pm, thedag...@gmail.com wrote:
  Telling someone to install all of Plone just to make filesystem
  content available seems insane, sorry. There are several products out
  there which can do the job, like LocalFS.

 LocalFS has been updated since 2006. There is nothing in the zope
 world that is as well maintained as plone. Sorry.


 
  iEYEARECAAYFAknNE78ACgkQRAx5nvEhZLLSZACgnouX6fbkoZjY1jI5KuER4iWt
 
  p40An1l92ewh+I0Gka3ak55qDlhWavQR
 
  =mqeJ
 
  -END PGP SIGNATURE-
 
  ___
 
  Zope maillist  -  Zope@zope.org
 
  http://mail.zope.org/mailman/listinfo/zope
 
  **   No cross posts or HTML encoding!  **
 
  (Related lists -
 
   http://mail.zope.org/mailman/listinfo/zope-announce
 
   http://mail.zope.org/mailman/listinfo/zope-dev )
 
 
 
 
 
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )

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


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Tim Nash
I get your point, I just don't agree with it. It is often easier to just
install plone than it is to:
1. search and discover LocalFS
2. decide if it is too old or if it can be satisfactorily patched.
3. patch it (thank you Robert)
4. test, test and test it.
5. Hope that it still works in the next version of zope that comes out.
6. plan to test, test and test it in the next version of zope. And the next,
and on and on.

Or you can install plone and know that it has been well tested, it is well
maintained and has a large community. One click and you are done. The next
version of plone will also be well tested.

Look, you can do it anyway you want but if you want to imply that my
suggestion to use Plone  is 'insane' you need to come up with a better
alternative than LocalFS.

But of course this is all moot. For most installs the best way to use large
javascript libraries is to put it into an apache folder.

On Sat, Mar 28, 2009 at 1:15 AM, Jens Vagelpohl j...@dataflake.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 On Mar 28, 2009, at 01:16 , thedag...@gmail.com wrote:

  Telling someone to install all of Plone just to make filesystem
  content available seems insane, sorry. There are several products out
  there which can do the job, like LocalFS.
 
  LocalFS has been updated since 2006. There is nothing in the zope
  world that is as well maintained as plone. Sorry.

 You're not getting my point. Why would I install a huge package just
 for one small functionality?

 jens



 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.8 (Darwin)

 iEYEARECAAYFAknN3K0ACgkQRAx5nvEhZLIFggCdHt42IgRINAX1PaDyEcH/+M2v
 OoYAni2eDjs8FaNzfA/Vir3qkgrgT1zc
 =bA60
 -END PGP SIGNATURE-
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )

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


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Andreas Jung
2009/3/28 Tim Nash thedag...@gmail.com

 I get your point, I just don't agree with it. It is often easier to just
 install plone than it is to:
 1. search and discover LocalFS
 2. decide if it is too old or if it can be satisfactorily patched.
 3. patch it (thank you Robert)
 4. test, test and test it.
 5. Hope that it still works in the next version of zope that comes out.
 6. plan to test, test and test it in the next version of zope. And the
 next, and on and on.

 Or you can install plone and know that it has been well tested, it is well
 maintained and has a large community. One click and you are done. The next
 version of plone will also be well tested.

 Look, you can do it anyway you want but if you want to imply that my
 suggestion to use Plone  is 'insane' you need to come up with a better
 alternative than LocalFS.

 But of course this is all moot. For most installs the best way to use large
 javascript libraries is to put it into an apache folder.


Installing Plone in such a case is only the solution if one has no better
idea about doing things. The Filesystem Directory View functionality
is available out-of-the-box through CMF (which is much smaller than Plone).
There was also something like SkinnedFolder (I think) implementing
are similar functionality.

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


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Tim Nash
 Installing Plone in such a case is only the solution if one has no better
idea about doing things

*sigh* ...and people wonder why the zope community is dying.

I have my very reasonable way of using zope/plone and personal attacks are
not going to change my mind.


On Sat, Mar 28, 2009 at 12:13 PM, Andreas Jung li...@zopyx.com wrote:



 2009/3/28 Tim Nash thedag...@gmail.com

 I get your point, I just don't agree with it. It is often easier to just
 install plone than it is to:
 1. search and discover LocalFS
 2. decide if it is too old or if it can be satisfactorily patched.
 3. patch it (thank you Robert)
 4. test, test and test it.
 5. Hope that it still works in the next version of zope that comes out.
 6. plan to test, test and test it in the next version of zope. And the
 next, and on and on.

 Or you can install plone and know that it has been well tested, it is well
 maintained and has a large community. One click and you are done. The next
 version of plone will also be well tested.

 Look, you can do it anyway you want but if you want to imply that my
 suggestion to use Plone  is 'insane' you need to come up with a better
 alternative than LocalFS.

 But of course this is all moot. For most installs the best way to use
 large javascript libraries is to put it into an apache folder.


 Installing Plone in such a case is only the solution if one has no better
 idea about doing things. The Filesystem Directory View functionality
 is available out-of-the-box through CMF (which is much smaller than Plone).
 There was also something like SkinnedFolder (I think) implementing
 are similar functionality.

 -aj


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


Re: [Zope] How to add existing folder in Zope

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

On 28.03.2009 14:32 Uhr, Tim Nash wrote:
 Installing Plone in such a case is only the solution if one has no
 better idea about doing things
 
 *sigh* ...and people wonder why the zope community is dying.
 
 I have my very reasonable way of using zope/plone and personal attacks
 are not going to change my mind.

It basically about looking left and right and choosing the right tool
for a problem. Installing Plone for your usecase is totally inadequate.
It's like driving with a tank to the supermarket around the corner for
buying a banana.

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

iEYEARECAAYFAknOfFQACgkQCJIWIbr9KYyQYQCg1OUf+mf2WJ8tghabke+zQ5ID
AqgAn2eGCj99qvzljg19sRQBZhxb9X5B
=2nHN
-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 maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Tim Nash
No your response and Jens response are totally inappropriate. We will never
rebuild this community if all our posts are greeted with personal attacks.
Using plone for the said usecase is not inappropriate especially since using
a directory view does not require using all of plone.

Please keep your arguments reasonable and focused on the technology or the
management of that technology.


On Sat, Mar 28, 2009 at 12:37 PM, Andreas Jung li...@zopyx.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 28.03.2009 14:32 Uhr, Tim Nash wrote:
  Installing Plone in such a case is only the solution if one has no
  better idea about doing things
 
  *sigh* ...and people wonder why the zope community is dying.
 
  I have my very reasonable way of using zope/plone and personal attacks
  are not going to change my mind.

 It basically about looking left and right and choosing the right tool
 for a problem. Installing Plone for your usecase is totally inadequate.
 It's like driving with a tank to the supermarket around the corner for
 buying a banana.

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

 iEYEARECAAYFAknOfFQACgkQCJIWIbr9KYyQYQCg1OUf+mf2WJ8tghabke+zQ5ID
 AqgAn2eGCj99qvzljg19sRQBZhxb9X5B
 =2nHN
 -END PGP SIGNATURE-

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


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Andrew Milton
+---[ Tim Nash ]--
| No your response and Jens response are totally inappropriate. We will never
| rebuild this community if all our posts are greeted with personal attacks.

You're not going to rebuild any community if given a choice of two
items, they're told to install the largest most complicated of them.

| Using plone for the said usecase is not inappropriate especially since using a
| directory view does not require using all of plone.

Yes, Jens failed to factor in ideology and laziness into the use-case.

| Please keep your arguments reasonable and focused on the technology or the
| management of that technology.

OK.

LocalFS works. It's small. It does the task that was asked for. There
are various patches around that increase its performance to close to that 
of serving static content directly out of Apache.

Serving from Apache works. It's external to Zope. It does the task that
was asked for, but, can't be managed from inside Zope or it requires the
Zope install to share a filesystem with Apache (to manage from zope).

Plone works. It's huge. It's complicated. It does 1000x more things than 
was asked for and is not a solution that should be recommended to simply 
serve files from the file system.

Get a grip. You might want to install plone to do it, but, 99 times out
of 100 that isn't the correct solution to recommend to *anyone* that
just wants to serve files from the file system.

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


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Tim Nash
Andrew,  If you are going to ignore my arguments about Plone being well
tested, easy to install and having a better upgrade path than a customized
solution like patching localFS, then this is just a waste
of everybody's time.


On Sat, Mar 28, 2009 at 1:33 PM, Andrew Milton a...@theinternet.com.auwrote:

 +---[ Tim Nash ]--
 | No your response and Jens response are totally inappropriate. We will
 never
 | rebuild this community if all our posts are greeted with personal
 attacks.

 You're not going to rebuild any community if given a choice of two
 items, they're told to install the largest most complicated of them.

 | Using plone for the said usecase is not inappropriate especially since
 using a
 | directory view does not require using all of plone.

 Yes, Jens failed to factor in ideology and laziness into the use-case.

 | Please keep your arguments reasonable and focused on the technology or
 the
 | management of that technology.

 OK.

 LocalFS works. It's small. It does the task that was asked for. There
 are various patches around that increase its performance to close to that
 of serving static content directly out of Apache.

 Serving from Apache works. It's external to Zope. It does the task that
 was asked for, but, can't be managed from inside Zope or it requires the
 Zope install to share a filesystem with Apache (to manage from zope).

 Plone works. It's huge. It's complicated. It does 1000x more things than
 was asked for and is not a solution that should be recommended to simply
 serve files from the file system.

 Get a grip. You might want to install plone to do it, but, 99 times out
 of 100 that isn't the correct solution to recommend to *anyone* that
 just wants to serve files from the file system.

 --
 Andrew Milton
 a...@theinternet.com.au

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


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Andrew Milton
+---[ Tim Nash ]--
| Andrew,
|   If you are going to ignore my arguments about Plone being well tested, easy
| to install and having a better upgrade path than a customized solution like
| patching localFS, then this is just a waste of everybody's time.

translation: If you don't agree with Tim he will stick his fingers in
his ears and go la la la la I'm not listening

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


[Zope] Migrated from Zope 2.7.8 to 2.10; how to fix Unauthorized: You are not allowed to access 'standard_html_header' in this context error?

2009-03-28 Thread Aleksey Tsalolikhin
Hi.  I recently migrated from Zope 2.7.8 to 2.10 and am now seeing
this error in my event.log:


2009-03-28T21:15:52 ERROR root Exception while rendering an error message
Traceback (most recent call last):
  File /usr/lib/zope/lib/python/OFS/SimpleItem.py, line 225, in
raise_standardErrorMessage
v = s(client, REQUEST, **kwargs)
  File /usr/lib/zope/lib/python/OFS/DTMLMethod.py, line 144, in __call__
r=apply(HTML.__call__, (self, client, REQUEST), kw)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line
476, in __call__
try: result = render_blocks(self._v_blocks, md)
Unauthorized: You are not allowed to access 'standard_html_header' in
this context

What does it mean?  How do I fix it, please?

I am new to Zope.

I copied the Web app by export from the old server and import to the new one.

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


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

2009-03-28 Thread Yoshinori Okuji
On Saturday 28 March 2009 06:11:30 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...

I don't think zope.app.security is nailed down in your buildout.cfg, because 
it is listed in extras_require in setup.py, so the version specification is 
not taken into account, if you specify just zope2. In fact, this works 
well:

[buildout]
parts = zopetest

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

I cannot say if this is a bug, since I don't know how zc.buildout is supposed 
to deal with versions for extras.

Regards,
YO
-- 
Yoshinori Okuji, Nexedi KK President
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.co.jp/
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com/
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org/
___
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 Tests: 4 OK, 2 Unknown

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


Unknown
---

Subject: UNKNOWN : Zope-trunk-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Fri Mar 27 21:15:55 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011353.html

Subject: UNKNOWN : Zope-trunk-alltests Python-2.5.4 : Linux
From: Zope Tests
Date: Fri Mar 27 21:17:56 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011354.html


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Fri Mar 27 21:07:51 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011349.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Fri Mar 27 21:09:54 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011350.html

Subject: OK : Zope-trunk Python-2.4.6 : Linux
From: Zope Tests
Date: Fri Mar 27 21:11:55 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011351.html

Subject: OK : Zope-trunk Python-2.5.4 : Linux
From: Zope Tests
Date: Fri Mar 27 21:13:55 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011352.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] trying out the buildout-based Zope 2.12...

2009-03-28 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'.
 
 

The issue is caused (or at least related) due to the separation
of packages in install_requires and extra_requires within the setup.py
of the Zope 2 package..I will check this with Hanno during Pycon.

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

iEYEARECAAYFAknOGGwACgkQCJIWIbr9KYw1wQCfbpiOapDE7+v2t9pG4bmcjdDe
ixAAn0RgxcXumu4o8kxeuzZeR951G8ac
=3f6F
-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-28 Thread Wichert Akkerman
Previously 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?!

Because buildout is not installing the Zope2 at that point, so it is not
using any version pins defined by the Zope2 egg. That is a design flaw
in setuptools at the moment: it works package-by-package instead of
trying to figure out what the final target working set should look like.

Wichert.

-- 
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
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] setuptools dependency for zope.interface (was Re: [Checkins] SVN: zope.interface/trunk/src/zope/__init__.py 'setuptools' is not a dependency, reverting r97875)

2009-03-28 Thread Baiju M
Hi,
I am sorry, I made a mistake in the beginning of this month by removing
the fall-back import of 'pkgutil' from zope.interface
And this is made into 3.5.1 release, so it will a break for those who
don't have 'setuptools' installed.  I have reverted that change now.
Can anyone give me access to PyPI entry  or make a new release.
My PyPI ID is 'baijum'.

BTW, should we make 'setuptools' as a dependency for 'zope.interface'

Regards,
Baiju M


On Sat, Mar 28, 2009 at 3:11 PM, Baiju M baiju.m.m...@gmail.com wrote:
 Log message for revision 98434:
  'setuptools' is not a dependency, reverting r97875


 Changed:
  U   zope.interface/trunk/src/zope/__init__.py

 -=-
 Modified: zope.interface/trunk/src/zope/__init__.py
 ===
 --- zope.interface/trunk/src/zope/__init__.py   2009-03-28 16:58:29 UTC (rev 
 98433)
 +++ zope.interface/trunk/src/zope/__init__.py   2009-03-28 20:11:50 UTC (rev 
 98434)
 @@ -1 +1,7 @@
 -__import__('pkg_resources').declare_namespace(__name__)
 +# this is a namespace package
 +try:
 +    import pkg_resources
 +    pkg_resources.declare_namespace(__name__)
 +except ImportError:
 +    import pkgutil
 +    __path__ = pkgutil.extend_path(__path__, __name__)

 ___
 Checkins mailing list
 check...@zope.org
 http://mail.zope.org/mailman/listinfo/checkins

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