Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #431 (closed defect: worksforme)

Opened 13 years ago

Last modified 12 years ago

Widgets Broken

Reported by: d.zannotti@… Owned by: anonymous
Priority: highest Milestone: 0.9
Component: TG Widgets Version:
Severity: blocker Keywords: Widgets
Cc:

Description

in the current svn distrubution and since r537 (could have been there before but i've tested it). widgets doesn't work anymore, both widget browser and own code report the same error

Page handler: <bound method Admin.aenews of <coppa.admin.Admin object at 0x01225130>>
Traceback (most recent call last):
  File "c:\python24\lib\site-packages\cherrypy-2.2.0beta-py2.4.egg\cherrypy\_cphttptools.py", line 98, in _run
    self.main()
  File "c:\python24\lib\site-packages\cherrypy-2.2.0beta-py2.4.egg\cherrypy\_cphttptools.py", line 246, in main
    body = page_handler(*virtual_path, **self.params)
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\controllers.py", line 240, in newfunc
    html, fragment, *args, **kw)
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\database.py", line 189, in run_with_transaction
    retval = func(*args, **kw)
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\controllers.py", line 262, in _execute_func
    return _process_output(tg_format, output, html, fragment)
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\controllers.py", line 62, in _process_output
    output = view.render(output, tg_format, template=template,fragment=fragment)
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\view.py", line 57, in render
    return engine.render(info, format, fragment, template)
  File "c:\python24\lib\site-packages\TurboKid-0.9.0-py2.4.egg\turbokid\kidsupport.py", line 136, in render
    return t.serialize(encoding=self.defaultencoding, output=format, fragment=fragment)
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\__init__.py", line 232, in serialize
    return serializer.serialize(self, encoding, fragment)
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\serialization.py", line 51, in serialize
    text = list(self.generate(stream, encoding, fragment))
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\serialization.py", line 319, in generate
    for ev, item in self.apply_filters(stream):
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\serialization.py", line 77, in balancing_filter
    for ev, item in stream:
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 203, in _coalesce
    for ev, item in stream:
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\i18n\kidutils.py", line 60, in i18n_filter
    for ev, item in stream:
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\i18n\kidutils.py", line 60, in i18n_filter
    for ev, item in stream:
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\i18n\kidutils.py", line 60, in i18n_filter
    for ev, item in stream:
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\i18n\kidutils.py", line 60, in i18n_filter
    for ev, item in stream:
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\filter.py", line 21, in transform_filter
    for ev, item in apply_matches(stream, template, templates, apply_func):
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\filter.py", line 31, in apply_matches
    item = stream.expand()
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 95, in expand
    for ev, item in self._iter:
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 164, in _track
    for p in stream:
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 203, in _coalesce
    for ev, item in stream:
  File "C:\projects\irt\coppasite\coppa\templates\adminform.py", line 72, in _pull
  File "c:\python24\lib\site-packages\TurboGears-0.9a0dev_r544-py2.4.egg\turbogears\i18n\kidutils.py", line 60, in i18n_filter
    for ev, item in stream:
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\filter.py", line 21, in transform_filter
    for ev, item in apply_matches(stream, template, templates, apply_func):
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\filter.py", line 25, in apply_matches
    for ev, item in stream:
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 164, in _track
    for p in stream:
  File "c:\python24\lib\site-packages\kid-0.8-py2.4.egg\kid\pull.py", line 203, in _coalesce
    for ev, item in stream:
  File "<string>", line 29, in _pull
NameError: name 'value_of' is not defined

Change History

comment:1 Changed 13 years ago by Ivo Looser

Right, I got the same Error...

comment:2 Changed 13 years ago by kevin

  • Status changed from new to closed
  • Resolution set to worksforme

Apparently, value_of was added to Kid after 0.8. Install Kid from the thirdparty/trunk directory and all should be well.

Note: See TracTickets for help on using tickets.