Exception when creating Patch for 1.5.0 Version

cloudwalker78
Posts: 1
Joined: Sun Jun 23, 2019 1:43 pm

Exception when creating Patch for 1.5.0 Version

Postby cloudwalker78 Sun Jun 23, 2019 1:49 pm

Hi
Im getting following error on white browser screen when clicking on Patch with Version 1.5.0 with Max Speed Patch enabled:

Code: Select all

Exception occured: Traceback (most recent call last): File "/root/9botcfw/venv/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/root/9botcfw/venv/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/root/9botcfw/web/app.py", line 67, in patch_firmware patcher.max_speed(max_speed) File "/root/9botcfw/patcher.py", line 156, in max_speed ofs = FindPattern(self.data, sig) + 4 File "/root/9botcfw/patcher.py", line 61, in FindPattern while signature[matches] is None or signature[matches] == (data[i + matches] & (mask[matches] if mask else 0xFF)): IndexError: bytearray index out of range
Can this be fixed?

KR
Cloud
AbsolutoCaos
Posts: 7
Joined: Sat Jun 29, 2019 1:27 pm

Re: Exception when creating Patch for 1.5.0 Version

Postby AbsolutoCaos Sat Jun 29, 2019 2:03 pm

Hi
Im getting following error on white browser screen when clicking on Patch with Version 1.5.0 with Max Speed Patch enabled:

Code: Select all

Exception occured: Traceback (most recent call last): File "/root/9botcfw/venv/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/root/9botcfw/venv/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/root/9botcfw/web/app.py", line 67, in patch_firmware patcher.max_speed(max_speed) File "/root/9botcfw/patcher.py", line 156, in max_speed ofs = FindPattern(self.data, sig) + 4 File "/root/9botcfw/patcher.py", line 61, in FindPattern while signature[matches] is None or signature[matches] == (data[i + matches] & (mask[matches] if mask else 0xFF)): IndexError: bytearray index out of range
Can this be fixed?

KR
Cloud
Wile the cfw script for the 150 version is being revised, don't use the speed mod field.
It may take time as segway must have changed the address in 150 related to speed and the CFW script can't touch it thus giving the error you presented, until our heroes who wrote this script get the problem fixed!

Return to “Ninebot ES and E-series”

Who is online

Users browsing this forum: No registered users and 40 guests