[Zope] Re: [Zope-mosx] Local FS files "not found"

baiewola@netscape.net baiewola@netscape.net
Mon, 17 Feb 2003 13:46:05 -0500


Here's an example of my problem:
http://spider.engin.umich.edu:8080/testing/index_html

This is a test LocalFS that I set up just now. The headers probably won't show up for you, but as you can see, the documents in my file system are actually listed on the page, they simply can't be downloaded. 

Here's something I just noticed:  Instead of using the basepath I defined under "Properties" in the Local FS object called "testing" to display the URLs of the items on my hard drive, Zope is using a path relative to /testing/   

To put it more succinctly, Zope appears to be ignoring the basepath property.


Steve Spicklemire <steve@spvi.com> wrote:

>What's the URL she actually clicks on? Does it look reasonable?
>
>Have you tried tcpwatch? http://hathaway.freezope.org/Software/TCPWatch
>
>-steve
>
>On Monday, February 17, 2003, at 11:19  AM, baiewola@netscape.net wrote:
>
>> I've had Local FS installed for a year now and finally when someone 
>> tried to use it, it stopped working!
>>
>> The hard drive location of the LocalFS is
>> /Library/WebServer/Documents/SomeFolder
>> I've given ug+rwx permissions to SomeFolder.
>>
>> In Zope, the basepath for the LocalFS is defined as
>> /Library/WebServer/Documents/SomeFolder
>>
>> When the user goes to the URL of this LocalFS, she sees a list of PDF 
>> files in the file system, but when she clicks on one (or 
>> control-clicks to download) she gets a "not found" error:
>>
>> <!--
>> Traceback (innermost last):
>>   File /Applications/Zope2/lib/python/ZPublisher/Publish.py, line 150, 
>> in publish_module
>>   File /Applications/Zope2/lib/python/ZPublisher/Publish.py, line 114, 
>> in publish
>>   File /Applications/Zope2/lib/python/Zope/__init__.py, line 159, in 
>> zpublisher_exception_hook
>>     (Object: 169546)
>>   File /Applications/Zope2/lib/python/ZPublisher/Publish.py, line 89, 
>> in publish
>>   File /Applications/Zope2/lib/python/ZPublisher/BaseRequest.py, line 
>> 278, in traverse
>>   File /Applications/Zope2/lib/python/Products/LocalFS/LocalFS.py, 
>> line 462, in __bobo_traverse__
>>     (Object: 169546)
>>   File /Applications/Zope2/lib/python/ZPublisher/HTTPResponse.py, line 
>> 492, in notFoundError
>> NotFound: (see above)
>>
>> -->
>>
>> However, the documents she is looking for DO exist in the correct 
>> location on the hard drive. They also have ug+rwx permissions, and she 
>> is a member of the appropriate group.
>>
>> I've tried my programmer's suggestion of adding a / after SomeFolder 
>> in the basepath property, but that did not work.
>>
>> Any tips how to start sorting this out? I'm using Zope 2.5.1 on Mac OS 
>> X 10.2.3
>>
>> __________________________________________________________________
>> The NEW Netscape 7.0 browser is now available. Upgrade now! 
>> http://channels.netscape.com/ns/browsers/download.jsp
>>
>> Get your own FREE, personal Netscape Mail account today at 
>> http://webmail.netscape.com/
>> _______________________________________________
>> Zope-mosx mailing list
>> Zope-mosx@zopeonarope.com
>> http://www.zopeonarope.com/mailman/listinfo/zope-mosx
>
>
>_______________________________________________
>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 )
>

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/