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

Open tool file contents in rb #372

Merged

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Sep 12, 2024

Fixes
https://sentry.galaxyproject.org/share/issue/7e108c13d6634c20bc885e3ec4a93ce8/:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 10: invalid start byte
  File "pulsar/managers/stateful.py", line 132, in _handling_of_preprocessing_state
    self._proxied_manager.launch(
  File "pulsar/managers/queued_drmaa.py", line 15, in launch
    self._check_execution_with_tool_file(job_id, command_line)
  File "pulsar/managers/base/directory.py", line 133, in _check_execution_with_tool_file
    self._check_execution(job_id, tool_id, command_line)
  File "pulsar/managers/base/__init__.py", line 189, in _check_execution
    contents = open(join(tool_files_dir, file)).read()
  File "<frozen codecs>", line 322, in decode

which is attempting to read PEHistogram.jar

Fixes
https://sentry.galaxyproject.org/share/issue/7e108c13d6634c20bc885e3ec4a93ce8/:

```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 10: invalid start byte
  File "pulsar/managers/stateful.py", line 132, in _handling_of_preprocessing_state
    self._proxied_manager.launch(
  File "pulsar/managers/queued_drmaa.py", line 15, in launch
    self._check_execution_with_tool_file(job_id, command_line)
  File "pulsar/managers/base/directory.py", line 133, in _check_execution_with_tool_file
    self._check_execution(job_id, tool_id, command_line)
  File "pulsar/managers/base/__init__.py", line 189, in _check_execution
    contents = open(join(tool_files_dir, file)).read()
  File "<frozen codecs>", line 322, in decode
```
which is attempting to read PEHistogram.jar
@mvdbeek mvdbeek merged commit 3742d22 into galaxyproject:master Nov 11, 2024
4 of 13 checks passed
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

Successfully merging this pull request may close these issues.

1 participant