cnvogelg / amitools

Various tools for using AmigaOS programs on other platforms
258 stars 72 forks source link

romtools split python3.9 broken #155

Closed datafux closed 3 years ago

datafux commented 3 years ago

romtool split kick33180.a500 -o .
Header 11114ef9 256 Traceback (most recent call last): File "/usr/local/bin/romtool", line 8, in sys.exit(main()) File "/usr/local/lib/python3.9/site-packages/amitools/tools/romtool.py", line 730, in main return args.cmd(args) File "/usr/local/lib/python3.9/site-packages/amitools/tools/romtool.py", line 79, in do_split_cmd bin_img = rs.extract_bin_img(e, args.fixes, args.patches) File "/usr/local/lib/python3.9/site-packages/amitools/rom/romsplitter.py", line 131, in extract_bin_img r = Reloc(o) TypeError: init() missing 1 required positional argument: 'type'

With python3.8 everything work as expected

cnvogelg commented 3 years ago

Thanks for the bug report! Should be fixed in 0d87e95. Please give it a try...

datafux commented 3 years ago

Thanks for this fast fix. Works perfect now.