On Monday 01 June 2009, [email protected] wrote: > I have a client with an old TurboGears site. I've just recently > started working on the project. It's an extremely complicated site > and the original people aren't really around anymore. > > The first thing I tried to do was get the whole stack running on TG > 1.08, Python 2.5, etc. (It's running Python 2.4)
I'd run a test with 1.0.4 or 1.0.3 and python2.4 - nothing wrong with 2.4. 2.5 is a bit faster, particularly in exception handling, but if you don't expect thousands of pages a day it's not worth to migrate, although I don't see a reason why 2.5 would be incompatible to 2.4 - some add-ons used on the site might be though. So nothing wrong with sticking to the old 2.4 (I still use 2.4 on all my production sites.) I've tried upgrading my 1.0.4 site to 1.0.8 as well as 1.5 and I ran into a couple of issues. Don't recall exactly what the problems were, but I remember it had to do with versions of things. Venturing a guess it was probably Toscawidgets (you may not use them anyways because you're talking about kid templates and AFAIK Toscawidgets was always Genshi based) > But there are too many incompatibility problems to work out given the > current time and budget restraints. After I add a few necessary > features for the business we might try again. > > All the templates so far have been done in Kid. > > I'd much rather do the new templates it will need in Genshi. I don't know about a 0.9x version, but in 1.0.x versions adding genshi is pretty much a no-brainer. You can even mix Genshi and Kid as long as it's not on the same page. You select the default engine in the config, but you can tell a controller method to use a different engine in the @expose decorator (aka: template="genshi:my.path.to.template") You might want to try to use the old SQLObject and Kid versions with 1.0.x. They might just work and eliminate your compatibility problems. HTH Uwe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

