i found it is because of pylons 0.9.7.1.after i comment out pylons in easy-install.pth,turbogears 1.1 is running ok!
On 10月5日, 下午7时07分, mahongquan <[email protected]> wrote: > when i run 'tg-admin toolbox',after click 'Widget Browser',there is > error. > > Unrecoverable error in the server. > > ===First Error=== > > Page handler: <function _wrapper at 0x9ef287c> > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/CherryPy-2.3.0- > py2.6.egg/cherrypy/_cphttptools.py", line 121, in _run > self.main() > File "/usr/local/lib/python2.6/dist-packages/CherryPy-2.3.0- > py2.6.egg/cherrypy/_cphttptools.py", line 264, in main > body = page_handler(*virtual_path, **self.params) > File "/usr/local/lib/python2.6/dist-packages/TurboGears-1.1- > py2.6.egg/turbogears/identity/conditions.py", line 282, in _wrapper > return fn(*args, **kw) > File "<string>", line 3, in index > File "/usr/local/lib/python2.6/dist-packages/TurboGears-1.1- > py2.6.egg/turbogears/controllers.py", line 356, in expose > *args, **kw) > File "<generated code>", line 0, in run_with_transaction > File "build/bdist.linux-i686/egg/peak/rules/core.py", line 153, in > __call__ > return self.body(*args, **kw) > File "/usr/local/lib/python2.6/dist-packages/TurboGears-1.1- > py2.6.egg/turbogears/database.py", line 404, in so_rwt > retval = func(*args, **kw) > File "/usr/local/lib/python2.6/dist-packages/TurboGears-1.1- > py2.6.egg/turbogears/controllers.py", line 238, in _expose > @abstract() > File "<generated code>", line 0, in _expose > File "build/bdist.linux-i686/egg/peak/rules/core.py", line 153, in > __call__ > return self.body(*args, **kw) > File "/usr/local/lib/python2.6/dist-packages/TurboGears-1.1- > py2.6.egg/turbogears/controllers.py", line 385, in <lambda> > fragment, options, args, kw))) > File "/usr/local/lib/python2.6/dist-packages/TurboGears-1.1- > py2.6.egg/turbogears/controllers.py", line 446, in _execute_func > fragment, **options) > File "/usr/local/lib/python2.6/dist-packages/TurboGears-1.1- > py2.6.egg/turbogears/controllers.py", line 94, in _process_output > headers=headers, fragment=fragment, **options) > File "/usr/local/lib/python2.6/dist-packages/TurboGears-1.1- > py2.6.egg/turbogears/view/base.py", line 203, in render > return engine.render(**kw) > File "/usr/local/lib/python2.6/dist-packages/TurboKid-1.0.4- > py2.6.egg/turbokid/kidsupport.py", line 206, in render > output=output, format=format) > File "/usr/local/lib/python2.6/dist-packages/kid-0.9.6-py2.6.egg/kid/ > __init__.py", line 301, in serialize > raise_template_error(module=self.__module__) > File "/usr/local/lib/python2.6/dist-packages/kid-0.9.6-py2.6.egg/kid/ > codewriter.py", line 212, in raise_template_error > exc_value = TemplateExceptionError(exc_value, s) > File "/usr/local/lib/python2.6/dist-packages/kid-0.9.6-py2.6.egg/kid/ > codewriter.py", line 96, in TemplateExceptionError > return TemplateExceptionError() > File "/usr/local/lib/python2.6/dist-packages/kid-0.9.6-py2.6.egg/kid/ > codewriter.py", line 91, in __init__ > setattr(self, arg, getattr(error, arg)) > TypeError: import_module() takes at most 4 arguments (5 given) > > ===Second Error=== > > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/CherryPy-2.3.0- > py2.6.egg/cherrypy/_cphttptools.py", line 446, in handleError > _cputil.get_special_attribute('_cp_on_error', '_cpOnError')() > File "/usr/local/lib/python2.6/dist-packages/CherryPy-2.3.0- > py2.6.egg/cherrypy/_cputil.py", line 375, in _cp_on_error > cherrypy.HTTPError(500).set_response() > File "/usr/local/lib/python2.6/dist-packages/CherryPy-2.3.0- > py2.6.egg/cherrypy/_cperror.py", line 167, in __init__ > self.message = message > TypeError: import_module() takes at most 4 arguments (5 given) > > On 10月5日, 上午8时28分, Christopher Arndt <[email protected]> wrote: > > > On behalf of the TurboGears Team, I am pleased to announce that > > TurboGears 1.1 final is available for download at > > > http://turbogears.org/ > > > and the Python package index > > > http://pypi.python.org/pypi/TurboGears > > > TurboGears 1.1 is the first stable release of the TurboGears 1.1 > > branch, which is the evolution of the TurboGears 1 codebase. The 1.1 > > branch now uses SQLAlchemy as the default database layer and Genshi as > > the standard templating engine but is 100 percent compatible with > > applications built on TurboGears 1.0. > > > During its long beta period, versions of TurboGears 1.1 have been in > > use in real, high-demand production environments for over a year now, > > so we believe this release is rock-stable. > > > What is TurboGears? > > ------------------- > > > TurboGears is a rapid development, "front-to-back", open source web > > meta-framework. Its aim is to simplify and speed up the development of > > modern web applications written in the Python programming language. > > > TurboGears is designed around the model-view-controller architecture, > > much like Struts or Ruby on Rails, and takes the best Python web > > components available (hence "meta-framework") and combines them into one > > easy-to-install, documented whole. > > > What's new? > > ----------- > > > Apart from the change of defaults to SLQAlchemy and Genshi, TurboGears > > 1.1 has a new testing framework built on WebTest, a new quickstart > > design (backported from TurboGears 2) and many, many bigger and smaller > > fixes and improvements over version 1.0 in its internals. > > > We made a few more important changes after the 1.1rc release candidate, > > in particular some fixes in the Genshi support and the templating > > plugin support in general. > > > For a comprehensive list of changes, as always, see the changelog in > > our Trac at > > > http://trac.turbogears.org/wiki/ChangeLog > > > How to install? > > --------------- > > > The easiest way to install TurboGears 1.1rc1 is via setuptools: > > > [sudo] easy_install [-fhttp://turbogears.org/download/] TurboGears > > > We recommend that you install TurboGears into its own virtual > > environment using the virtualenv tool: > > > [sudo] easy_install virtualenv > > virtualenv --no-site-packages /path/to/tgenv > > source /path/to/tgenv/bin/activate > > easy_install [-fhttp://turbogears.org/download/] TurboGears > > > How is it related to TurboGears 2? > > ---------------------------------- > > > TurboGears 1.1 is based on the original TurboGears 1.0 codebase and > > still uses CherryPy 2.3 as the underlying web application server. It > > is 100 percent compatible with existing TurboGears 1.0 applications and > > porting an application using SQLObject and Kid to use SQLAlchemy and > > Genshi is easiliy achieved. > > > TurboGears 2 has almost the same API as TurboGears 1.x but builds on > > Pylons as the underlying web engine. Most new development for TurboGears > > now happens in version 2, but the 1.1 branch will be continued to be > > supported and maybe even developed further for the foreseeable future. > > > The Future > > ---------- > > > We plan to issue a maintenance release for the TurboGears 1.0 branch, > > which would be version 1.0.9, within the next two weeks. > > > Further development on the TurboGears 1.1 branch depends on community > > feedback, which we plan to collect by conducting an online survey > > amongst TurboGears users. You may expect a separate announcement for > > this very soon! > > > Share & enjoy! > > > -- > > Christopher Arndt <[email protected]> > > TurboGears Systems Administratorhttp://www.turbogears.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

