Hi,
You could use easy_install -m accordionwidget..... on these plugins to
deactivate them all,
then use easy_install accordionwidget,,, to activate some of the
plugins and check if they crash the widget browser.
--
Fred
On 8月8日, 上午4時51分, Tim Black <[EMAIL PROTECTED]> wrote:
> I installed a bunch of items from the cogbin using the following command:
>
> easy_install -U accordionwidget displayshelf divdialogs filefields
> lightbox inplace multicomplete objectstatetracer plotkit rsswidget
> select-shuttle tgbooleanformwidget tgexpandingformwidget tgfklookup
> tgfusioncharts tgyui turbotinymce upctools checkselect submodal jquery
> tg_interface DOMinclude tgpaginate tgsociable dynwidgets jsdomenu xcbl
> turbolucene turbomail turbosetup testdatagears tgcrud tgmigrate
> twajaxtools twext twjquery twmaps twmochikit twprototype twtinymce
> templatebrowser
>
> Now I get the following error when opening the widget browser:
>
> Page handler: <function _wrapper at 0x01C77A30>
> Traceback (most recent call last):
> File
> "C:\Python24\lib\site-packages\cherrypy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py",
> line 105, in _run
> self.main()
> File
> "C:\Python24\lib\site-packages\cherrypy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py",
> line 254, in main
> body = page_handler(*virtual_path, **self.params)
> File
> "c:\python24\lib\site-packages\TurboGears-1.0.3.2-py2.4.egg\turbogears\identity\conditions.py",
> line 275, in _wrapper
> return fn( *args, **kw )
> File "<string>", line 3, in index
> File
> "c:\python24\lib\site-packages\TurboGears-1.0.3.2-py2.4.egg\turbogears\controllers.py",
> line 342, in expose
> output = database.run_with_transaction(
> File "<string>", line 5, in run_with_transaction
> File
> "c:\python24\lib\site-packages\TurboGears-1.0.3.2-py2.4.egg\turbogears\database.py",
> line 312, in so_rwt
> retval = func(*args, **kw)
> File "<string>", line 5, in _expose
> File
> "c:\python24\lib\site-packages\TurboGears-1.0.3.2-py2.4.egg\turbogears\controllers.py",
> line 359, in <lambda>
> mapping, fragment, args, kw)))
> File
> "c:\python24\lib\site-packages\TurboGears-1.0.3.2-py2.4.egg\turbogears\controllers.py",
> line 399, in _execute_func
> return _process_output(output, template, format, content_type,
> mapping, fragment)
> File
> "c:\python24\lib\site-packages\TurboGears-1.0.3.2-py2.4.egg\turbogears\controllers.py",
> line 86, in _process_output
> fragment=fragment)
> File
> "c:\python24\lib\site-packages\TurboGears-1.0.3.2-py2.4.egg\turbogears\view\base.py",
> line 129, in render
> return engine.render(**kw)
> File
> "c:\python24\lib\site-packages\TurboKid-1.0.2-py2.4.egg\turbokid\kidsupport.py",
> line 195, in render
> output=output, format=format)
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\__init__.py",
> line 301, in serialize
> raise_template_error(module=self.__module__)
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\__init__.py",
> line 299, in serialize
> return serializer.serialize(self, encoding, fragment, format)
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\serialization.py",
> line 107, in serialize
> text = ''.join(self.generate(stream, encoding, fragment, format))
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\serialization.py",
> line 629, in generate
> for ev, item in self.apply_filters(stream, format):
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\serialization.py",
> line 165, in format_stream
> for ev, item in stream:
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\parser.py", line
> 221, in _coalesce
> for ev, item in stream:
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\serialization.py",
> line 477, in inject_meta_tags
> for ev, item in stream:
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\parser.py", line
> 179, in _track
> for p in stream:
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\filter.py", line
> 26, in apply_matches
> for ev, item in stream:
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\parser.py", line
> 179, in _track
> for p in stream:
> File
> "c:\python24\lib\site-packages\kid-0.9.6-py2.4.egg\kid\parser.py", line
> 221, in _coalesce
> for ev, item in stream:
> File
> "C:\Python24\lib\site-packages\turbogears-1.0.3.2-py2.4.egg\turbogears\toolbox\widgets.py",
> line 277, in _pull
> File
> "c:\python24\lib\site-packages\TurboGears-1.0.3.2-py2.4.egg\turbogears\widgets\base.py",
> line 637, in _get_source
> return inspect.getsource(self.__class__)
> File "C:\Python24\lib\inspect.py", line 556, in getsource
> lines, lnum = getsourcelines(object)
> File "C:\Python24\lib\inspect.py", line 545, in getsourcelines
> lines, lnum = findsource(object)
> File "C:\Python24\lib\inspect.py", line 410, in findsource
> raise IOError('could not get source code')
> IOError: could not get source code
> Error location in template file
> 'C:\\Python24\\lib\\site-packages\\turbogears-1.0.3.2-py2.4.egg\\turbogears\\toolbox\\widgets.kid'
> between line 67, column 35 and line 68, column 20:
> ... </h2>
>
> Does anyone have an idea which of the widget sets installed through the
> command above might be causing the problem, or an easy way to find out?
>
> Tim Black
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---