my post was disappeared so I'd repost again shortly:

> SyntaxError: from __future__ imports must occur at the beginning of the file
> ---------------
> Just moved the import line a the top of the file in NameMapper.py to
> make it work...


It could be solved by install cheetah 2.0



> AttributeError: 'module' object has no attribute 'encoding'
> ---------------
>
> Module in question is : turbogears.widgets.base.CSSLink.Template
>
> commented lines 91 to 97 in codewriter.py to bypass the obvious problems
>


It's valid


>   File "<string>", line 5, in <module>
> SystemError: Parent module 'turbogears.widgets.base.CSSLink' not loaded
> ---------------

It works in trunk but not in 1.0 branch, and it looks like a widget
problem. So once the widget is recovered in trunk, the same problem
may occured there.

>
>   1 - install sqlobject 0.8x because on 2.5 sqlite module is renamed
> sqlite3

Valid

>   2 - amend was the master.kid file to read:
>         py:if="hasattr(self, 'tg_flash')" instead of just
> py:if="tg_flash" on line 36.

I got a different result, in py 2.5 it seems need supply tg_flash
explicitly for return value, or it will bark a exception.


Over all, thanks for make TG + py2.5 possible!

--
Fred


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to