Error on tool execution since upgrading to v19_09

Hi,

I run a private Galaxy instance and a toolshed. I recently upgraded from 19_05 to 19_09 and also moved to python3. Since this upgrade, my tools from the local toolshed disappeared from the ‘Tools’ pane. All tools from my toolshed were contained with a separate target section within the Tools pane, and that section header has disappeared from the user interface too. Within the Galaxy admin interface the tools are still shown as installed. If I uninstall and the install a tool from my local toolshed (and re-enter the target section), then the tools return to the Tools pane. However, when I try to run these tools I get an error:

Instance <ToolShedRepository at 0x7f4b5c113610> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: http://sqlalche.me/e/bhk3)

There are some tickets on the galaxy github repo about this error message, but they have all been resolved through commits that I believe I have pulled in or the posted work around does not resolve the issue.

Any help getting past this error would be appreciated.

thanks,
-Will

1 Like

There is an important section in the 19.09 release notes about tool configuration files: https://docs.galaxyproject.org/en/master/releases/19.09_announce.html#tool-configuration-file-handling-changes

Are your tools from local toolshed perhaps loaded from a separate configuration file? That could be one of the causes I can think of (and you’d need to change Galaxy’s configuration as described in the above linked document)

As of the is not bound to a Session error, we believe we have fixed that, but it took plenty of PRs over time, please make sure you are running the latest commit of the release_19.09 branch.

1 Like

Hi Marten,

Thank you for your reply. I had read the 19.09 release notes prior to upgrading, but didn’t think I needed to modify my configuration. However, with some changes on the tool configuration I was able to fix my problem.

thanks again!
-Will

1 Like