[Zope] ZODB/FSSession TransactionError
In my original Zope installation, I'm still getting the same EOFError when I try to view a document containing dtml-call FSSession. I have been unable to reproduce the original TransactionError in the original Zope. I have mucked around with the 1st Zope since receiving this initial TransactionError - mostly removing var/Data.fs, etc.. and reinstalling FSSession etc... so that I could start "fresh". You can correct the first Zope installation by doing the following. Remove dtml-call FSSession and instead use dtml-var SessionUID. This will give you the problematic unpicklable session uid file and just remove it. It should be ok after that. Don't spend time on it , I have a pretty good idea what is going on. I hope by tonight to have a fixed version out. Pavlos Joy! Following Pavlos's advice, my EOFError seems to be cured on my original Zope installation. Funny though, I fired up the original Zope and immediately used dtml-var SessionUID which gave me a KeyError - understandable since I had not started FSSession yet. Realizing this I did a dtml-call FSSession and Voila - it worked without having to remove any session files. Thanks for the help, Brian ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] ZODB/FSSession TransactionError
On Tue, Jun 27, 2000 at 02:40:49PM -0400, Brian McClain wrote: [...] I have plenty of disk space and have tried reinstalling FSSession/Zope, rebooting, etc... I am running Zope 2.1.0 and FSSession 0.3.1 What operating system do you use ? Have you checked the partition on which Zope resides for filesystem errors ? -Petru I'm using linux 2.0.36 (redhat 5.2). When rebooting, fsck checked the partition Zope resides in and gave it a clean bill of health. -Brian ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] ZODB/FSSession TransactionError
On Wed, 28 Jun 2000, Dieter Maurer wrote: That's strange, because Python usually indicates EOF by returning an empty string and not by raising EOFError. cPickle returns EOFError which is confusing since the Python docs state that only input and raw_input return this exception. The problem is actually deeper than I previously thought. I am still not sure whether it is FSSession that is causing it or Zope's transaction manager. I will spend more time on it tomorrow. In any case if you delete the offending FSSession file on the filesystem and restart Zope it should be fine for now. Pavlos ___ Zope maillist - [EMAIL PROTECTED] 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 )
[Zope] ZODB/FSSession TransactionError
Well, I got a second installation of Zope running OK in another directory after correcting some group/permission errors on my part. It seems I can now use FSSession with this second installation with no problems (fingers crossed "Oh please please please"). In my original Zope installation, I'm still getting the same EOFError when I try to view a document containing dtml-call FSSession. I have been unable to reproduce the original TransactionError in the original Zope. I have mucked around with the 1st Zope since receiving this initial TransactionError - mostly removing var/Data.fs, etc.. and reinstalling FSSession etc... so that I could start "fresh". If I get the original Zope to behave I'll describe the procedure... Thanks, Brian ___ Zope maillist - [EMAIL PROTECTED] 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 )