Skip to content
  • Matt Harbison's avatar
    visdiff: convert the tool command back to str before displaying in an error dlg · eb63baf582e8
    Matt Harbison authored
    The str cast is necessary, otherwise an AttributeError is raised saying (for
    example) that 'FileNotFoundError' object has no attribute 'decode'.  In testing
    this (by trying to `subprocess.Popen("NULL")`), the error dialog pops up with
    the title, but nothing else in the box.  The following message is printed in the
    terminal, and the whole process hangs:
    
        QObject::startTimer: Timers can only be used with threads started with QThread
    
    --HG--
    branch : stable
    eb63baf582e8