On Mar 22, 2010, at 12:02 PM, cd34 wrote: > Last night I set up a brand new 1.0rc1 installation to test my > trackback problems. While installing ToscaWidgets, I got an odd > error: > > File "/var/www/pylons/lib/python2.5/site-packages/ToscaWidgets-0.9.9- > py2.5.egg/tw/mods/pylonshf.py", line 11, in <module> > from pylons.templating import render > ImportError: cannot import name render
As I mentioned in an earlier email, Toscawidgets is broken against Pylons 1.0, as Pylons 1.0 does not have Buffet anymore. There is a patch to Toscawidgets that may have been applied, but I haven't heard about a new TW1 release which fixes this yet. > $ easy_install -U pylons > Best match: Pylons 0.10rc1 > Downloading > http://pypi.python.org/packages/source/P/Pylons/Pylons-0.10rc1.tar.gz#md5=91803a8c2ead7cfd400ec44b4d5b78cc To prevent accidental upgrades to Pylons 1.0, the egg is not available by default from the Cheeseshop, only the latest 0.10 is, which has legacy warnings. To install Pylons 1.0 you need to give the explicit location: easy_install -U http://pylonshq.com/download/1.0rc1/Pylons-1.0rc1.tar.gz > The archive at pylonshq.com is smaller than the archive at > pypi.python.org -- and the one at pylonshq.com seems to be the > preferred one when running go-pylons.py. Not sure what you're referring to, the go-pylons script from here: http://pylonshq.com/download/1.0rc1/go-pylons.py Should download Pylons 1.0rc1. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
