Changeset 327


Ignore:
Timestamp:
04/21/07 16:49:12 (17 years ago)
Author:
bastiaans
Message:

jobmond/jobmond.py:

  • added more debug info whenever unable to count nodes from a queued job
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jobmond/jobmond.py

    r318 r327  
    624624                                                count_mynodes = count_mynodes + 1
    625625                                        else:
    626                                                 count_mynodes = count_mynodes + int( nodepart )
     626                                                try:
     627                                                        count_mynodes = count_mynodes + int( nodepart )
     628                                                except ValueError, detail:
     629                                                        debug_msg( 10, str( detail ) )
     630                                                        debug_msg( 10, "Encountered weird node in Resources_List?!" )
     631                                                        debug_msg( 10, 'nodepart = ' + str( nodepart ) )
     632                                                        debug_msg( 10, 'job = ' + str( name ) )
     633                                                        debug_msg( 10, 'attrs = ' + str( attrs ) )
    627634                                               
    628635                                nodeslist = str( count_mynodes )
Note: See TracChangeset for help on using the changeset viewer.