LocalFS and the history tab
All, I'm using the LocalFS wotsit, and noticed that the history tab comes up on the ZMI. But, I get this traceback: Traceback (innermost last): File D:\ASPIRE~1\lib\python\ZPublisher\Publish.py, line 223, in publish_module File D:\ASPIRE~1\lib\python\ZPublisher\Publish.py, line 187, in publish File D:\ASPIRE~1\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: deptinfo.html) File D:\ASPIRE~1\lib\python\ZPublisher\Publish.py, line 171, in publish File D:\aspire_z_server\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_change_history_page) File D:\ASPIRE~1\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_change_history_page) File D:\aspire_z_server\lib\python\Shared\DC\Scripts\Bindings.py, line 324, in __call__ (Object: manage_change_history_page) File D:\aspire_z_server\lib\python\Shared\DC\Scripts\Bindings.py, line 354, in _bindAndExec (Object: manage_change_history_page) File D:\aspire_z_server\lib\python\App\special_dtml.py, line 236, in _exec (Object: manage_change_history_page) File D:\ASPIRE~1\lib\python\OFS\History.py, line 187, in manage_change_history (Object: deptinfo.html) File D:\ASPIRE~1\lib\python\ZODB\FileStorage.py, line 941, in history (Object: D:\aspire_z_server\var\Data.fs) KeyError: (see above) Which is fair enough, LocalFS doesn't support History. My question is how could LocalFS be made to support History? Any takers? phil phil.harris@zope.co.uk
Phil Harris wrote:
KeyError: (see above)
You missed out the 'above' ;-)
Which is fair enough, LocalFS doesn't support History.
My question is how could LocalFS be made to support History?
Journalling filesystem? Chris
Hmm, now I have to write a journalling fril-system for NT, marvellous, there's Saturday gone then. ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Phil Harris" <phil.harris@zope.co.uk> Cc: <zope@zope.org> Sent: Friday, August 17, 2001 12:48 PM Subject: Re: [Zope] LocalFS and the history tab
Phil Harris wrote:
KeyError: (see above)
You missed out the 'above' ;-)
Which is fair enough, LocalFS doesn't support History.
My question is how could LocalFS be made to support History?
Journalling filesystem?
Chris
Phil Harris wrote:
Hmm, now I have to write a journalling fril-system for NT, marvellous, there's Saturday gone then.
Hurm... might be saner solutions... storing different versions in files with different extensions, or turning files into folders and then storing in version in a file in that folder. Of course, you could just use Linux ;-) Chris
Hi Chris, --On Freitag, 17. August 2001 13:04 +0100 Chris Withers <chrisw@nipltd.com> wrote:
Phil Harris wrote:
Hmm, now I have to write a journalling fril-system for NT, marvellous, there's Saturday gone then.
Hurm... might be saner solutions... storing different versions in files with different extensions, or turning files into folders and then storing in version in a file in that folder.
Erm, I would call this completely insane ;))) (replacing FileStorage (which supports history) with LocalFS and then adding history to LocalFS does not make sense imho :) Regards Tino
It makes perfect sense, when the site you want to serve through Zope is maintained by Frontpage, (now that doesn't make any sense, but I have no choice in the matter). :( ----- Original Message ----- From: "Tino Wildenhain" <tino@wildenhain.de> To: "Chris Withers" <chrisw@nipltd.com>; "Phil Harris" <phil.harris@zope.co.uk> Cc: <zope@zope.org> Sent: Friday, August 17, 2001 2:14 PM Subject: Re: [Zope] LocalFS and the history tab
Hi Chris,
--On Freitag, 17. August 2001 13:04 +0100 Chris Withers <chrisw@nipltd.com> wrote:
Phil Harris wrote:
Hmm, now I have to write a journalling fril-system for NT, marvellous, there's Saturday gone then.
Hurm... might be saner solutions... storing different versions in files with different extensions, or turning files into folders and then storing in version in a file in that folder.
Erm, I would call this completely insane ;))) (replacing FileStorage (which supports history) with LocalFS and then adding history to LocalFS does not make sense imho :)
Regards Tino
Hi Phil, --On Freitag, 17. August 2001 14:18 +0100 Phil Harris <phil.harris@zope.co.uk> wrote:
It makes perfect sense, when the site you want to serve through Zope is maintained by Frontpage, (now that doesn't make any sense, but I have no choice in the matter). :(
Erm... Frontpage happens to "support" FTP too. Ok, you 'll need some hacking to support the brain-dead foldernames, Frontpages loves, but at least - it works. If its Frontpage 2000 you can happyly use WebDAV. You can argue the change to FP 2000 with the need to support new platforms .-) I suspect IIS5 needs this to (or so, I'm not quite sure, but your opposite for sure also not ;)) You need the file creation hack anyway, because from my experience, Frontpage leaves a complete cluttered page ;) Regards Tino
Tino, I both understand and agree with all of your comments below, and the more I look at this the more I'm heading in that direction. The webs at the moment are fullyfledged FP webs, using all sorts of weird stuff the FP supports, i.e. private folders (_vti_*), forms with private data-stores etc.. We're talking about a gig of pages/images etc here, so it's no simple job to redo all the pages. I would like, maybe even need, to find a way to serve the files through Zope. In time I will be 'migrating' the users (about 1500, all of whom will have managment rights over specific parts of the site) over to the Zope way of thinking but that's obviously going to take time. Oh well, back to the drawing board. thanks anyway Phil ----- Original Message ----- From: "Tino Wildenhain" <tino@wildenhain.de> To: "Phil Harris" <phil.harris@zope.co.uk>; "Chris Withers" <chrisw@nipltd.com> Cc: <zope@zope.org> Sent: Friday, August 17, 2001 2:28 PM Subject: Re: [Zope] LocalFS and the history tab
Hi Phil,
--On Freitag, 17. August 2001 14:18 +0100 Phil Harris <phil.harris@zope.co.uk> wrote:
It makes perfect sense, when the site you want to serve through Zope is maintained by Frontpage, (now that doesn't make any sense, but I have no choice in the matter). :(
Erm... Frontpage happens to "support" FTP too. Ok, you 'll need some hacking to support the brain-dead foldernames, Frontpages loves, but at least - it works. If its Frontpage 2000 you can happyly use WebDAV. You can argue the change to FP 2000 with the need to support new platforms .-) I suspect IIS5 needs this to (or so, I'm not quite sure, but your opposite for sure also not ;))
You need the file creation hack anyway, because from my experience, Frontpage leaves a complete cluttered page ;)
Regards Tino
Hi Phil, --On Freitag, 17. August 2001 12:52 +0100 Phil Harris <phil.harris@zope.co.uk> wrote:
Hmm, now I have to write a journalling fril-system for NT, marvellous, there's Saturday gone then.
You could just use FileStorage. Why making everything so complicated? ;) Regards Tino
----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Phil Harris" <phil.harris@zope.co.uk> Cc: <zope@zope.org> Sent: Friday, August 17, 2001 12:48 PM Subject: Re: [Zope] LocalFS and the history tab
Phil Harris wrote:
KeyError: (see above)
You missed out the 'above' ;-)
Which is fair enough, LocalFS doesn't support History.
My question is how could LocalFS be made to support History?
Journalling filesystem?
Chris
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (3)
-
Chris Withers -
Phil Harris -
Tino Wildenhain