Please show the full traceback.

Diez


----Ursprüngliche Nachricht-----
Von: "Michael Semcheski" <[email protected]>
Gesendet: 04.01.2011 18:25:40
An: [email protected]
Betreff: [TurboGears] Strange Occurrence of error: sqlalchemy.orm.exc : No row 
was found for one()

>Hi,
>
>I've got an interesting problem with a web app I'm working on.
>Whenever I load a page, I get the error
>"sqlalchemy.orm.exc.NoResultFound'>: No row was found for one()" in my
>mail.  (Courtesy of the very useful weberror middleware.)
>
>What makes this strange is:
>Every other indication is that there's no problem.  The app works as I
>expect it to, with no visual errors.  I've identified the code in my
>app that the middleware reports as responsible.  In fact, it is
>loading the contents for the page from the database, and if there were
>an error, the page could not display correctly.
>
>The problem only occurs in the production code (using mod_wsgi).  In
>the development version, using paster serve, there's no errors being
>reported, and I'm reasonably sure that at this time production and
>development are in sync, as are the database records.
>
>Is there some flaw in my understanding of what's going on?  I'm not
>going to try to fix this by turning off the error, but every time
>somebody hits the site I get an an email.
>
>Mike
>
>-- 
>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.
>
___________________________________________________________
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
        
Jetzt informieren: http://produkte.web.de/go/webdefreephone

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