Closed datafux closed 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
Thanks for the bug report! Should be fixed in 0d87e95. Please give it a try...
Thanks for this fast fix. Works perfect now.
romtool split kick33180.a500 -o .
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'
Header 11114ef9 256 Traceback (most recent call last): File "/usr/local/bin/romtool", line 8, in
With python3.8 everything work as expected