-
Notifications
You must be signed in to change notification settings - Fork 192
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
🐛 OperationalError
during archive creation
#6545
Comments
The issue is that we are probably generating a query that is very long, with something like 'id = 1 OR id = 2 OR id = 3 OR ....', with more than the max allowed paramerers. The output is truncated there? No closed square bracket? Not very helpful from the pat of SQLA :-) So we better understand if this is the problem, and can further debug. |
Thanks @giovannipizzi! In the end I did the export in two batches indeed. I should also note that I cut off the query, since the next line was a very long one, here is the
|
Ok. We need to rewrite those queries, most probably. Would be good to find which query this is, exactly - probably the one in your original stack trace. One would need to do a join, rather than an explicit list of pks, but one needs to look into the specifics... |
When trying to create an archive:
I'm running into the following error
Full Output + Traceback
System: macOS Ventura 13.4 (22F2063)
aiida-core
version:main
branch, installed locally.Python version: 3.10.13
The text was updated successfully, but these errors were encountered: