[Zope-Checkins] SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt Adapt example tests to 'handle_errors' fix (r38608).

2005-10-28 Thread Stefan H. Holek
Log message for revision 39686:
  Adapt example tests to 'handle_errors' fix (r38608).
  

Changed:
  U   
Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt

-=-
Modified: 
Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
===
--- 
Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
2005-10-28 08:12:47 UTC (rev 39685)
+++ 
Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/FunctionalDocTest.txt
2005-10-28 08:14:45 UTC (rev 39686)
@@ -112,7 +112,7 @@
 
print http(r
   ... GET /test_folder_1_/script?a=2 HTTP/1.1
-  ... , handle_errors=False)
+  ... , handle_errors=True)
   HTTP/1.1 500 Internal Server Error
   ...Content-Type: text/html...TypeError...
 
@@ -121,7 +121,7 @@
self.folder.index_html.manage_permission('View', ['Owner'])
print http(r
   ... GET /test_folder_1_/index_html HTTP/1.1
-  ... , handle_errors=False)
+  ... , handle_errors=True)
   HTTP/1.1 401 Unauthorized
   ...
 

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/trunk/lib/python/zope/ Changed to use a tag that has a fix for a test_suite that returned

2005-10-28 Thread Jim Fulton
Log message for revision 39699:
  Changed to use a tag that has a fix for a test_suite that returned
  None.
  

Changed:
  _U  Zope/trunk/lib/python/zope/

-=-

Property changes on: Zope/trunk/lib/python/zope
___
Name: svn:externals
   - app  
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/app
cachedescriptors 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/cachedescriptors
component
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/component
configuration
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/configuration
documenttemplate 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/documenttemplate
event
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/event
exceptions   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/exceptions
hookable 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/hookable
i18n 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/i18n
i18nmessageid
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/i18nmessageid
interface
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/interface
modulealias  
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/modulealias
pagetemplate 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/pagetemplate
proxy
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/proxy
publisher
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/publisher
schema   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/schema
security 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/security
server   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/server
structuredtext   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/structuredtext
tal  
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/tal
tales
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/tales
testing  -r39604 
svn://svn.zope.org/repos/main/zope.testing/trunk/src/zope/testing
thread   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/thread


   + app  
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/app
cachedescriptors 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/cachedescriptors
component
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/component
configuration
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/configuration
documenttemplate 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/documenttemplate
event
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/event
exceptions   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/exceptions
hookable 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/hookable
i18n 
svn://svn.zope.org/repos/main/Zope3/tags/jim-fix-test-ZopeX3-3.0.1-Zope-2.8/src/zope/i18n
i18nmessageid
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/i18nmessageid
interface
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/interface
modulealias  
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/modulealias
pagetemplate 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/pagetemplate
proxy
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/proxy
publisher
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/publisher
schema   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/schema
security 
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/security
server   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/server
structuredtext   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/structuredtext
tal  
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/tal
tales
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/tales
testing  -r39604 
svn://svn.zope.org/repos/main/zope.testing/trunk/src/zope/testing
thread   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope/thread



___
Zope-Checkins maillist  -  Zope-Checkins@zope.org

[Zope-Checkins] SVN: Zope/trunk/lib/python/zope/ testing buildbot

2005-10-28 Thread Jim Fulton
Log message for revision 39702:
  testing buildbot

Changed:
  _U  Zope/trunk/lib/python/zope/

-=-

Property changes on: Zope/trunk/lib/python/zope
___
Name: buildbot:was
   - here

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/trunk/doc/CHANGES.txt

2005-10-28 Thread Chris McDonough
Log message for revision 39706:
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===
--- Zope/trunk/doc/CHANGES.txt  2005-10-28 23:58:33 UTC (rev 39705)
+++ Zope/trunk/doc/CHANGES.txt  2005-10-29 00:08:50 UTC (rev 39706)
@@ -26,6 +26,11 @@
 
 Features added
 
+  - Zope now utilizes ZODB 3.6.  It had previously used
+ZODB 3.4.  As a result, the DBTab package was removed, as
+ZODB 3.6 has multidatabase support that makes DBTab
+unnecessary.
+
   - Added a 'product-config' section type to zope.conf, allowing
 arbitrary key-value mappings.  Products can look for such
 confgiurations to set product-specific options.  Products mwy

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/trunk/ Move to ZODB 3.6.0.b2.

2005-10-28 Thread Tim Peters
Log message for revision 39708:
  Move to ZODB 3.6.0.b2.
  
  There are test failures on Windows, but same ones as
  before.
  
  Also a raft of deprecation warnings, but also the same
  as before.
  

Changed:
  _U  Zope/trunk/doc/
  _U  Zope/trunk/lib/python/
  _U  Zope/trunk/utilities/

-=-

Property changes on: Zope/trunk/doc
___
Name: svn:externals
   - ZEO  svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/doc/ZEO

   + ZEO  svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/doc/ZEO



Property changes on: Zope/trunk/lib/python
___
Name: svn:externals
   - ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3
BTrees svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/src/BTrees
persistent svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/src/persistent
ThreadedAsync  svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/src/ThreadedAsync
transactionsvn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/src/transaction
ZEOsvn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/src/ZEO
ZODB   svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/src/ZODB
ZopeUndo   svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/src/ZopeUndo
zdaemonsvn://svn.zope.org/repos/main/zdaemon/tags/zdaemon-1.1

   + ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3
BTrees svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/src/BTrees
persistent svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/src/persistent
ThreadedAsync  svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/src/ThreadedAsync
transactionsvn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/src/transaction
ZEOsvn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/src/ZEO
ZODB   svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/src/ZODB
ZopeUndo   svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/src/ZopeUndo
zdaemonsvn://svn.zope.org/repos/main/zdaemon/tags/zdaemon-1.1



Property changes on: Zope/trunk/utilities
___
Name: svn:externals
   - ZODBTools  svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b1/src/scripts

   + ZODBTools  svn://svn.zope.org/repos/main/ZODB/tags/3.6.0b2/src/scripts


___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Coders] Zope tests: 6 OK, 2 Failed

2005-10-28 Thread Zope tests summarizer
Summary of messages to the zope-tests list.
Period Thu Oct 27 11:01:02 2005 UTC to Fri Oct 28 11:01:02 2005 UTC.
There were 8 messages: 8 from Zope Unit Tests.


Test failures
-

Subject: FAILED : Zope-trunk Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Thu Oct 27 22:37:49 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-October/003429.html

Subject: FAILED : Zope-trunk Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Thu Oct 27 22:39:19 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-October/003430.html


Tests passed OK
---

Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Thu Oct 27 22:28:49 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-October/003423.html

Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Thu Oct 27 22:30:19 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-October/003424.html

Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Thu Oct 27 22:31:49 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-October/003425.html

Subject: OK : Zope-2_7-branch Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Thu Oct 27 22:33:19 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-October/003426.html

Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux
From: Zope Unit Tests
Date: Thu Oct 27 22:34:49 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-October/003427.html

Subject: OK : Zope-2_8-branch Python-2.4.2 : Linux
From: Zope Unit Tests
Date: Thu Oct 27 22:36:19 EDT 2005
URL: http://mail.zope.org/pipermail/zope-tests/2005-October/003428.html

___
Zope-Coders mailing list
Zope-Coders@zope.org
http://mail.zope.org/mailman/listinfo/zope-coders


Re: [Zope-dev] Mountpoints

2005-10-28 Thread Jim Fulton

Chris McDonough wrote:


Jim redid the way Zope trunk stitches in Zope3 since you last looked
at this, and that can create some mechanical problems (of the kinds
you're seeing, in fact).  The svn docs probably won't help.
Suggestion (which is repetition of what I suggested before this
happened, but we'll gracefully let that pass ;-)):

Check out a fresh, new copy of Zope trunk.

Merge your branch into that.



Thank you!

Eagds.  I *thought* I had done just that.  I had even printed out  your 
previous handholding email about this before starting.  But no.   I did 
not.  Instead, to my horror, I realized had *copied* a trunk  working 
copy (of an unknown vintage, although up-to-date according to  svn 
status after an svn up) and then I'd merged the branch into that.


So about a minute ago, I followed your instructions literally,  figuring 
that I'd be able to sheepishly move on afterwards, but  unfortunately it 
comes out the same.  Literally, here are the commands:


$ svn co svn+ssh://svn.zope.org/repos/main/Zope/trunk
$ cd trunk
$ svn merge -r 38624:HEAD svn+ssh://svn.zope.org/repos/main/Zope/ 
branches/zodb-blobs-branch

$ svn up

... which comes out with 



Fetching external item into 'lib/python/zope/thread'
External at revision 39684.


Fetching external item into 'doc/ZEO'
A  doc/ZEO/cache.txt
A  doc/ZEO/ZopeREADME.txt
A  doc/ZEO/README.txt
A  doc/ZEO/trace.txt
A  doc/ZEO/howto.txt
Updated external to revision 39684.


Fetching external item into 'lib/python/zope'
svn: Working copy 'lib/python/zope' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for  
details)


I am reasonably confident that drinking just one more Yuengling will  
solve this problem in one way or another.


svn:externals suck. A lot.  As Tim suggested, you could throw away
this check out and start over.  A simpler thing you could do is to
remove the zope directory and do an svn up.  Since we switched to
using externals, we see lots of things like this. You just learn to delete
the directories in question.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.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 )


Re: [Zope-dev] Mountpoints

2005-10-28 Thread Chris McDonough

On Oct 28, 2005, at 9:19 AM, Jim Fulton wrote:

svn:externals suck. A lot.  As Tim suggested, you could throw away
this check out and start over.  A simpler thing you could do is to
remove the zope directory and do an svn up.


That sounds reasonable, but I've done both of those things and no joy  
yet.  I've even switched machines in a hail-mary maybe it's a local  
client bug idea.



  Since we switched to
using externals, we see lots of things like this. You just learn to  
delete

the directories in question.


I wish that worked for me.  I'm going to try to offer the directory a  
cold glass of milk laced with arsenic next.  We're getting so cozy  
with each other, I think it might accept.


- C

___
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] Mountpoints

2005-10-28 Thread Tim Peters
[Tim Peters]
 Jim redid the way Zope trunk stitches in Zope3 since you last looked
 at this, and that can create some mechanical problems (of the kinds
 you're seeing, in fact).  The svn docs probably won't help.
 Suggestion (which is repetition of what I suggested before this
 happened, but we'll gracefully let that pass ;-)):

 Check out a fresh, new copy of Zope trunk.

 Merge your branch into that.

[Chris McDonough]
 Thank you!

 Eagds.  I *thought* I had done just that.  I had even printed out  your
 previous handholding email about this before starting.  But no.   I did
 not.  Instead, to my horror, I realized had *copied* a trunk  working
 copy (of an unknown vintage, although up-to-date according to  svn
 status after an svn up) and then I'd merged the branch into that.

 So about a minute ago, I followed your instructions literally,  figuring
 that I'd be able to sheepishly move on afterwards, but  unfortunately it
 comes out the same.  Literally, here are the commands:

 $ svn co svn+ssh://svn.zope.org/repos/main/Zope/trunk
 $ cd trunk
 $ svn merge -r 38624:HEAD
svn+ssh://svn.zope.org/repos/main/Zope/branches/zodb-blobs-branch

Didn't you get any output here?  I saved mine the last time I tried
it, and I expected you'd see the same (except with Linux path
separators):

 U doc
C  lib\python\Zope2\Startup\datatypes.py
U  lib\python\Zope2\Startup\zopeschema.xml
U  lib\python\Products\ZODBMountPoint\tests\testMountPoint.py
U  lib\python\Products\ZODBMountPoint\MountedObject.py
D  lib\python\Products\ZODBMountPoint\Mount.py
D lib\python\DBTab\DBTab.py
D lib\python\DBTab\__init__.py
D lib\python\DBTab\CHANGES.txt
D lib\python\DBTab\Exceptions.py
D lib\python\DBTab\ClassFactories.py
D lib\python\DBTab
D  lib\python\DBTab
 U lib\python
U  setup.py
 U utilities

 $ svn up

 ... which comes out with 

 

 Fetching external item into 'lib/python/zope/thread'
 External at revision 39684.


 Fetching external item into 'doc/ZEO'
 A  doc/ZEO/cache.txt
 A  doc/ZEO/ZopeREADME.txt
 A  doc/ZEO/README.txt
 A  doc/ZEO/trace.txt
 A  doc/ZEO/howto.txt
 Updated external to revision 39684.


 Fetching external item into 'lib/python/zope'
 svn: Working copy 'lib/python/zope' locked
 svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

Drat.  My apologies!  Tried again  I see that too.  Since we
_started_ with current Zope trunk here, and your branch doesn't change
anything at or under lib/python/zope, I didn't expect that.  I was
wrong.

 I am reasonably confident that drinking just one more Yuengling will
 solve this problem in one way or another.

Did it work out?  I'm ill today and saw this on my way back to bed,
but in 5 minutes of trying I didn't find any combination of rm -rf
lib/python/zope and svn cleanup that got me unstuck.  Will try
again later.

[Jim Fulton]
 svn:externals suck. A lot.  As Tim suggested, you could throw away
 this check out and start over.

That's what he tried above -- didn't work for him.  Doesn't work for
me either, but Chris may have clouded my mind ;-)

 A simpler thing you could do is to remove the zope directory and do an svn
 up.

He tried that before and reported endless failures.  That's why I
suggested starting over to begin with.  Should have worked ;-)

 Since we switched to using externals, we see lots of things like this. You 
 just
 learn to delete the directories in question.

That alone wasn't enough for my own Zope trunk checkout -- also needed
to do svn cleanup.  But the start over from scratch sequence above
appears to leave Chris and me in a state where no amount of directory
removal and svn cleanup gets rid of

Fetching external item into 'lib\python\zope'
svn: Working copy 'lib\python\zope' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

upon the next svn up attempt.

Ah, it's the properties on lib/python that are screwing us here!  Chris, throw

svn revert lib/python

into the mix too.  That got me unstuck.  The problem is that both Jim
and I (at least) changed the set of externals listed in lib/python,
and SVN absolutely sucks at merging property changes.  The revert
above gets you back to the externals Zope trunk actually uses today. 
That's vital because Zope trunk stitches in zope in an entirely
different way now.  Reverting also stitches in a version of ZODB we
don't want to use, but after reverting you can do

svn propedit svn:externals lib/python

to put back the right version of ZODB for your branch (s/3.4.2/3.6.0b1/g).

Alternative:  I haven't tried this, but it should work wink too,
and would be easier:  instead of reverting lib/python, do

svn propedit svn:externals lib/python

and just delete the part stitching in `zope`; that's this line:

zope   
svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.1-Zope-2.8/src/zope

The goal here is to end up with externals on lib/python that do _not_
stitch in zope, 

Re: [Zope-dev] Mountpoints

2005-10-28 Thread Chris McDonough
On Fri, 2005-10-28 at 10:12 -0400, Tim Peters wrote:
 Ah, it's the properties on lib/python that are screwing us here!  Chris, throw
 
 svn revert lib/python
 
 into the mix too.  That got me unstuck.  The problem is that both Jim
 and I (at least) changed the set of externals listed in lib/python,
 and SVN absolutely sucks at merging property changes.  The revert
 above gets you back to the externals Zope trunk actually uses today. 
 That's vital because Zope trunk stitches in zope in an entirely
 different way now.  Reverting also stitches in a version of ZODB we
 don't want to use, but after reverting you can do
 
 svn propedit svn:externals lib/python
 
 to put back the right version of ZODB for your branch (s/3.4.2/3.6.0b1/g).

Woo hoo!  As always, you are my hero, Tim.  That worked great.  And it
as a bonus Zope even *starts* after changing the properties and running
svn up.

- C


___
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] Mountpoints

2005-10-28 Thread Chris McDonough
This merge has been done.

Since zopectl test ProductName no longer appears to do the right
thing and I can't seem to get test.py to run anything except the entire
test suite, I didn't create any new tests because I wouldn't have had
the time to create tests and run them iteratively.

That said, all existing tests pass and I did do some interactive
stress-testing of the sessioning mount point, both of which made me feel
comfortable enough to go ahead and do the merge.

Enjoy,

- C


On Fri, 2005-10-28 at 18:53 -0400, Chris McDonough wrote:
 On Fri, 2005-10-28 at 10:12 -0400, Tim Peters wrote:
  Ah, it's the properties on lib/python that are screwing us here!  Chris, 
  throw
  
  svn revert lib/python
  
  into the mix too.  That got me unstuck.  The problem is that both Jim
  and I (at least) changed the set of externals listed in lib/python,
  and SVN absolutely sucks at merging property changes.  The revert
  above gets you back to the externals Zope trunk actually uses today. 
  That's vital because Zope trunk stitches in zope in an entirely
  different way now.  Reverting also stitches in a version of ZODB we
  don't want to use, but after reverting you can do
  
  svn propedit svn:externals lib/python
  
  to put back the right version of ZODB for your branch (s/3.4.2/3.6.0b1/g).
 
 Woo hoo!  As always, you are my hero, Tim.  That worked great.  And it
 as a bonus Zope even *starts* after changing the properties and running
 svn up.
 
 - C
 
 
 ___
 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] Mountpoints

2005-10-28 Thread Tim Peters
[Chris McDonough]
 This merge has been done.

Woo hoo!  Thank you, Chris!

I since stitched in ZODB 3.6.0b2, which is the most recent 3.6
(internal) release.  That didn't seem to create any new problems.

 Since zopectl test ProductName no longer appears to do the right
 thing

Sorry, never used it, don't know anything about it.

 and I can't seem to get test.py to run anything except the entire
 test suite,

Do

test.py -h

for help.  The -t option will probably help you.  For example,


$ \python24\python.exe test.py -vv -t test_pop
Running tests at level 1
C:\python24\lib\whrandom.py:38: DeprecationWarning: the whrandom
module is deprecated; please use the random module
  DeprecationWarning)
Running unit tests:
  Running:
test_pop_default (AccessControl.tests.testZopeGuards.TestDictGuards)
test_pop_raises (AccessControl.tests.testZopeGuards.TestDictGuards)
test_pop_simple (AccessControl.tests.testZopeGuards.TestDictGuards)
test_pop_validates (AccessControl.tests.testZopeGuards.TestDictGuards)
test_pop_raises (AccessControl.tests.testZopeGuards.TestListGuards)
test_pop_simple (AccessControl.tests.testZopeGuards.TestListGuards)
test_pop_validates (AccessControl.tests.testZopeGuards.TestListGuards)
  Ran 7 tests with 0 failures and 0 errors in 0.000 seconds.

$ \python24\python.exe test.py -vv -t pop_val
Running tests at level 1
C:\python24\lib\whrandom.py:38: DeprecationWarning: the whrandom
module is deprecated; please use the random module
  DeprecationWarning)
Running unit tests:
  Running:
test_pop_validates (AccessControl.tests.testZopeGuards.TestDictGuards)
test_pop_validates (AccessControl.tests.testZopeGuards.TestListGuards)
  Ran 2 tests with 0 failures and 0 errors in 0.000 seconds.


 I didn't create any new tests because I wouldn't have had
 the time to create tests and run them iteratively.

Sorry to ruin your weekend, then ;-)

 That said, all existing tests pass and I did do some interactive
 stress-testing of the sessioning mount point, both of which made me feel
 comfortable enough to go ahead and do the merge.

The tests appear to be in exactly as good shape on Windows now as they
were before (there are test failures on Windows; opened a Collector
issue about them Thursday), so you have a plausible defense in court. 
I won't sue you if you won't sue me ;-)
___
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] Problem after upgrade zope from 2.6.0 - 2.8.4

2005-10-28 Thread Tino Wildenhain
Am Donnerstag, den 27.10.2005, 20:25 -0700 schrieb Zhi-Wei Lu:
 Hi Zope Gurus,
 
 After I upgraded the zope from 2.6.0 - 2.8.4 on a Redhat EL3 server,
 with python 2.4.2 (and I also tested with python 2.3.5),  the gif  
 pictures are
 now slightly misaligned a little bit, these graphics are in a TABLE with
 BORDER=0, CELLPADDING=0, and CELLSPACING=0.  The graphics
 looked fine with Zope 2.6.0.
 
 Does anyone see similar behavior with Zope 2.8.4?
 
 Thank you for help.

I fail to see how the zope could possibly influence the rendering
of the very same HTML in a browser. 

Probably best would be to check both HTML sources as they are
delivered to the browser - as well as maybe mime-type and charset
in the header (via headersniffer-plugin in firefox or tcpflow or
similar)

Maybe you changed something with the update? Are you using
some framework on top of zope?

Tino.

___
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] Re: Problem after upgrade zope from 2.6.0 - 2.8.4

2005-10-28 Thread Alexander Limi
On Thu, 27 Oct 2005 23:27:22 -0700, Tino Wildenhain  
[EMAIL PROTECTED] wrote:



I fail to see how the zope could possibly influence the rendering
of the very same HTML in a browser.


Zope used to specify border=0 on images, put the title of the object in  
the alt tags of the image and other bad behaviour. Now it doesn't anymore.


Most likely he needs to add the CSS:

img { border: none; }

to his site, depending on what browser he uses to test it.

--
_

 Alexander Limi · Chief Architect · Plone Solutions · Norway

 Consulting · Training · Development · http://www.plonesolutions.com
_

  Plone Co-Founder · http://plone.org · Connecting Content
  Plone Foundation · http://plone.org/foundation · Protecting Plone

___
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] Re: Problem after upgrade zope from 2.6.0 - 2.8.4

2005-10-28 Thread Tino Wildenhain
Am Donnerstag, den 27.10.2005, 23:55 -0700 schrieb Alexander Limi:
 On Thu, 27 Oct 2005 23:27:22 -0700, Tino Wildenhain  
 [EMAIL PROTECTED] wrote:
 
  I fail to see how the zope could possibly influence the rendering
  of the very same HTML in a browser.
 
 Zope used to specify border=0 on images, put the title of the object in  
 the alt tags of the image and other bad behaviour. Now it doesn't anymore.

Ah yes, well, zope2.6 it was. Otoh, if he would inspect the source
it should show up :)

 Most likely he needs to add the CSS:
 
 img { border: none; }
 
 to his site, depending on what browser he uses to test it.

Would not affect lynx but should otherwise work :)

___
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] Zope 2.8 or 3.1?

2005-10-28 Thread Jens Vagelpohl


On 28 Oct 2005, at 08:03, Einar Næss Jensen wrote:
doesn't seem to cause any trouble. So it stays. Just to remind me  
never to use redhat or rpms.


How the bad RPMs you used make you blame RedHat as a whole isn't a  
jump I can follow...  you should be blaming those people who packages  
the RPMs and not the whole distribution.


jens

___
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] Zope 2.8 or 3.1?

2005-10-28 Thread bruno desthuilliers
HaraldFinnås wrote:
 
(snip)

 and I plan on writing a simple application for tracking
 Non-Conformaties, Incident Reports etc (QA related).

Have you tried Trac ?

-- 
bruno desthuilliers
développeur
[EMAIL PROTECTED]
http://www.modulix.com
___
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] question about stopping acquisition in VHM sites?

2005-10-28 Thread Chris Withers

Gary wrote:

I don't know how the URL got out. But the web-bots are having so much fun
with my website right now. :( They are indexing everything for the wrong
virtual host. Maybe robot.txt will stop them.


Ah yes, a rewrite rule in your front end server should fix this, 
robots.txt _should_ help but likely won't ;-)


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
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] Permissions and Instances of ZClasses

2005-10-28 Thread Chris Withers

Dave Case wrote:


Aha, so I've awakened the local Troll, my apologies to the rest of the
list for setting him off.


Not exactly, just tired of people pulling the trigger 'cos they find a 
gun pointed at their foot. (Oh, and then complaining that their foot is 
a bleeding mess ;-)



Yes, don't do it, at least not like this. Look at building a filesystem
absed prdocut which is marginally saner...


It was the first thing I tried; but since (once again) I couldn't find
much documentation I tried something else (the example in the Zope
book...).


Go back to this, explain what problems you had and I'll try and help...

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
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] Debugging security settings in .metadata files

2005-10-28 Thread Chris Withers

J Cameron Cooper wrote:

Filesystem objects don't have a security tab in the ZMI (or at least,
these don't).  Should one be there?


Hm. Seems they don't.


They don't have the tab, but the method is still there, do some url 
hacking ;-)



Customize it and look at the security tab of that.


Hmm, I wouldn't trust this not to change things in other interesting 
ways :-S


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
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] Zope 2.8 or 3.1?

2005-10-28 Thread HaraldFinnås

bruno desthuilliers [EMAIL PROTECTED] wrote
on 28.10.2005 11:09:00:

 Have you tried Trac ?

No, but now I will. It's listed as software
development tracking so I've ignored it. :)

Regards,
Harald
___
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] Zope 2.8 or 3.1?

2005-10-28 Thread Jens Vagelpohl


On 28 Oct 2005, at 10:26, Einar Næss Jensen wrote:

How the bad RPMs you used make you blame RedHat as a whole isn't a
jump I can follow...  you should be blaming those people who packages
the RPMs and not the whole distribution.

I'm sure Redhat works fine for many people in a lot of  
businesscritical solutions. I'm also sure Redhat is good at what  
they are doing.

All I'm saying is: Redhat didn't work for us. Debian do.
Also RPM didn't work for us, while instaling from source do.
As i remember, redhat 9.0 introduced an error in one of the  
libraries which would cause the server to hang/reboot from time to  
time.

Also we experienced a corrupt RPM database twice. Not fun at all.
Now this may not be redhats fault, but we suffered from it  
nevertheless and gave an impression of redhat's not something we want.


The library error in RH 9.0 was solved very quickly after its  
initial release. Updating the environment once in a while and reading  
the errata helps, and that's a general issue.


The corrupt RPM database problem can be solved very quickly by  
either running the requisite BDB tools against it or blowing it away  
and rebuilding it from scratch.


Debian is a great distribution, no doubt, but X works for us while Y  
does not is a misleading statement that creates wrong impressions.  
It's not RedHat's fault that you weren't up to speed on some of these  
things.


jens

___
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] Re: Zope 2.8 or 3.1?

2005-10-28 Thread Lennart Regebro
On 10/27/05, HaraldFinnås [EMAIL PROTECTED] wrote:

  WRT maintenance of the system:  while at ZC, I actually maintained a
   separate 'zc-python' RPM which installed itself in '/opt/zc';  all the
   Zope RPMs I maintained depended on 'zc-python' rather than 'python'.

 What's the recommended way of maintaining an extra Python installation for
 Zope?

You keep it in /usr/local. In fact, when downloading and compiling
python, that's the default place it ends up. And /usr/local/bin
usually is also first in the path, so zopes ./configure script will
find it first.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
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] Re: Zope hangs with 'idle in transaction'

2005-10-28 Thread Florent Guillaume

Yuan HOng wrote:

It seems zope is initiating some database transactions even though my
site only access the database for reading. And those transaction
somehow get into deadlock status and finally used up the maximun db
connection allowed for zope.

But why? How do I find out what zope is doing and why the connection
are locked up?


You can use DeadlockDebugger for that.

Florent


Any clue and direction pointing are heartily appreciated.

Regards,

--
Hong Yuan


--
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of RD
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
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] Zope 2.8 or 3.1?

2005-10-28 Thread Einar Næss Jensen
On 10/28/05, Jens Vagelpohl [EMAIL PROTECTED] wrote:
On 28 Oct 2005, at 10:26, Einar Næss Jensen wrote:Debian is a great distribution, no doubt, but X works for us while Ydoes not is a misleading statement that creates wrong impressions.It's not RedHat's fault that you weren't up to speed on some of these
things.No. Probably not. We should have had quite another aproach to the new install of redhat 9.0 three years ago. The brokne rpm database we didn't manage to recover using the rpm-tools.
As i remeber it, a lot of the packages installed software in places where other packages or sourcebased installs would not find it. I think also the up2date procedure with logging in and register your product etc was not what we wanted
Also as I remember it, at about the same time Redhat anounced the end of life for several of its products and wanted us to use The new RedHat Enterprise.So there were several factors involved in the change, and probably it didn't have much to do with a bad product from RedHat.
Still we dislike Redhat.I think I have written myself way off topic no, so i'll quit here.-- Einar Næss Jensenhttp://einar.nidelven-it.no/einarblog
http://www.homemade.notlf: +47 90990249
___
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] Zope.org down?

2005-10-28 Thread Jake

ERROR

The requested URL could not be retrieved

While trying to retrieve the URL: http://www.zope.org:8881/Products/ 
Zope/2.8.3/CHANGES.txt


The following error was encountered:

Unable to forward this request at this time.
This request could not be forwarded to the origin server or to any  
parent caches. The most likely cause for this error is that:


The cache administrator does not allow this cache to make direct  
connections to origin servers, and

All configured parent caches are currently unreachable.
Your cache administrator is [EMAIL PROTECTED]

Generated Fri, 28 Oct 2005 10:24:17 GMT by cache1.zmh.zope.net (squid/ 
2.5.STABLE8)


Jake

http://www.ZopeZone.com
Zoping for the rest of us



___
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] Re: Zope.org down?

2005-10-28 Thread Michael Haubenwallner

Jake wrote:


ERROR

The requested URL could not be retrieved

While trying to retrieve the URL: http://www.zope.org:8881/Products/ 


Hi Jake,
zope.org is up again and running on port 80, so
http://www.zope.org/Products/ is the right URL to retrieve.

Michael

--
http://zope.org/Members/d2m
http://planetzope.org

___
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] Problem after upgrade zope from 2.6.0 - 2.8.4

2005-10-28 Thread Gabriel Genellina

At Friday 28/10/2005 00:25, Zhi-Wei Lu wrote:


After I upgraded the zope from 2.6.0 - 2.8.4 on a Redhat EL3 server,
with python 2.4.2 (and I also tested with python 2.3.5),  the gif
pictures are
now slightly misaligned a little bit, these graphics are in a TABLE with
BORDER=0, CELLPADDING=0, and CELLSPACING=0.  The graphics
looked fine with Zope 2.6.0.


I don't believe the Zope version has a strong connection with this issue; 
is that the *only* thing that changed? browser version is the same?
Compare both versions of the html source as it comes to the browser to see 
what's the difference; specially if the markup is invalid you can't count 
on the browser rendering the page in a consistent way.



Gabriel Genellina
Softlab SRL 


___
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] Zope 2.7.7 and Python 2.4.0

2005-10-28 Thread Shane Graber
I just updated my Zope 2.7.5 instance on Ubuntu/breezy to Zope 2.7.7. 
While I was running Zope 2.7.5, Python 2.3.5 was the version that was
specified and shown in the ZMI.  After upgrading from Ubuntu/hoary to
Ubuntu/breezy two nights ago, my versions are now Zope 2.7.7 and
Python 2.4.0.  I understand that Python 2.4.x is not
supported/recommended in Zope 2.7.7, so how does one specify an older
version of python?  I'm still learning Linux so any help would be
appreciated.

Thanks in advance,

Shane
--
http://liquid.homelinux.org/
___
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] Zope 2.7.7 and Python 2.4.0

2005-10-28 Thread Andreas Jung



--On 28. Oktober 2005 08:27:38 -0400 Shane Graber [EMAIL PROTECTED] wrote:


I just updated my Zope 2.7.5 instance on Ubuntu/breezy to Zope 2.7.7.
While I was running Zope 2.7.5, Python 2.3.5 was the version that was
specified and shown in the ZMI.  After upgrading from Ubuntu/hoary to
Ubuntu/breezy two nights ago, my versions are now Zope 2.7.7 and
Python 2.4.0.  I understand that Python 2.4.x is not
supported/recommended in Zope 2.7.7, so how does one specify an older
version of python?  I'm still learning Linux so any help would be
appreciated.



e.g. configure --with-python=/path/to/some/python2.3

-aj


pgprsLJERgK3P.pgp
Description: 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] Re: Zope 2.7.7 and Python 2.4.0

2005-10-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shane Graber wrote:
 I just updated my Zope 2.7.5 instance on Ubuntu/breezy to Zope 2.7.7. 
 While I was running Zope 2.7.5, Python 2.3.5 was the version that was
 specified and shown in the ZMI.  After upgrading from Ubuntu/hoary to
 Ubuntu/breezy two nights ago, my versions are now Zope 2.7.7 and
 Python 2.4.0.  I understand that Python 2.4.x is not
 supported/recommended in Zope 2.7.7, so how does one specify an older
 version of python?  I'm still learning Linux so any help would be
 appreciated.

I'm assuming that you are using Ubuntu's 'zope2.7' pacakage, which
actually depends on python2.3.  Check to see whether the startup scripts
for zope actually use /usr/bin/python2.3.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDYiPy+gerLs4ltQ4RAqHhAJ9lMeTN5gyD8Un9zD1CaM02XJD/KwCfY2ks
WdnCYQmgZvGsC2s+IRfcaiY=
=vuRh
-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] Zope 2.8 or 3.1?

2005-10-28 Thread Sascha Ottolski
Am Freitag, 28. Oktober 2005 11:33 schrieb HaraldFinnås:
 bruno desthuilliers [EMAIL PROTECTED] wrote on 28.10.2005 11:09:00:
  Have you tried Trac ?

 No, but now I will. It's listed as software development tracking so I've
 ignored it. :)

you also might want to take a look at roundup 
(http://roundup.sourceforge.net/), if you prefer python.


Cheers, Sascha

-- 
Gallileus - the power of knowledge

Gallileus GmbH   http://www.gallileus.info/

Pintschstraße 16  fon +49-(0)30-41 93 43 43
10249 Berlin  fax +49-(0)30-41 93 43 45
Germany

___
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] LDAPUserFolder proplem

2005-10-28 Thread Krzysztof Kubacki



I have LDAP database installed on Debian and 2 
Zope-platforms:
 Zope 2.7.6, Plone 2.0.5 
GRUF3
 Zope 2.8.4, Plone 2.1 GRUF 
3.4
GRUF stands for GroupUserFolder

I have installed LDAPUserFolder on both 
Zope-platforms.
I store user in LDAP insted of UserFolder 
everything works fine beside that I can't list members by mean of functions 
which come from portal_membership object.
for instance the codes below won't 
work.
users = 
context.portal_membership.searchForMembers()return 
usersor
users = 
context.portal_membership.listMembers()return users
I have user in LDAP named 'krzysztof' the code 
below works
user = 
context.portal_membership.getMemberByID('krzysztof')return 
user

I'm a bit dogged becouse I don't want to recode my 
exists scripts and use other functions(for instance from LDAPUserFolder) to list 
my members.

Has somebody the same situation or know what is the 
reason of that?


Regards 
Krzysztof



PozdrawiamKrzysztof Kubacki(56) 
658-95-44BusinessMedia Professional Group
___
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] Re: Problem after upgrade zope from 2.6.0 - 2.8.4

2005-10-28 Thread Zhi-Wei Lu


On Oct 27, 2005, at 11:55 PM, Alexander Limi wrote:

On Thu, 27 Oct 2005 23:27:22 -0700, Tino Wildenhain  
[EMAIL PROTECTED] wrote:




I fail to see how the zope could possibly influence the rendering
of the very same HTML in a browser.



Zope used to specify border=0 on images, put the title of the  
object in the alt tags of the image and other bad behaviour. Now it  
doesn't anymore.


Most likely he needs to add the CSS:

img { border: none; }


This solves the problem.  Apparently, the default behavior of the  
zope  (2.6.0 - 2.8.4) has changed.


Thank you all for your great input.

Zhi-Wei Lu
Institue for Data Analysis and Visualization (IDAV)
UC Davis Phone:(530) 752-0494
Davis, CA 95616Fax: (530) 752-8894


___
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] Zope 2.8 Extension Class documentation?

2005-10-28 Thread Jake
Because there are some backward incompatibilities, we will prepare a
document describing the incompatibilities, with guidance for identifying
and making necessary changes.

http://www.zope.org/Wikis/DevSite/Projects/Zope2.8/RiskFactors

Has that document been published as I am having a problem with an older
product in Zope 2.8.4.

Jake
-- 
http://www.ZopeZone.com




___
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] Zope 2.8 or 3.1?

2005-10-28 Thread Peter Bengtsson
On 10/27/05, HaraldFinnås [EMAIL PROTECTED] wrote:

  Depends on what you are going to use it for. So, tell us! :-)

 Not sure myself yet. :) There will certainly be a couple of Plone sites, and
 I plan on writing a simple application for tracking Non-Conformaties,
 Incident Reports etc (QA related).


Can I humbly recommend that you don't reinvent the wheel and have a look at
www.issuetrackerproduct.com
It's really good for QA and general problem reporting.

 But based on the responses until now, I've already decided to go with 2.8.

 I also want to thank everyone who's responded to this thread, especially the
 OS related comments. :)

 Regards,
 Harald

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





--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
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 do I Create a empty file in a ZClass object?

2005-10-28 Thread Jonathan Cyr


That seems to be the problem, I find ZClasses to fill a role for 
intermediate skill level developers to create rich objects and 
applications.  The replacement at this difficulty level hasn't appeared 
yet.  My impression is that ZClasses will continue in Zope 2.x, but it 
hasn't been enhanced or touched at all.  The ZClasses implementation 
seems to be solid.  There are shortcomings with ZClasses when you try to 
do too much with them.  Some of the Zope 2 books have nice examples are 
how and what you can do with ZClasses.


That said, I picked up Stephen Richter's book on Zope 3, very nicely 
done... Zope 3 seems to be maturing pretty fast, and some/most of the 
new features have been adapted to the older Zope 2 architecture (a 
project called Five).  If you're going to make a large investment in 
time... and you're just getting started, I'd pick up this book, and see 
if you can handle the difficulty level of Zope 3, at this point.  Zope 3 
technologies seem to be the New Way.   Although advanced, Zope 3 seems 
to be the result of a lot of self-examination of the triumphs and 
mistakes of Zope 2... a few things I picked out an re-thought 
organization scheme of naming, libraries, etc.,  the use of 
interfaces/contracts Generally cleaner and more pythonic, allowing 
much more power and flexibility... removing much of the mystery of Zope 
2 inner workings and naming conventions.


As for DTML, the old way, DTML is a tag-based way to create web 
interfaces, similar to CFML, PHP, ASP... inline tagging around and 
within the HTML.  The new way, is markedly different, and difficult to 
get your head around at first, called ZPT (Zope Page Templates).  ZPT 
uses XML and an attribute system to embed commands in an HTML page, 
without ruining your ability to use WYSIWYG editors like Dreamweaver, 
etc.  ZPT is highly regarded here on this list, and probably will win 
out in the end.  But there are enough DMTL folks, that DTML will be in 
Zope 3 until ZPT takes over.


There is a Zope 3 mailing list, that might be helpful.

Just my observations and impressions,

-Jon







Allen Huang wrote:


Thanks a million... it works great...
 
but when you said that ZClasses and DTML are the old way... what is 
the new way... I just started using Zope so I not quiet up to date...


 


would you mind fill me in so I could look it up?



*/Jonathan Cyr [EMAIL PROTECTED]/* wrote:

Hey,

As you'll hear shortly, ZClasses  DTML are the old way to do
things, and are not highly recommended, at this point.   Having
said that, I've had success using them.

To Add a ZClass into anything folderish, I've used...

dtml-call
RESPONSE.redirect('manage_addProduct/WWAudioClip/WWAudioClip_factory')

where WWAudioClip was the name of the Product and its ZClass

I place this in a DTML Method that is at the point I wish the
ZClass object to be created, a target if you wish.  Works fine.

This will call the Add method in your ZClass.


To Add a regular file object somewhere, I've used..

dtml-call this().manage_addFile(File_object_ID,
File_object_contents, File_object_title, content_type='audio/mpeg')

Parameters Zope ID to be set, Contents (string, whatever), and
Zope Title, and mime-type (optional)

Google Zope manage_addFile for more info

HTH,

Jon 



Allen Huang wrote:


I want to create a empty file in a ZClass object when I first
created the ZClass object. How do I do that using DTML??

Yahoo! FareChase - Search multiple travel sites in one click.

http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/




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



--
Jonathan Cyr
[EMAIL PROTECTED]


Yahoo! FareChase - Search multiple travel sites in one click. 
http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/ 




--
Jonathan Cyr
http://www.cyr.info
http://www.weddingweblog.com
[EMAIL PROTECTED]



--
Jonathan Cyr
http://www.cyr.info
http://www.weddingweblog.com
[EMAIL PROTECTED]

___
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] Re: Zope 2.8 or 3.1?

2005-10-28 Thread Alexander Limi
On Fri, 28 Oct 2005 13:58:31 -0700, Peter Bengtsson  
[EMAIL PROTECTED] wrote:



Can I humbly recommend that you don't reinvent the wheel and have a look
at

www.issuetrackerproduct.com

It's really good for QA and general problem reporting.


Everybody wants to write their own issue tracker (and in the later stages  
of this syndrome, their own project management software), as you are well  
aware of. ;)


--
_

 Alexander Limi · Chief Architect · Plone Solutions · Norway

 Consulting · Training · Development · http://www.plonesolutions.com
_

  Plone Co-Founder · http://plone.org · Connecting Content
  Plone Foundation · http://plone.org/foundation · Protecting Plone

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