the problem is represented by the spaces present in the file name and in the name of the folder hosting my program.
To work around the problem:
- download Notepad ++ (HERE)
- Unpack the archive
- start notepad ++. exe
- Open (in notepad ++) the "bl_el_rpu_builder.py" file inside the "src" folder of my program
- Scroll down to lines 295 and 296 and edit them (bottom image) by adding to both the string:
Code: Select all
.replace("\"","")
- Save your changes and close Notepad ++
- Start my program normally.
Another user had a similar problem: take a look HERE (end of the post)box4m wrote: ↑Mon Mar 09, 2020 4:36 pmCode: Select all
Exception in thread Thread-1:LYSIS: 91.1% BL_EL_RPU WRITING: 89.9% Traceback (most recent call last): File "D:\bl_el_rpu_builder_v0.0.2\python-3.7.6.amd64\lib\threading.py", line 926, in _bootstrap_inner self.run() File "src\bl_el_rpu_builder.py", line 188, in run self.read() File "src\bl_el_rpu_builder.py", line 174, in read self.get_nal_info(mm,length,global_offset) File "src\bl_el_rpu_builder.py", line 149, in get_nal_info nal_type = self.get_nal_type(mmap_obj[(nal_offset + 3):(nal_offset + 5)]) File "src\bl_el_rpu_builder.py", line 139, in get_nal_type nuh_layer_id = b_stream.read('uint:6') File "D:\bl_el_rpu_builder_v0.0.2\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 3902, in read value, self._pos = self._readtoken(name, self._pos, length) File "D:\bl_el_rpu_builder_v0.0.2\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 2016, in _readtoken "Tried to read {0} bits when only {1} available.".format(int(length), self.length - pos)) bitstring.ReadError: Reading off the end of the data. Tried to read 6 bits when only 1 available. BL ANALYSIS: 89.7% EL ANALYSIS: 91.1% BL_EL_RPU WRITING: 89.9% Exception in thread Thread-2:LYSIS: 91.3% BL_EL_RPU WRITING: 90.1% Traceback (most recent call last): File "D:\bl_el_rpu_builder_v0.0.2\python-3.7.6.amd64\lib\threading.py", line 926, in _bootstrap_inner self.run() File "src\bl_el_rpu_builder.py", line 188, in run self.read() File "src\bl_el_rpu_builder.py", line 174, in read self.get_nal_info(mm,length,global_offset) File "src\bl_el_rpu_builder.py", line 149, in get_nal_info nal_type = self.get_nal_type(mmap_obj[(nal_offset + 3):(nal_offset + 5)]) File "src\bl_el_rpu_builder.py", line 139, in get_nal_type nuh_layer_id = b_stream.read('uint:6') File "D:\bl_el_rpu_builder_v0.0.2\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 3902, in read value, self._pos = self._readtoken(name, self._pos, length) File "D:\bl_el_rpu_builder_v0.0.2\python-3.7.6.amd64\lib\site-packages\bitstring.py", line 2016, in _readtoken "Tried to read {0} bits when only {1} available.".format(int(length), self.length - pos)) bitstring.ReadError: Reading off the end of the data. Tried to read 6 bits when only 1 available. BL ANALYSIS: 89.8% EL ANALYSIS: 91.3% BL_EL_RPU WRITING: 90.1% BL ANALYSIS: 100.0% EL ANALYSIS: 100.0% BL_EL_RPU WRITING: 100.0% ELAPSED TIME: 341.4 seconds Press a button to exit