Closed DaHaiHuha closed 5 years ago
i = self.firmware[self.offset:].find(magic_str)
TypeError: argument should be integer or bytes-like object, not 'str'
This occurs unexpectedly and I didn't change anything from the original code, anybody could help?
On Mon, 15 Apr 2019, ChengDahai wrote:
i = self.firmware[self.offset:].find(magic_str) TypeError: argument should be integer or bytes-like object, not 'str'
This occurs unexpectedly and I didn't change anything from the original code, anybody could help?
Steps to reproduce? Which python is being used on your system?
Steps to reproduce? Which python is being used on your system?
I configured python2.7/3.5/3.6 to build the code but still I met the same error. When I use python3.7 to build, another error as described in issue #10333
@DaHaiHuha Thanks for the report. Should be fixed in the master branch now.
Bug report
Issue details
When build rover in macos mojave with python2.7, the build failed in 493/495 with TypeError:
Version master- 49b0a00
Platform [ ] All [ ] AntennaTracker [ ] Copter [ ] Plane [ * ] Rover [ ] Submarine
Logs
The configuration information is as below: