RE: [Zope] the day of zope headaches

2000-12-07 Thread michael angelo ruberto

thanks Kevin,

that seems to have did the trick. the deal on my server is that tmp,
/var/tmp, and /usr/tmp are all linked to one directory. this required me to
create /home/httpd/tmp and point tempfile.py to it because the disk for all
the other tmp stuff is quite full. time for bigger drives.

-mike-

ps: in the process of following your suggestion i found another problem and
fixed it, so thanks again!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 11:00 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [Zope] the day of zope headaches



 Zope has encountered an error while publishing this resource.

 IOError

 Sorry, a Zope error occurred.

 such a very helpful message. this happened while reindexing the ZCatalog

View the HTML source for the error page - the Python traceback contained
in there will be more helpful. However, the last time I had an IOError
while re-indexing a ZCatalog was when Python was ran out of space in the
/tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit
Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py
on Debian systems) from:

attempdirs = ['/usr/tmp', '/tmp', pwd]

To:

attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd]

--
  Kevin Teague, Zopista
  http://www.stormix.com


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




Re: [Zope] the day of zope headaches

2000-12-05 Thread Kevin Teague


 Zope has encountered an error while publishing this resource.
 
 IOError
 
 Sorry, a Zope error occurred.
 
 such a very helpful message. this happened while reindexing the ZCatalog

View the HTML source for the error page - the Python traceback contained
in there will be more helpful. However, the last time I had an IOError
while re-indexing a ZCatalog was when Python was ran out of space in the
/tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit
Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py
on Debian systems) from:

attempdirs = ['/usr/tmp', '/tmp', pwd]

To: 

attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd]

-- 
  Kevin Teague, Zopista
  http://www.stormix.com

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




Re: [Zope] the day of zope headaches

2000-12-05 Thread Chris McDonough

Yup, this is very likely.  The catalog does subcommits by default, which
take up lots of temp space if you're cataloging lots of stuff in a batch.

- Original Message -
From: "Kevin Teague" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 11:00 PM
Subject: Re: [Zope] the day of zope headaches



  Zope has encountered an error while publishing this resource.
 
  IOError
 
  Sorry, a Zope error occurred.
 
  such a very helpful message. this happened while reindexing the ZCatalog

 View the HTML source for the error page - the Python traceback contained
 in there will be more helpful. However, the last time I had an IOError
 while re-indexing a ZCatalog was when Python was ran out of space in the
 /tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit
 Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py
 on Debian systems) from:

 attempdirs = ['/usr/tmp', '/tmp', pwd]

 To:

 attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd]

 --
   Kevin Teague, Zopista
   http://www.stormix.com

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




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