Thanks, Making substantial progress: I have found several things wrong with the code, including a comma in the wrong place in views.py, and Class Tree not properly defined in the models.py. I am now able to use the browser form to commit records to the database!
Thanks again for your help, Tom Grzybowski On Tuesday, February 4, 2014 3:31:19 PM UTC-5, Jonathan Vanasco wrote: > > > On Tuesday, February 4, 2014 2:04:50 PM UTC-5, Thomas Grzybowski wrote: > > Hi Jonathan, > > > Thanks, I'll give that a try, but I'm not sure what I am looking for. > > at some point in your code, there exists a unicode (string-ish) object , > instead of something that simpleform is looking for (self.errors.get) > > if you play around with the objects and their values for a bit, you should > be able to see something that just looks "wrong". i'd want to look at what > `self` and `self.errors` are, see if they have any dicts, etc. then look > at how/where they're called. > > i know this isn't very helpful -- your integration of simpleform differers > from their example in the docs -- so it's kind of hard to offer any extra > input without running it. the debugger can help you figure out a lot of > these types of errors. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
