Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "nrsc5-dui.py", line 934, in play
self.parseFeedback(output)
File "nrsc5-dui.py", line 1390, in parseFeedback
self.debugLog("Corrupt file: " + fileName + " (expected: "+fileSize+" bytes, got "+actualFileSize+" bytes)")
TypeError: must be str, not int
The fix for this particular error should be replacing fileSize with str(fileSize) and actualFileSize with str(actualFileSize).
The fix for this particular error should be replacing
fileSize
withstr(fileSize)
andactualFileSize
withstr(actualFileSize)
.