Skip to content

Instantly share code, notes, and snippets.

@andythenorth
Created January 4, 2025 12:58
Show Gist options
  • Select an option

  • Save andythenorth/02547f4e48759682d2f39451e6c8348a to your computer and use it in GitHub Desktop.

Select an option

Save andythenorth/02547f4e48759682d2f39451e6c8348a to your computer and use it in GitHub Desktop.
Writing output ...Traceback (most recent call last):
File "../../pypy3/bin/nmlc", line 33, in <module>
sys.exit(load_entry_point('nml==0.7.5.post20241215+gbfec1700', 'console_scripts', 'nmlc')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "../../pypy3/lib/pypy3.10/site-packages/nml-0.7.5.post20241215+gbfec1700-py3.10-macosx-10.13-arm64.egg/nml/main.py", line 645, in run
main(sys.argv[1:])
File "../../pypy3/lib/pypy3.10/site-packages/nml-0.7.5.post20241215+gbfec1700-py3.10-macosx-10.13-arm64.egg/nml/main.py", line 350, in main
ret = nml(
File "../../pypy3/lib/pypy3.10/site-packages/nml-0.7.5.post20241215+gbfec1700-py3.10-macosx-10.13-arm64.egg/nml/main.py", line 629, in nml
action.write(outputfile)
File "../../pypy3/lib/pypy3.10/site-packages/nml-0.7.5.post20241215+gbfec1700-py3.10-macosx-10.13-arm64.egg/nml/actions/action2var.py", line 110, in write
file.print_byte(len(self.ranges))
File "../../pypy3/lib/pypy3.10/site-packages/nml-0.7.5.post20241215+gbfec1700-py3.10-macosx-10.13-arm64.egg/nml/output_nfo.py", line 63, in print_byte
value = self.prepare_byte(value)
^^^^^^^^^^^^^^^^^^^^^^^^
File "../../pypy3/lib/pypy3.10/site-packages/nml-0.7.5.post20241215+gbfec1700-py3.10-macosx-10.13-arm64.egg/nml/output_base.py", line 146, in prepare_byte
assert value >= 0 and value <= 0xFF
AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment