- Traceback (most recent call last):
- File "../nmlc", line 6, in <module>
- main.run()
- File "/home/alberth/devzone/nml/hg_trunk/nml/main.py", line 425, in run
- main(sys.argv[1:])
- File "/home/alberth/devzone/nml/hg_trunk/nml/main.py", line 170, in main
- ret = nml(input, input_filename, opts.debug, outputs, opts.start_sprite_num, opts.compress, opts.crop, not opts.no_cache, opts.forced_palette, opts.md5_filename)
- File "/home/alberth/devzone/nml/hg_trunk/nml/main.py", line 248, in nml
- tmp_actions = result.get_action_list()
- File "/home/alberth/devzone/nml/hg_trunk/nml/ast/base_statement.py", line 154, in get_action_list
- action_list.extend(stmt.get_action_list())
- File "/home/alberth/devzone/nml/hg_trunk/nml/ast/spriteblock.py", line 233, in get_action_list
- action_list.extend(action2layout.get_layout_action2s(self, feature, self.pos))
- File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2layout.py", line 416, in get_layout_action2s
- sprite.set_param(name, value)
- File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2layout.py", line 256, in set_param
- self.params[name]['value'] = self.params[name]['validator'](name, value)
- File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2layout.py", line 297, in _validate_sprite
- self.create_register(name, value)
- File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2layout.py", line 243, in create_register
- load_tmp = action2var.VarAction2LoadTempVar(store_tmp)
- File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2var.py", line 216, in __init__
- VarAction2Var.__init__(self, 0x7D, 0, 0)
- File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2var.py", line 136, in __init__
- self.var_num = var_num
- File "/home/alberth/devzone/nml/hg_trunk/nml/expression/base_expression.py", line 59, in __setattr__
- raise AttributeError("Not allowed to set \"{}\"".format(name))
- AttributeError: Not allowed to set "var_num"