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

Not possible to have a Path object in the argslist for LocalDriver #9217

Open
10 tasks
oyvindeide opened this issue Nov 14, 2024 · 0 comments
Open
10 tasks

Not possible to have a Path object in the argslist for LocalDriver #9217

oyvindeide opened this issue Nov 14, 2024 · 0 comments
Labels

Comments

@oyvindeide
Copy link
Collaborator

What happened? (You can include a screenshot if it helps explain)

Tried submitting a job which had an Path-object in the arguments list, but failed with:

TypeError: sequence item 1: expected str instance, PosixPath found
in:

f"Submitting realization {iens} as command '{executable} {' '.join(args)}'"

If we skip the logging the underlying functionality does the right thing with the Path-object and the job is called as expected.

What did you expect to happen?

No response

steps to reproduce

Environment where bug has been observed

  • python 3.10
  • python 3.11
  • python 3.12
  • macosx
  • rhel7
  • rhel8
  • local queue
  • lsf queue
  • slurm queue
  • openPBS queue
@oyvindeide oyvindeide added the bug label Nov 14, 2024
@sondreso sondreso moved this to Todo in SCOUT Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant