cnvogelg / amitools

Various tools for using AmigaOS programs on other platforms
250 stars 69 forks source link

Error in romsplitter.py #169

Closed awe74 closed 1 year ago

awe74 commented 2 years ago

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'

reinauer commented 2 years ago

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: @.***>

cnvogelg commented 1 year ago

v0.7.0 (b0330e5) and should fix the issue