[Zope] Newbie Q: Error creating LocalFS

Samir Mishra SamirMishra at cbuae.gov.ae
Tue Mar 16 03:42:51 EST 2004


I'm getting something similar. Horrible errors with Python 2.3.3/Zope
2.7/latest LocalFS & LocalFS_Patched on a Linux system with 2.6 kernel, gcc
3.3.3, etc. I don't have this problem on 

As soon as I install a LocalFS object within a Zope folder, the folder
becomes inaccessible. It generates some sort of gibberish error, and the
error log indicates a "Not Found" error type. I can't access the folder
through the management interface, but have to use the manage_UndoForm URL
extension to get into the folder and undo the installation of the LocalFS
object. 

Just tried this on my Win32 machine, with the same error -


============================
  	
Site Error

An error was encountered while publishing this resource.

Resource not found
Sorry, the requested resource does not exist.

Check the URL and try again.

Resource: sequence-odd

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 error log.

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

SOLUTION: perhaps - 

Did a search on this issue, saw
http://www.my-zope.org/Members/kedai/News_Item.2003-12-30.2242

Tried LocalFS 1.1 and it seems to work on my Win32 machine. Don't have
access to the Linux box so can't comment.

Now the problem I'm having is that when I specify path as "." (ie, current
directory) LocalFS doesn't map it to the $INSTANCE/var directory any longer.
This is a bother, since all my previous path definition have been relative. 

Any way to fix this?

Think I'll post it as a separate question on the list.

Samir.





-----Original Message-----
From: Jock Coats [mailto:jock.coats at jcsolutions.co.uk]
Sent: Tuesday, March 16, 2004 00:54
To: zope at zope.org
Subject: [Zope] Newbie Q: Error creating LocalFS


Hi, I'm new hereabouts, and though I have found a few references to 
similar problems in the archives and so on, still nothing is working 
for me.  I wonder if anyone can shed any light on this, or point me in 
a different direction.  I am really new to Zope, so forgive me if I'm 
doing something really obvious, or perhaps impossible.

I want to use ZServer as a DAV server to my users' OS filestores 
(/home/user - FreeBSD 5.2).

In the root of my Zope (2.7) I add a folder called dav, and I point my 
virtualhostmonster at it as 'dav.domain.com/dav/' (but I'm not getting 
this far so that shouldn't matter).

Then in the dav folder I create a Local File System object (downloaded 
today from http://zope.org/Members/SmileyChris/LocalFS_Patched/0.3) 
called 'username' with a base of '/home/username/dav/' (a directory I 
just created and gave my Zserver process user ownership of).

And when I click 'Add', it all goes horribly wrong and I get the error:

"Site Error

An error was encountered while publishing this resource.

  Resource not found
  Sorry, the requested resource does not exist.

Check the URL and try again.

Resource: __replaceable__

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 error 
log.

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

And from then on whenever I try to access the dav folder from the root 
I get a similar error.

(Note, I tried adding the self.isAnObjectManager=1 test as detailed in 
a post of Thu Jan 8 12:26:24 EST 2004 to this list, but unless I have 
missed some step in editing a .py file, it hasn't had any effect)

Help!!!

Thanks in advance,

Jock Coats
--
J1e Morrell Hall, OXFORD, OX3 0BP, United Kingdom
T: +44 1865 485019 F: +44 845 1275714 M: +44 7769 695767

_______________________________________________
Zope maillist  -  Zope at 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 )



More information about the Zope mailing list