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

Attribute error in TES #92

Open
micoleaoo opened this issue Feb 4, 2025 · 1 comment
Open

Attribute error in TES #92

micoleaoo opened this issue Feb 4, 2025 · 1 comment

Comments

@micoleaoo
Copy link

Galaxy job failed in the TESJobRunner due to AttributeError: 'HierarchicalObjectStore' object has no attribute 'file_path'

File "/srv/galaxy/server/lib/galaxy/jobs/runners/__init__.py", line 177, in run_next
     method(arg)

File "/srv/galaxy/server/lib/galaxy/jobs/runners/tes.py", line 371, in queue_job
    job_script = self.build_script(job_wrapper, client_args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/galaxy/server/lib/galaxy/jobs/runners/tes.py", line 299, in build_script
    object_store_path = job_wrapper.object_store.file_path
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The code was functional on local installation of Galaxy

Temporary fix:
BorisYourich/galaxy
*copy and open link in new window

@martenson
Copy link
Member

martenson commented Feb 4, 2025

Am I correct in assuming you only tested this with the default object store configuration before? In which case this is likely relevant: https://github.com/galaxyproject/galaxy/blob/2244b9972c6464ca96dfb9cfaef956e4bb9b5a63/lib/galaxy/config/sample/object_store_conf.sample.yml#L30-L31

As I read this you were relying on file_path, but that does not exist on object stores. It worked for you likely because incidentally the default object store uses that value to bootstrap the config.

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

2 participants