Hi All,
I'm way new to Turbogears and working my way through the book, trying to understand things as I go. Right now I am sort of hung up on validation. My bookmarker app gives me trouble when I type in a new bookmark but leave out something important, like the link. I thought it was me, but then I downloaded the code from the web site, and it also gives the same error. Specifically, if I try to save a new bookmark with missing information, or a malformed link, the error I get is: (most of it snipped, only the last couple of lines are shown) File "/Users/tamara/Desktop/bookmarker.1/bookmarker/controllers.py", line 58, in bookmark return dict(form=bookmark_form, values=values, action=submit_action) UnboundLocalError: local variable 'values' referenced before assignment So I'm not sure what is wrong. I'm using the code called Chapter 5b. I'm so new that I don't really know what is really wrong or why. Can somebody maybe take a look at this and then explain to me why what is there doesn't work, and what changes will fix it? Thank a lot! Tamara --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

