Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: local variable 'index' referenced before assignment #307

Open
JPugetGil opened this issue May 5, 2023 · 0 comments
Open

Comments

@JPugetGil
Copy link

JPugetGil commented May 5, 2023

When I use the feature persistence I am getting this error message :

File "/usr/src/app/./quit/run.py", line 20, in <module>
2023-05-05 14:44:25     application = create_app(args)
2023-05-05 14:44:25   File "/usr/src/app/./quit/web/app.py", line 110, in create_app
2023-05-05 14:44:25     register_app(app, arguments)
2023-05-05 14:44:25   File "/usr/src/app/./quit/web/app.py", line 138, in register_app
2023-05-05 14:44:25     quit.syncAll()
2023-05-05 14:44:25   File "/usr/src/app/./quit/core.py", line 173, in syncAll
2023-05-05 14:44:25     self.syncSingle(commit)
2023-05-05 14:44:25   File "/usr/src/app/./quit/core.py", line 177, in syncSingle
2023-05-05 14:44:25     self.changeset(commit)
2023-05-05 14:44:25   File "/usr/src/app/./quit/core.py", line 370, in changeset
2023-05-05 14:44:25     prev_uri = QUIT["graph-{}-{}".format(prev.oid, index)]
2023-05-05 14:44:25 UnboundLocalError: local variable 'index' referenced before assignment

This is the docker command I have executed :
docker run -d -it --name quitstore2 -p 8081:8080 -v $PWD:/data aksw/quitstore uwsgi --http 0.0.0.0:8080 -w quit.run -b 40960 --pyargv "-vv -t /data -f provenance -f persistence"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant