amitools icon indicating copy to clipboard operation
amitools copied to clipboard

Error in romsplitter.py

Open awe74 opened this issue 2 years ago • 1 comments

I have an error when try to split Kiskstart v47.96 A1200:

awe74@ubuntu:~/Projects/CustomROM$ romtool split kicka1200.rom -o . Header 11144ef9 512 Traceback (most recent call last): File "/usr/local/bin/romtool", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/amitools/tools/romtool.py", line 730, in main return args.cmd(args) File "/usr/local/lib/python3.8/dist-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.8/dist-packages/amitools/rom/romsplitter.py", line 131, in extract_bin_img r = Reloc(o) TypeError: init() missing 1 required positional argument: 'type'

awe74 avatar Feb 11 '22 09:02 awe74

You need to update to the latest git version of amitools until there's a new release..

On Fri, Feb 11, 2022, 1:53 AM awe74 @.***> wrote:

I have an error when try to split Kiskstart v47.96 A1200:

@.***:~/Projects/CustomROM$ romtool split kicka1200.rom -o . Header 11144ef9 512 Traceback (most recent call last): File "/usr/local/bin/romtool", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/amitools/tools/romtool.py", line 730, in main return args.cmd(args) File "/usr/local/lib/python3.8/dist-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.8/dist-packages/amitools/rom/romsplitter.py", line 131, in extract_bin_img r = Reloc(o) TypeError: init() missing 1 required positional argument: 'type'

— Reply to this email directly, view it on GitHub https://github.com/cnvogelg/amitools/issues/169, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOAHGUD27X34ANUJD3MS7TU2TMBHANCNFSM5ODW2F4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

reinauer avatar Feb 12 '22 17:02 reinauer

v0.7.0 (b0330e5) and should fix the issue

cnvogelg avatar Jan 18 '23 10:01 cnvogelg