You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/01/29 00:57:07 UTC

[GitHub] [incubator-tvm] soiferj commented on issue #4780: [FFI][Windows] Fix hasattr by extracting Python error type from Windows error message

soiferj commented on issue #4780: [FFI][Windows] Fix hasattr by extracting Python error type from Windows error message
URL: https://github.com/apache/incubator-tvm/pull/4780#issuecomment-579544499
 
 
   @jmorrill, I haven't seen an error formatted like that. Can you print out the full error string in the function that calls into this one? In all of my tests, the message begins with timestamp, which has a few ":" characters.
   
   If this does turn out to be an issue, I think we should handle both cases. If `start_pos` is -1, we should graph `line[:end_pos]`. Otherwise, grab `line[start_pos + 1:end_pos]`. What do you think?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services