python-bitcoin-blockchain-parser icon indicating copy to clipboard operation
python-bitcoin-blockchain-parser copied to clipboard

running ./tests.sh results in KeyError: 'BREAK_LOOP'

Open schumannd opened this issue 5 years ago • 3 comments

This seems to happen within the coverage module on import.

Also the npm i step is missing from the readme.

schumannd avatar Jan 06 '21 10:01 schumannd

Hum, never seen this before.

I've updated the README and added a developing section. Does it still occur if you follow it?

alecalve avatar Jan 06 '21 11:01 alecalve

Nope didn't change anything:


Traceback (most recent call last):
  File "/Users/user1/.virtualenvs/test/bin/coverage", line 5, in <module>
    from coverage.cmdline import main
  File "/Users/user1/.virtualenvs/test/lib/python3.8/site-packages/coverage/__init__.py", line 13, in <module>
    from coverage.control import Coverage, process_startup
  File "/Users/user1/.virtualenvs/test/lib/python3.8/site-packages/coverage/control.py", line 30, in <module>
    from coverage.python import PythonFileReporter
  File "/Users/user1/.virtualenvs/test/lib/python3.8/site-packages/coverage/python.py", line 11, in <module>
    from coverage.parser import PythonParser
  File "/Users/user1/.virtualenvs/test/lib/python3.8/site-packages/coverage/parser.py", line 320, in <module>
    OP_BREAK_LOOP = _opcode('BREAK_LOOP')
  File "/Users/user1/.virtualenvs/test/lib/python3.8/site-packages/coverage/parser.py", line 278, in _opcode
    return dis.opmap[name]
KeyError: 'BREAK_LOOP'

schumannd avatar Jan 06 '21 15:01 schumannd

Getting the same error.

sjorsvanheuveln avatar Apr 17 '21 16:04 sjorsvanheuveln