radical-cybertools / ExTASY

MDEnsemble
Other
1 stars 1 forks source link

Upon Failure, Logentry objects are printed instead of strings #161

Closed oleweidner closed 9 years ago

oleweidner commented 9 years ago
#######################
##       ERROR       ##
#######################
Pilot 551a7a596bf88ba9b65db8c5 has FAILED. Can't recover.

Pilot log: [<radical.pilot.logentry.Logentry object at 0x112de3690>, <radical.pilot.logentry.Logentry object at 0x112de3890>, <radical.pilot.logentry.Logentry object at 0x11299e510>, <radical.pilot.logentry.Logentry object at 0x11299e990>, <radical.pilot.logentry.Logentry object at 0x113035650>, <radical.pilot.logentry.Logentry object at 0x1130356d0>]

The code needs to loop through Pilot.log and print the entries individually, e.g., using the as_dict() method: https://github.com/radical-cybertools/radical.pilot/blob/master/src/radical/pilot/logentry.py#L31