Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andythenorth/96f7c805e0ad11ce56e4d8c86f1eec6c to your computer and use it in GitHub Desktop.
Save andythenorth/96f7c805e0ad11ce56e4d8c86f1eec6c to your computer and use it in GitHub Desktop.
Preprocessing ...Traceback (most recent call last):
File "../../pypy3/bin/nmlc", line 11, in <module>
load_entry_point('nml==0.5.2.post20200603+g9ccffc3', 'console_scripts', 'nmlc')()
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/main.py", line 421, in run
main(sys.argv[1:])
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/main.py", line 170, in main
ret = nml(input, input_filename, opts.debug, outputs, opts.start_sprite_num, opts.compress, opts.crop, opts.forced_palette, opts.md5_filename, opts.rebuild_parser, opts.debug_parser)
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/main.py", line 244, in nml
tmp_actions = result.get_action_list()
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/ast/base_statement.py", line 154, in get_action_list
action_list.extend(stmt.get_action_list())
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/ast/switch.py", line 69, in get_action_list
return action2var.parse_varaction2(self)
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/actions/action2var.py", line 1050, in parse_varaction2
default, default_comment = parse_result(default_result, action_list, act6, offset, varaction2, none_result, switch_block.var_range)
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/actions/action2var.py", line 933, in parse_result
extra_actions, result = create_return_action(value, parent_action.feature, "@return_action_{:d}".format(return_action_id), var_range, parent_action)
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/actions/action2var.py", line 734, in create_return_action
action2.add_ref(proc, parent_action, True)
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/actions/action2.py", line 180, in add_ref
act2 = ref.act2 if ref.act2 is not None else resolve_spritegroup(ref.name).get_action2(source_action.feature)
File "~/Documents/OTTD_graphics/pypy3/site-packages/nml-0.5.2.post20200603+g9ccffc3-py3.6-macosx-10.7-x86_64.egg/nml/actions/action2.py", line 412, in get_action2
assert feature in self._action2
AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment