Loading

Paste #pdwfandto

  1. Traceback (most recent call last):
  2.   File "../nmlc", line 6, in <module>
  3.     main.run()
  4.   File "/home/alberth/devzone/nml/hg_trunk/nml/main.py", line 425, in run
  5.     main(sys.argv[1:])
  6.   File "/home/alberth/devzone/nml/hg_trunk/nml/main.py", line 170, in main
  7.     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)
  8.   File "/home/alberth/devzone/nml/hg_trunk/nml/main.py", line 248, in nml
  9.     tmp_actions = result.get_action_list()
  10.   File "/home/alberth/devzone/nml/hg_trunk/nml/ast/base_statement.py", line 154, in get_action_list
  11.     action_list.extend(stmt.get_action_list())
  12.   File "/home/alberth/devzone/nml/hg_trunk/nml/ast/spriteblock.py", line 233, in get_action_list
  13.     action_list.extend(action2layout.get_layout_action2s(self, feature, self.pos))
  14.   File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2layout.py", line 416, in get_layout_action2s
  15.     sprite.set_param(name, value)
  16.   File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2layout.py", line 256, in set_param
  17.     self.params[name]['value'] = self.params[name]['validator'](name, value)
  18.   File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2layout.py", line 297, in _validate_sprite
  19.     self.create_register(name, value)
  20.   File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2layout.py", line 243, in create_register
  21.     load_tmp = action2var.VarAction2LoadTempVar(store_tmp)
  22.   File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2var.py", line 216, in __init__
  23.     VarAction2Var.__init__(self, 0x7D, 0, 0)
  24.   File "/home/alberth/devzone/nml/hg_trunk/nml/actions/action2var.py", line 136, in __init__
  25.     self.var_num = var_num
  26.   File "/home/alberth/devzone/nml/hg_trunk/nml/expression/base_expression.py", line 59, in __setattr__
  27.     raise AttributeError("Not allowed to set \"{}\"".format(name))
  28. AttributeError: Not allowed to set "var_num"

Comments