[Zope] Question on Zope and including generated HTML content

Dieter Maurer dieter@handshake.de
Mon, 23 Jun 2003 19:07:17 +0200


Sean O'Neill wrote at 2003-6-22 19:06 -0500:
 > At 12:01 AM 6/23/2003 +0200, Dieter Maurer wrote:
 > >Sean O'Neill wrote at 2003-6-20 21:48 -0500:
 > >  > ...
 > >  > I also looked at LocalFS from another post reply I got.  So far I'm not
 > >  > getting far with LocalFS.  I keep getting the error when I attempt to hit
 > >  > the index.html file that exists in the directory I point my LocalFS 
 > > object at:
 > >  >
 > >  > Error Type: NameError
 > >  > Error Value: global name 'tmp_path' is not defined
 > ....
 >     * Module Products.LocalFS.FSObject, line 1196, in _fs_create
 >     * Module Products.LocalFS.FSObject, line 238, in _fs_store_props
 > NameError: global name 'tmp_path' is not defined

Apparently a bug in line 238 of "Products/LocalFS/FSObject.py".

Look at the source around line 238 and find out what "tmp_path" should
probably be. When you succeed, define it.

Another alternative: a newer version of "LocalFS" might fix the problem.


Dieter