galaxyproject / galaxy Public
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
[19.09] Fix DetachedInstanceError when tool shed packages are in play #8933
[19.09] Fix DetachedInstanceError when tool shed packages are in play #8933
Conversation
|
Should this target 19.09? |
9aec180
into
galaxyproject:release_19.09
|
Hi, I got the same error message ( Parent instance <ToolShedRepository at 0x7f339f9b9a10> is not bound to a Session; deferred load operation of attribute 'metadata' cannot proceed ), but I am still in Galaxy 19.09. May you help on this ? |
|
@nagoue This issue has been fixed and backported to 19.09 in #9354. If you still get this kind of error, please open a new issue. Sorry for the late reply: I saw your comment by accident. If you have any questions/issues/etc. on Galaxy, please contact us on Gitter https://gitter.im/galaxyproject/dev , or, again, feel free to open an issue. |
|
@ic4f, never too late ! Thanks for your reply. Cheers |
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
This appears to be creating a redundant join. The tool dependency is already eagerly loaded and the subqueryload joins the same tool_shed_repository that is already in the query. This causes a bug under SQLAlchemy 1.4: the deferred option is not applied to repository.metadata. (This reverts galaxyproject#8933)
The fix is to eagerload the child tool_dependency to tool shed repository relation as well.
The text was updated successfully, but these errors were encountered: