TypeError: object of type 'datetime.timedelta' has no len()
Brought to you by:
srenard
I get an error whet datetime.timedelta hast to be printed from a query.
How to reproduce it (tested on 0.14)
As sysman try:
select * from dba_scheduler_job_run_details ;
you'll get:
File ".../pysql-0.14/src/pysql/pysqlhelpers.py", line 106, in itemLength
return len(item)
TypeError: object of type 'datetime.timedelta' has no len()
I make a hack to avoid it on the print function, but i guess is not a good solution.
Cheers!
Joaquín