An application has suddenly started generating exceptions pertaining to 
encoding, when I attempt to perform database inserts or lookups.

The lookup operation produces this exception: 

3. Exception in 'Agent_Base check_comparable_record_exists_in_db()': 'ascii' 
codec can't decode byte 0xe2 in position 502: ordinal not in range(128) | 
Time: 2015-10-24 17:49:06.155000 
Traceback:

The insert operation produces this exception:

3. Exception in 'BaseModel insert_record()': 'ascii' codec can't decode 
byte 0xc2 in position 715: ordinal not in range(128) | Time: 2015-10-24 
17:49:06.155000 
Traceback:

I suspect that some bad data may have gotten into the DB;  but also appears 
that I'm not permitted to access the DB logs on my host's server. If I run 
the same functions, using a sqlite DB instead of the postgres production 
DB, the above errors do not occur.

Any ideas regarding how to go about determining what's causing the errors? 
Is there a way to get more detailed error output with web2py?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to