Re: .AttributeError: 'alias' object has no attribute '_attributes'"
Roel Bruggink <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAO5yuCWV8oBHEWWFZJapQEWqbWDOErWmKA1+b85c1BJsXqj0FA@mail.gmail.com> |
btw, this is on Python 2.6.0. On Mon, Sep 16, 2013 at 3:10 PM, Roel Bruggink <[email protected]> wrote: > This is for future reference and google-ability ;) > > We're running Plone 4.3.1 (using the installer) on a Windows server. We > noticed the following error when using Chameleon. This happens because of > the error in lib/ast.py that assumes the node has an _attributes attribute. > > Error Type: PTRuntimeError > Error Value: ['Compilation failed', "exceptions.AttributeError: 'alias' > object has no attribute '_attributes'"] > > This is fixed in 2008 according to > http://grokbase.com/t/python/python-bugs-list/08a7r194q7/issue4067-ast-fix-missing-locations-breaks-if-node-doesnt-have-attributes-variable > > Updating the Python version should fix this, or apply > http://bugs.python.org/file11730/ast.diff > > > -- > Roel Bruggink > http://www.fourdigits.nl/mensen/roel-bruggink > > Four Digits BV > http://www.fourdigits.nl tel: +31(0)26 4422700 > -- Roel Bruggink http://www.fourdigits.nl/mensen/roel-bruggink Four Digits BV http://www.fourdigits.nl tel: +31(0)26 4422700 ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers