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

Untwine aborts when not run in single file mode #77

Closed
wonder-sk opened this issue Sep 29, 2021 · 0 comments · Fixed by #78
Closed

Untwine aborts when not run in single file mode #77

wonder-sk opened this issue Sep 29, 2021 · 0 comments · Fixed by #78

Comments

@wonder-sk
Copy link
Contributor

On the current main branch, untwine is broken when not used with the single file option.

Previously if I would run

untwine -i file.las -o /tmp/output

and things would work fine, but now it errors out like this:

terminate called after throwing an instance of 'pdalboost::filesystem::filesystem_error'
  what():  pdalboost::filesystem::create_directory: No such file or directory: "/tmp/output/temp"
Aborted (core dumped)

The error happens since this commit: 4271d14

It looks like untwine first tries to create /tmp/output/temp directory before creating /tmp/output ?

wonder-sk added a commit to wonder-sk/untwine that referenced this issue Sep 29, 2021
)

First create parent output dir before creating temp sub-dir in it
abellgithub pushed a commit that referenced this issue Sep 29, 2021
First create parent output dir before creating temp sub-dir in it
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 a pull request may close this issue.

1 participant