[Zope-Annce] Zope 3 training - early bird reminder

2005-08-16 Thread Brian Lloyd
Hi all -

Zope Corporation will hold the next session of Zope 3 for 
Developers training September 19-21 in Fredericksburg, VA. 

This three day course will familiarize developers with Zope 3 
software from introductory through advanced concepts. The take-away 
materials provide tools for further learning, since it will not be 
possible to cover every topic in the sessions. We will demonstrate 
the flexibility and effectiveness of Zope as an Open Source web 
development Platform.
 
Course Objectives
 To understand:
 * Zope's component architecture,
 * Creating Zope components and applications,
 * Building web interfaces,
 * Controlling security,
 * Using powerful Zope framework features e.g., events, metadata, 
   schemas, testing,
 * Configuring and installing Zope
 
The course is intended for developers who want to build web 
applications using the Zope 3 web-application server.
 
Students should be familiar with the Python programming language and 
the concepts associated with web application development.
While not required, students will benefit from having some familiarity 
with Zope 2-based application development.
 
We offer several opportunities to meet with Zope's engineering teams, 
including with Jim Fulton, our CTO.
 
Prerequisites

Download Zope 2.7 and take the built-in tutorial:
http://zope.org/Products/Zope/2.7.0
Take the Python Tutorial:
http://docs.python.org/tut/tut.html
 
For more information or to register, please contact [EMAIL PROTECTED] 
For the early-bird rate, you must register by August 19th, 2005. 


Brian Lloyd[EMAIL PROTECTED]
V.P. Engineering   540.361.1716  
Zope Corporation   http://www.zope.com 

___
Zope-Announce maillist  -  Zope-Announce@zope.org
http://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists - 
 Users: http://mail.zope.org/mailman/listinfo/zope
 Developers: http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Re: SquishDot exposes issue with ZCatalog/Catalog.clear() in Zope 2.8.0

2005-08-16 Thread Alexander Limi
On Tue, 16 Aug 2005 06:59:33 +0200, Andreas Jung [EMAIL PROTECTED]  
wrote:



This also causes issues when upgrading Plone sites, and counts for about
half the migration error reports we get with Plone 2.1 at the moment. :)


Nice comment...but you guys could have filled a bug report for this or
brought this up on the Zope-dev list since ages. Sorry, but we can fix  
only

issues we know about...so avoid ambiguous smilies..if you complain about
unfixed issues - report them first.


We discovered the issue yesterday, calm down.

--
_

 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: SquishDot exposes issue with ZCatalog/Catalog.clear() in Zope 2.8.0

2005-08-16 Thread Andreas Jung



--On 16. August 2005 08:21:10 +0200 Alexander Limi [EMAIL PROTECTED] wrote:


On Tue, 16 Aug 2005 06:59:33 +0200, Andreas Jung [EMAIL PROTECTED]
wrote:


This also causes issues when upgrading Plone sites, and counts for about
half the migration error reports we get with Plone 2.1 at the moment. :)


Nice comment...but you guys could have filled a bug report for this or
brought this up on the Zope-dev list since ages. Sorry, but we can fix
only
issues we know about...so avoid ambiguous smilies..if you complain about
unfixed issues - report them first.


We discovered the issue yesterday, calm down.



Then avoid such ambiguous comments...

Andreas

pgp4b9OjFYRDy.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] zope.org site and limited search results

2005-08-16 Thread Jaroslav Lukesh
Dear zopistas,

few times ago I was few times wrote to ZC webmaster about limited query to 
Zope Products search results (see attached picture) - in any case it does not 
find more than 200 results. Nothing to do. If somebody has enough power to 
initiate zope.org webmaster, please tell him about change number of results 
from database at advanced tab of appropriate ZSQL method (if it is not 
defined somewhere else).

Note, that old zope site does not has this limit.

Many thanks,

-- 

Jaroslav Lukesh
  ---
  This e-mail can not contain any viruses because I use Linux
attachment: 1.jpg
___
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.org site and limited search results

2005-08-16 Thread Tino Wildenhain

Jaroslav Lukesh schrieb:

Dear zopistas,

few times ago I was few times wrote to ZC webmaster about limited query to 
Zope Products search results (see attached picture) - in any case it does not 
find more than 200 results. Nothing to do. If somebody has enough power to 
initiate zope.org webmaster, please tell him about change number of results 
from database at advanced tab of appropriate ZSQL method (if it is not 
defined somewhere else).



afaic there is no SQL involved in this search. It should be a full
ZCatalog query.
___
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] Python/Zope job in France

2005-08-16 Thread bruno modulix
Hi

We're looking for a Python/Zope developer, free ASAP. Job based in
Bordeaux, France. Please contact me for more informations

-- 
Bruno Desthuilliers
Développeur
[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] SquishDot exposes issue with ZCatalog/Catalog.clear() in Zope 2.8.0

2005-08-16 Thread Andreas Jung



--On 15. August 2005 09:51:08 -1000 Stephen Bartlett 
[EMAIL PROTECTED] wrote:




This bug in Catalog.clear() is also in Zope 2.8.1.


I fixed this problem on the 2.8 branch and SVN trunk. Grab
Catalog.py from there.

-aj



pgpcDC4Ux0c2N.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.org site and limited search results

2005-08-16 Thread Josef Meile

Hi,

few times ago I was few times wrote to ZC webmaster about limited query to 
Zope Products search results (see attached picture) - in any case it does not 
find more than 200 results. Nothing to do. If somebody has enough power to 
initiate zope.org webmaster, please tell him about change number of results 
from database at advanced tab of appropriate ZSQL method (if it is not 
defined somewhere else).


Note, that old zope site does not has this limit.

Then you may try to post a bug in the collector of the zope.org site:
http://www.zope.org/Collectors/ZopeOrg

Regards,
Josef

___
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.org site and limited search results

2005-08-16 Thread Andrew Sawyers
I could be wrong, but I don't think zope.org uses ZSql methods for
searching..

Andrew

--
Zope Managed Hosting
Software Engineer
Zope Corporation
(540) 361-1700 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
 Josef Meile
 Sent: Tuesday, August 16, 2005 7:05 AM
 To: zope@zope.org
 Subject: [Zope] Re: zope.org site and limited search results
 
 Hi,
 
  few times ago I was few times wrote to ZC webmaster about limited query
 to
  Zope Products search results (see attached picture) - in any case it
 does not
  find more than 200 results. Nothing to do. If somebody has enough power
 to
  initiate zope.org webmaster, please tell him about change number of
 results
  from database at advanced tab of appropriate ZSQL method (if it is not
  defined somewhere else).
 
  Note, that old zope site does not has this limit.
 Then you may try to post a bug in the collector of the zope.org site:
 http://www.zope.org/Collectors/ZopeOrg
 
 Regards,
 Josef
 
 ___
 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] zope.org site and limited search results

2005-08-16 Thread Bakhtiar A Hamid
On 8/16/05, Jaroslav Lukesh [EMAIL PROTECTED] wrote:
 Dear zopistas,
 
 few times ago I was few times wrote to ZC webmaster about limited query to
 Zope Products search results (see attached picture) - in any case it does not
 find more than 200 results. Nothing to do. If somebody has enough power to
 initiate zope.org webmaster, please tell him about change number of results
 from database at advanced tab of appropriate ZSQL method (if it is not
 defined somewhere else).
 
 Note, that old zope site does not has this limit.
 

iirc, that was a hardcoded total.  if you go to the end or change
the start= (query string), you;ll get more than 200.

i might be wrong, but ..


 Many thanks,
 
 --
 
Jaroslav Lukesh
  ---
  This e-mail can not contain any viruses because I use Linux
 
 
 ___
 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 )
 
 
 
 


-- 
http://myzope.kedai.com.my - my-zope 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] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Andreas Krasa // ZID
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello everybody!

We are encountering some really strange problems with Zope 2.7.7 on our
RedHat EL 4 Linux machines.

During the Zope 2.7.7 compilation works - however most of the time make
test returns a random number of errors (somewhere between 20 and 30)
ALL related to ZEO.

The funny thing is, we've managed to do a make test without any
failures - however after doing a make distclean and compiling
everything again make test produces the above mentioned errors (using
*exactly* the same source code!).

I have absolutely no idea how this can happen - ANY hints are
appreciated! Is this a known issue? What could it be related to?

Thanks a lot!

Regards,
Andreas Krasa

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDAg7pfmH5mdoXi9wRAqkKAJ9oBzDN8WUzYYeNACVPJM0ifP4cwgCdFQh6
LPV9D5RElHRSbr256xj+HVY=
=qzGm
-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] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Jens Vagelpohl
During the Zope 2.7.7 compilation works - however most of the time  
make

test returns a random number of errors (somewhere between 20 and 30)
ALL related to ZEO.


Maybe someone can help if you actually *tell us* what these errors  
are. At least my own crystal ball is in the shop for repairs right  
now... :)


jens



smime.p7s
Description: S/MIME cryptographic 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] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Tim Peters
[Andreas Krasa]
 We are encountering some really strange problems with Zope 2.7.7 on our
 RedHat EL 4 Linux machines.

 During the Zope 2.7.7 compilation works - however most of the time make
 test returns a random number of errors (somewhere between 20 and 30)
 ALL related to ZEO.

 The funny thing is, we've managed to do a make test without any
 failures - however after doing a make distclean and compiling
 everything again make test produces the above mentioned errors (using
 *exactly* the same source code!).

 I have absolutely no idea how this can happen - ANY hints are
 appreciated! Is this a known issue?

No.  For example, it doesn't happen in the daily overnight testrunner reports.

 What could it be related to?

ZEO wink?  You'll have to give more info about which tests fail, and
precisely how they fail.  Because many of the ZEO tests create
multiple processes, and try to assign sockets so that these processes
can communicate, they're vulnerable to vagaries of OS process
scheduling and socket use by other apps.  For example, on a slow or
overburdened (with other simultaneous work) machine, some ZEO tests
can fail due to not getting enough cycles soon enough.  The worst
tests of that sort wait as long as a minute now for another process to
do something they're waiting for before failing, but not even
waiting a minute can _guarantee_ success.

Might be informative to run the tests on an otherwise-quiet machine.
___
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] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Andreas Krasa // WUW
Jens Vagelpohl schrieb:
 During the Zope 2.7.7 compilation works - however most of the time  make
 test returns a random number of errors (somewhere between 20 and 30)
 ALL related to ZEO.
 
 
 Maybe someone can help if you actually *tell us* what these errors  are.
 At least my own crystal ball is in the shop for repairs right  now... :)
 
 jens
 

Hi!

Oops, almost forgot about those - the errors are as follows. They are
always related to ZEO and an OSError No child processes.

Thanks  best regards,
Andreas Krasa

---

==
ERROR: checkMultipleAddresses
(ZEO.tests.testConnection.MappingStorageConnectionTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkMultipleServers
(ZEO.tests.testConnection.MappingStorageConnectionTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkReadOnlyClient
(ZEO.tests.testConnection.MappingStorageConnectionTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkReadOnlyFallbackReadOnlyServer
(ZEO.tests.testConnection.MappingStorageConnectionTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkReadOnlyFallbackWritable
(ZEO.tests.testConnection.MappingStorageConnectionTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkReconnectWritable
(ZEO.tests.testConnection.MappingStorageConnectionTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkReconnection
(ZEO.tests.testConnection.MappingStorageConnectionTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkTimeout (ZEO.tests.testConnection.MappingStorageTimeoutTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkTimeoutAfterVote
(ZEO.tests.testConnection.MappingStorageTimeoutTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: checkTimeoutOnAbortNoLock
(ZEO.tests.testConnection.MappingStorageTimeoutTests)
--
Traceback (most recent call last):
  File
/usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
line 121, in tearDown
os.waitpid(pid, 0)
OSError: [Errno 10] No child processes

==
ERROR: 

Re: [Zope] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Andreas Krasa // WUW
Tim Peters schrieb:
 [Andreas Krasa]
 
We are encountering some really strange problems with Zope 2.7.7 on our
RedHat EL 4 Linux machines.

During the Zope 2.7.7 compilation works - however most of the time make
test returns a random number of errors (somewhere between 20 and 30)
ALL related to ZEO.

The funny thing is, we've managed to do a make test without any
failures - however after doing a make distclean and compiling
everything again make test produces the above mentioned errors (using
*exactly* the same source code!).

I have absolutely no idea how this can happen - ANY hints are
appreciated! Is this a known issue?
 
 
 No.  For example, it doesn't happen in the daily overnight testrunner reports.
 
 
What could it be related to?
 
 
 ZEO wink?  You'll have to give more info about which tests fail, and
 precisely how they fail.  Because many of the ZEO tests create
 multiple processes, and try to assign sockets so that these processes
 can communicate, they're vulnerable to vagaries of OS process
 scheduling and socket use by other apps.  For example, on a slow or
 overburdened (with other simultaneous work) machine, some ZEO tests
 can fail due to not getting enough cycles soon enough.  The worst
 tests of that sort wait as long as a minute now for another process to
 do something they're waiting for before failing, but not even
 waiting a minute can _guarantee_ success.
 
 Might be informative to run the tests on an otherwise-quiet machine.

Thank you Tim for the feedback!

Our system is a Intel Xeon 3 GHz Dual-CPU with 2.5 GB RAM running
RedHat Enterprise Linux 4 (SElinux disabled).

As this is a test-machine it doesn't run any CPU-consuming tasks I can
think of - the server load is usually somewhere between 0.00 and 0.10.

But I'll check that nevertheless!

Best regards
Andreas
___
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] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Jens Vagelpohl


On 16 Aug 2005, at 17:42, Andreas Krasa // WUW wrote:

Our system is a Intel Xeon 3 GHz Dual-CPU with 2.5 GB RAM running
RedHat Enterprise Linux 4 (SElinux disabled).


I just downloaded and ran all tests for Zope 2.7.7 on one of my  
boxes, a CentOS 4 install (same as RHEL 4) with all the latest fixes,  
and they all ran fine.


This must be something having to do either with your specific  
environment or with the way you ran the unit tests.


jens



smime.p7s
Description: S/MIME cryptographic 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] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Tim Peters
[Andreas Krasa]

So you showed a number of test errors here, all on line 121 of
ConnectionTests.py.  They all seem indentical to the first one:

 ERROR: checkMultipleAddresses
 (ZEO.tests.testConnection.MappingStorageConnectionTests)
 --
 Traceback (most recent call last):
  File 
 /usr/local/src/__zope__/Zope-2.7.7-final/lib/python/ZEO/tests/ConnectionTests.py,
  line 121, in tearDown
os.waitpid(pid, 0)
 OSError: [Errno 10] No child processes

That's peculiar for several reasons, and-- sorry --I have no theory to offer.

Because the failure is in tearDown(), the test body has _completed_. 
If there's no other failure reported for this test, that means the
test succeeded.  Instead it's dying while it's tearing the test
framework down.

Some of the ZEO tests create additional processes.  The place it's
dying is in this teardown loop:

def tearDown(self):
Try to cause the tests to halt

...

for pid in self._pids:
os.waitpid(pid, 0)  # here

The test driver is simply waiting for the other process(es) it spawned
to exit.  If there was a failure to create the other process(es), then
I'd expect a test to die long before teardown.  But if it did create
the other process(es), then I have no theory for why Linux waitpid()
would claim there are no child processes.

Maybe this is relevant (it's the only vaguely similar report I recall
seeing across years, but I don't think it reached a conclusion):

http://mail.zope.org/pipermail/zope3-users/2005-July/000794.html
___
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 site and limited search results

2005-08-16 Thread Simon Michael

Then you may try to post a bug in the collector of the zope.org site:
http://www.zope.org/Collectors/ZopeOrg


It's there..

___
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] Non-responsive folders

2005-08-16 Thread Garth B.
Hello everyone,

Python 2.3.4
Zope 2.7.3
Apache 2.0.46

I have a website that has been running flawlessly since late last year
sitting behind Apache using the usual rewrite rules.  I've recently
started experiencing some folders becoming non-responsive when trying
to view them (e.g. http://www.someserver.com/somefolder).  I can still
access most other folders without a problem.  When I hit an offending
folder, I simply get no response and the browser just waits and waits.
 I haven't been able to establish a pattern as to what's behind the
folders that might be causing the problem.  On a clean start the
problematic folders usually respond normally for awhile, then stop. 
So far, which folders stop responding are always the same.

Zope's event.log shows a number of the following in case it is relevant:

2005-08-16T13:50:35 ERROR(200) ZServer uncaptured python exception,
closing channel ZServer.HTTPServer.zhttp_channel connected
127.0.0.1:40850 at 0xb2b5c5ec channel#: 6014 requests:
(socket.error:(104, 'Connection reset by peer')
[/var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/asynchat.py|initiate_send|218]
[/usr/local/Zope/2.7.3/lib/python/ZServer/medusa/http_server.py|send|417]
[/var/tmp/python2.3-2.3.4-root/usr/lib/python2.3/asyncore.py|send|337])

The problem occurs sporadically enough that I haven't been able to
tell whether these lines from the event.log happen in conjunction with
a non-responsive folder.

I also see the occasional ZODB conflict error.

Interestingly enough I can directly view the offending folders without
a problem if I circumvent Apache (e.g.
http://zope.someserver.com:8080/website/somefolder).  As far as I can
tell nothing has changed with my Apache configuration.

At first I thought that maybe something had gotten screwed up with my
Zope instance or data.fs (~1200MB), but since I can directly view the
offending folders without a problem by skipping Apache, I'm starting
to think otherwise.  Restarting Zope *usually* temporarily clears the
problem.

Can anyone offer any suggestions for what might be going on or what
other evidence I can look for?  As a possible solution, I'm hastily
preparing to upgrade to a more recent version of Zope, but I'd sure
like to know what's suddenly gone wrong (especially since upgrading
may not solve the problem).

Thank you!
Garth
___
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] http post from java applet

2005-08-16 Thread Jeremiah White








I am looking at a product
from radinks.com that is an applet that allows you to drag and drop files into
the browser window and then uses HTTP post to upload.



In order to upload files,
though, you must be logged into my site. Even after you have logged in,
the applet doesn't seem to have the authentication that the window in which it
is embedded has.



How can I make the applet
(or the script it calls) have the same privileges as the browser window it is
embedded in?



I can pass a parameter in as
a query string and I have done that to pass in _ZopeId. I've been trying
to set the browser id in the script as that of the browser it is called from by
passing _ZopeId in the query string, but I'm having no luck.



I'm afraid I may be looking
in the wrong place now, so any help would be much appreciated.



Thanks!










___
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] Workflow question

2005-08-16 Thread David Pratt
I created a workflow for my images so that they would be processed as 
soon as they are transferred into a specific directory. It works fine 
when I cut and paste images to the directory it acts on but when I FTP 
my images to this directory it fails giving me a 426 Error creating 
file.  My thinking is that the workflow may trying to use the image 
before its data has arrived. I can FTP into the directory normally if I 
temporarily change my workflow to act on a different directory - so 
this verifies that the problem is between my workflow and FTP. Can 
someone suggest a workaround to ensure the image is completely 
available before the workflow tries to use it.  I want to avoid any 
kind of cron process in a big way as well. Many thanks,


Regards,
David
___
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 )