KeyError with everything
Hi, I wondered if anyone could help me on this issue that is driving me nuts. I'm new to zope, and google has been fruitless on this. I have installed Zope 2.7, Plone 2.0.5, and have Python 2.4 on. Not supported, I know, but I needed 2.4 for something else, so figured I'd try it. Anyway, I have it all up and running fine, but some Products won't install. E.g. SimpleBlog, CMFBoard, and ArchExample. Well, okay, they will install, and zope will start, but they all have the same symptoms. Whenever I add a blog, forum, or article from them, I get a KeyError, on field 'zid'. With ArchExample, it actually says "I can't find this file", but I know it means the same error (I hope). I've also tried creating my own class in ArgoUML, ArchGenXML'ing it, and I get the same with that too. Even if I create the simplest of classes. Wha could be wrong here? Give me hints and I'll dig deeper, it's just that I can't find anything on google at all :-/ Thanks, Jamie
Jamie van Dyke wrote:
Hi, I wondered if anyone could help me on this issue that is driving me nuts. I'm new to zope, and google has been fruitless on this.
I have installed Zope 2.7, Plone 2.0.5, and have Python 2.4 on. Not supported, I know, but I needed 2.4 for something else, so figured I'd try it.
Anyway, I have it all up and running fine, but some Products won't install. E.g. SimpleBlog, CMFBoard, and ArchExample. Well, okay, they will install, and zope will start, but they all have the same symptoms. Whenever I add a blog, forum, or article from them, I get a KeyError, on field 'zid'. With ArchExample, it actually says "I can't find this file", but I know it means the same error (I hope).
I've also tried creating my own class in ArgoUML, ArchGenXML'ing it, and I get the same with that too. Even if I create the simplest of classes.
Wha could be wrong here? Give me hints and I'll dig deeper, it's just that I can't find anything on google at all :-/
You already answered the question : Zope 2.7.x does not run on Python 2.4.x. Note that nothing prevents you from having two Python versions on the same system. -- Bruno Desthuilliers Développeur bruno@modulix.org
You already answered the question : Zope 2.7.x does not run on Python 2.4.x.
Note that nothing prevents you from having two Python versions on the same system. No, the docs say that it is not supported, but they don't assure that it won't run. Perhaps the problem isn't related to python at all, but it is dificult to say it without a traceback.
Regards, Josef
I posted a traceback...at least, I received it in my mailing list. :-/ Heres the top bit again: Exception Type KeyError Exception Value 'field' Traceback (innermost last): ▪ Module ZPublisher.Publish, line 101, in publish ▪ Module ZPublisher.mapply, line 88, in mapply ▪ Module ZPublisher.Publish, line 39, in call_object ▪ Module Shared.DC.Scripts.Bindings, line 306, in __call__ ▪ Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec ▪ Module Products.CMFCore.FSPageTemplate, line 191, in _exec ▪ Module Products.CMFCore.FSPageTemplate, line 124, in pt_render ▪ Module Products.PageTemplates.PageTemplate, line 96, in pt_render <FSPageTemplate at /mywidgets/article_view used for /mywidgets/article.2005-01-31.1386504921> On 31 Jan 2005, at 21:46, Josef Meile wrote:
You already answered the question : Zope 2.7.x does not run on Python 2.4.x. Note that nothing prevents you from having two Python versions on the same system. No, the docs say that it is not supported, but they don't assure that it won't run. Perhaps the problem isn't related to python at all, but it is dificult to say it without a traceback.
Regards, Josef _______________________________________________ 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 )
Jamie wrote:
Exception Type KeyError Exception Value 'field'
This looks like a simple error in your template. Examine this traceback more carefully in the error_log object and you should see the line in /mywidgets/article_view that's causing the problem. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Jamie van Dyke wrote at 2005-1-31 03:04 +0000:
... I'm new to zope, and google has been fruitless on this.
One of the first things, you should learn: Whenever you see an "*Error" (such as "KeyError", "NameError", "AttributeError", ...), look at the traceback. You find it in your "error_log" object, situated in your Zope "Root Folder" (in the Management Interface). When you report errors, include at least: "ErrorType", "ErrorValue" and the traceback (all from the "error_log"). -- Dieter
participants (6)
-
bruno modulix -
Chris Withers -
Dieter Maurer -
Jamie -
Jamie van Dyke -
Josef Meile