What is your work environment like? Won't help with the immediate
problem, but if you use a vcs for your code, keep track of
dependencies in the setup config for your pylons site, and use
virtualenv for all your python dependencies it makes it really
difficult to get muddled about what has changed, with only a tiny
penalty in terms of your time.

On Monday, February 15, 2010, Anil <[email protected]> wrote:
> I was playing around with Authkit. Then later I decided to not use it. 
> Removed all of the configuration changes I've done, in the environment. But 
> now I get this exception:
>
>
>   ⇝
>   AssertionError: I don't know about this kind of <input>: textbox (pos: 
> (193, 24))
>
>
>
> Module ?:2 in check           view <http://vps1.entic.net:5000/login/check#>
>
>
> Module pylons.decorators.rest:33 in check_methods           
> view <http://vps1.entic.net:5000/login/check#>
>
>
> Module entic.controllers.login:64 in check           
> view <http://vps1.entic.net:5000/login/check#>
> <<   
> <http://vps1.entic.net:5000/login/check#>                                             
>  html,
>                                                      defaults=c.form_result,
>                                                      errors=c.form_errors
>                                                      )
>                else:>>   
> <http://vps1.entic.net:5000/login/check#>errors=c.form_errors
>
>
>
>
> Module formencode.htmlfill:78 in render           
> view <http://vps1.entic.net:5000/login/check#>
>
>
> Module formencode.rewritingparser:36 in feed           
> view <http://vps1.entic.net:5000/login/check#>
>
>
> Here is my code:
>     @restrict('POST')
>     def check(self):
>         " check user/password "
>
>         schema = LoginForm()
>         try:
>             c.form_result = schema.to_python(dict(request.params))
>         except formencode.Invalid, error:
>             c.form_result = error.value
>             c.form_errors = error.error_dict or {}
>             html = render('/derived/login.mako')
>             return formencode.htmlfill.render(
>                                               html,
>                                               defaults=c.form_result,
>                                               errors=c.form_errors
>                                               )
>         else:
>             ...
>
> I did a diff of these files with an older backup, and they are exactly the 
> same. I just do'nt get what changed that is causing this problem. Could it be 
> some other incompatible egg that was installed when I installed AuthKit? I 
> removed AuthKit and also python_openid. There is also elementtree egg, I will 
> remove that too and see.
>
> Thanks
>
>
>
>
> --
> 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.
>

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

Reply via email to