[Zope] OSError along with FSSession...

2000-09-05 Thread Chien-Pin Wang


Dear Zope Users:

 I have upgraded to FSSession 0.4.2 lately and occasionally run into
the same problem several times. Each time it costs me a zope down. I do
really need some help...


 Zope complains an error type "OSError" and throws the error value
saying [Errno 21] Is a directory: '/usr/local/zope/var/FSSession/'
occasionally since a recent upgrade of FSSession product to 0.4.2.
Following that error will be a series of TransactionErrors for each and
every request Zope received. And only a zope restart could help zope
resume its operations. Since this error only comes up occasionally, I'm
completely clueless on solving it. 

 My environment is RedHat Linux 6.2 + Zope 2.1.6. The traceback
information looks like this...

Traceback (innermost last):
  File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line
169, in
publish
  File /usr/local/Zope-2.1.6-src/lib/python/ZODB/Transaction.py, line 275,
in co
mmit
  File /usr/local/Zope-2.1.6-src/lib/python/Shared/DC/ZRDB/TM.py, line
120, in t
pc_finish
(Object: TM)
  File /usr/local/zope/lib/python/Products/FSSession/FSSession.py, line
87, in _
finish
(Object: TM)
  File /usr/local/zope/lib/python/Products/FSSession/FSSession.py, line
208, in
final_commit
(Object: FSSession)
OSError: [Errno 21] Is a directory: '/usr/local/zope/var/FSSession/'

Any help will be very appreciative!

Chien-pin


___
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] dtml-sendmail and Content-transfer-encoding

2000-06-07 Thread Chien-Pin Wang


Dear All:

 I'm using dtml-sendmail to send messages of Chinese characters from
Zope. From time to time I got wierd mail delivery behaviors. I was told
then that mail header/message body must follow RFC-822 and RFC-2047
standard with proper encoding, if not in US-ASCII. Basically these RFCs
are talking about methods of encoding for non-US-ASCII characters. My
question is: How do I do this in Zope? Big thanks in advance!

Chien-pin


___
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] Traceback?

2000-05-29 Thread Chien-Pin Wang


Take off the -D switch in your zope start script.

dtml-var error_tb will let you show traceback programmatically. Believe
me, you will miss them once you turn it off.

Chien-pin

On Mon, 29 May 2000, Patrick J.M. Keane wrote:

 
 I would like to ultimately remove the python traceback error code
 display from messages (printed after standard_html_error fires off).
 However, I'm not sure how to disable this?
 
 Thanks
 PK
 
 
 
 ___
 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 )