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

Wrong path separator on Windows when removing a calculation through the WebUI #8963

Closed
ptormene opened this issue Aug 29, 2023 · 1 comment · Fixed by #8924
Closed

Wrong path separator on Windows when removing a calculation through the WebUI #8963

ptormene opened this issue Aug 29, 2023 · 1 comment · Fixed by #8924
Assignees
Labels
Milestone

Comments

@ptormene
Copy link
Member

The last slash is wrong:
Could not remove C:\Users\devops\oqdata/calc_3.hdf5: [WinError 2] The system cannot find the file specified: 'C:\\Users\\devops\\oqdata/calc_3.hdf5'
The wrong path comes from:
owner, path = db('SELECT user_name, ds_calc_dir FROM job WHERE id=?x', job_id, one=True)

@ptormene ptormene added the bug label Aug 29, 2023
@ptormene ptormene self-assigned this Aug 29, 2023
@micheles
Copy link
Contributor

This is a good digging exercise for you, Paolo ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants