[Zope] Newbie Q: Error creating LocalFS

Samir Mishra SamirMishra at cbuae.gov.ae
Sat Mar 20 01:46:04 EST 2004


Use of term "gibberish" = me frustrated.

Point taken re. above. I didn't post the output of the error log because I
upgraded to LocalFS 1.1 and that seemed to mostly work. Other quirks now
show up in LocalFS.

>From another one of my posts/cry for help -

Apart from another issue I've been having with LocalFS, which I think I may
have fixed by upgrading LocalFS to ver. 1.1, I'm experiencing other
unexpected behaviour. 

When I add a LocalFS object and specify the path as "." (ie, current
directory), LocalFS doesn't map it to the $INSTANCE/var directory any
longer, and neither does it map it to $ZOPE. It's mapped to ..\$ZOPE. This
doesn't seem safe either. It's a bother since I've always used relative
paths for LocalFS. 

And when I try and edit (and only on edit) the path on an already existing
LocalFS object from the Properties tab, I get the following error -
===============

Site Error

An error was encountered while publishing this resource.

Error Type: AttributeError
Error Value: _fs_read

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the error
log.

If the error persists please contact the site maintainer. Thank you for your
patience. 

===============

Any way to fix this?

Using Python 2.3.3/Zope 2.7/LocalFS 1.1

Thanks.

Samir

-----Original Message-----
From: Chris Withers [mailto:lists at simplistix.co.uk]
Sent: Wednesday, March 17, 2004 13:21
To: Samir Mishra
Cc: 'Jock Coats'; zope at zope.org
Subject: Re: [Zope] Newbie Q: Error creating LocalFS


Samir Mishra wrote:

> As soon as I install a LocalFS object within a Zope folder, the folder
> becomes inaccessible. It generates some sort of gibberish error,

gibberish to you maybe, what was it?

> Site Error
> 
> An error was encountered while publishing this resource.

"Site Error"s are are good without the exception type, value and traceback
from 
the error_log object in your Zope's root...

Chris

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



More information about the Zope mailing list