Code:
Reading KP map-pack: E:\Audi A4 1.8T Quattro\Audi_A4_MAPPAK_360654.kp …
182 records (85 scalars, 51 curves, 46 maps)
1 categories
Generating XDF …
Traceback (most recent call last):
File "ols_to_xdf_gui.py", line 1570, in _worker
xdf_str, written, skipped = mod.generate_xdf(
~~~~~~~~~~~~~~~~^
records, cat_map, title=cfg['title'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<8 lines>...
ols_meta=_meta,
^^^^^^^^^^^^^^^
tool_name=f'OLS to XDF v{VERSION}')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Limitless\Downloads\OLS-to-XDF-Converter-Source\ols_to_xdf.py", line 2818, in generate_xdf
xml = _build_table(rec, uid, swap_curve=swap_curve, swap_xy=swap_xy,
table_type=table_type,
helper_uid=None, y_helper_uid=None)
File "C:\Users\Limitless\Downloads\OLS-to-XDF-Converter-Source\ols_to_xdf.py", line 2645, in _build_table
_axis('x', x_addr, x_bits, x_count, x_units, x_factor, x_offset,
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
col_count=x_count, decpl=x_decpl, signed=x_signed, lsb_first=_x_lsb_first),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Limitless\Downloads\OLS-to-XDF-Converter-Source\ols_to_xdf.py", line 1843, in _axis
label_lines = '\n'.join(
f' <LABEL index="{i}" value="{label_val_fmt.format(float(i))}" />'
for i in range(count)
)
File "C:\Users\Limitless\Downloads\OLS-to-XDF-Converter-Source\ols_to_xdf.py", line 1844, in <genexpr>
f' <LABEL index="{i}" value="{label_val_fmt.format(float(i))}" />'
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
MemoryError
182 records (85 scalars, 51 curves, 46 maps)
1 categories
Generating XDF …
Traceback (most recent call last):
File "ols_to_xdf_gui.py", line 1570, in _worker
xdf_str, written, skipped = mod.generate_xdf(
~~~~~~~~~~~~~~~~^
records, cat_map, title=cfg['title'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<8 lines>...
ols_meta=_meta,
^^^^^^^^^^^^^^^
tool_name=f'OLS to XDF v{VERSION}')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Limitless\Downloads\OLS-to-XDF-Converter-Source\ols_to_xdf.py", line 2818, in generate_xdf
xml = _build_table(rec, uid, swap_curve=swap_curve, swap_xy=swap_xy,
table_type=table_type,
helper_uid=None, y_helper_uid=None)
File "C:\Users\Limitless\Downloads\OLS-to-XDF-Converter-Source\ols_to_xdf.py", line 2645, in _build_table
_axis('x', x_addr, x_bits, x_count, x_units, x_factor, x_offset,
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
col_count=x_count, decpl=x_decpl, signed=x_signed, lsb_first=_x_lsb_first),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Limitless\Downloads\OLS-to-XDF-Converter-Source\ols_to_xdf.py", line 1843, in _axis
label_lines = '\n'.join(
f' <LABEL index="{i}" value="{label_val_fmt.format(float(i))}" />'
for i in range(count)
)
File "C:\Users\Limitless\Downloads\OLS-to-XDF-Converter-Source\ols_to_xdf.py", line 1844, in <genexpr>
f' <LABEL index="{i}" value="{label_val_fmt.format(float(i))}" />'
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
MemoryError
I`ll attach my KP file here so if you can make it to XDF and investigate the problem. i have also tray to select manual just a couple maps to generate a smaller size of KP. Generator worked but all maps in XDF are wrong defined with any corect value