jose <[EMAIL PROTECTED]> writes:

> Hi,
>
> After installation of submodal and new SelectShuttle versione I cannot use 
> tg-admin toolbox any more...
> ....
>
>   File "<string>", line 25, in _pull
>   File 
> "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/widgets/base.py",
>  line 352, in display
>     return super(CompoundWidget, self).display(value, **params)
>   File 
> "/usr/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/widgets/base.py",
>  line 264, in display
>     return view.engines.get('kid').transform(params, self.template_c)
>   File 
> "/usr/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg/turbokid/kidsupport.py",
>  line 174, in transform
>     return ElementStream(t.transform()).expand()
>   File "/usr/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", 
> line 99, in expand
>     for ev, item in self._iter:
>   File "/usr/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", 
> line 168, in _track
>     for p in stream:
>   File "/usr/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/filter.py", 
> line 21, in transform_filter
>     for ev, item in apply_matches(stream, template, templates, apply_func):
>   File "/usr/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/filter.py", 
> line 25, in apply_matches
>     for ev, item in stream:
>   File "/usr/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", 
> line 168, in _track
>     for p in stream:
>   File "/usr/lib/python2.4/site-packages/kid-0.9.3-py2.4.egg/kid/pull.py", 
> line 210, in _coalesce
>     for ev, item in stream:
>   File "<string>", line 30, in _pull
> NameError: name 'options_for' is not defined

[EMAIL 
PROTECTED]:~/empresa/clientes/g2ctech/selectshuttle/trunk/Select-Shuttle> grep 
-ri options_for *
[EMAIL PROTECTED]:~/empresa/clientes/g2ctech/selectshuttle/trunk/Select-Shuttle>

And

[EMAIL PROTECTED]:~/empresa/clientes/g2ctech/submodal> grep -ri options_for *
[EMAIL PROTECTED]:~/empresa/clientes/g2ctech/submodal> 


Are you sure you didn't update TG or something like that as well?  

[EMAIL PROTECTED]:~/desenvolvimento/python/TurboGears/1.0> grep -ri options_for 
*
CHANGELOG.txt:  options_for has been renamed params_for
turbogears/widgets/tests/test_forms.py:def 
test_callable_options_for_selection_field():
turbogears/widgets/tests/.svn/text-base/test_forms.py.svn-base:def 
test_callable_options_for_selection_field():
[EMAIL PROTECTED]:~/desenvolvimento/python/TurboGears/1.0> 


As you can see from the CHANGELOG there was a change at TG's code related to
the error message you're getting... 


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to