Ryan Warner
2 weeks ago

Hi: I’m stuck on Chapter 22 of the Ultimate Blockchain Course “Multichain Explorer”. Everything goes fine until I put in this command: python -m Mce.abe –config chain1.conf –commit-bytes 100000 –no-serve Instead of it populating all the blocks, it gives me this error: ubuntu@ip-172-31-16-61:~/multichain-explorer$ python -m Mce.abe –config chain1.conf –commit-bytes 100000 –no-serve Traceback (most recent call last): File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main “__main__”, fname, loader, pkg_name) File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code exec code in run_globals File “/home/ubuntu/multichain-explorer/Mce/abe.py”, line 4306, in sys.exit(main(sys.argv[1:])) File “/home/ubuntu/multichain-explorer/Mce/abe.py”, line 4300, in main store = make_store(args) File “/home/ubuntu/multichain-explorer/Mce/abe.py”, line 193, in make_store store = DataStore.new(args) File “Mce/DataStore.py”, line 4348, in new return DataStore(args) File “Mce/DataStore.py”, line 237, in __init__ store.commit() File “Mce/DataStore.py”, line 255, in commit store._sql.commit() File “Mce/SqlAbstraction.py”, line 515, in commit sql.conn().commit() sqlite3.OperationalError: database is locked

2 weeks ago
0
0

The first time I went through Chapter 22, everything seemed to have worked from the command line but the Multichain explorer webpage never loaded for me. Then I went back, figured out how to delete chain1, went back to chapter 14 and created chain1 again, set up node 2, exchanged assets, and set up mining on node 2, and basically got all the way back to Chapter 22 when I ran into the “sqlite3.OperationalError: database is locked” error.

Comments

There are no comments yet