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

Backup file mechanism not working with relative paths #979

Closed
klayoutmatthias opened this issue Jan 17, 2022 · 0 comments
Closed

Backup file mechanism not working with relative paths #979

klayoutmatthias opened this issue Jan 17, 2022 · 0 comments
Assignees
Milestone

Comments

@klayoutmatthias
Copy link
Collaborator

This is not a common use case, still it's important: When KLayout writes a file, it will first rename any existing file, then write the file and only after this was successful, it will remove the original file. This prevents data loss on network problems for example.

This scheme does not work well with relative paths such as "x/y" (x is a directory). You will see warnings like these:

    Could not create backup file: unable to rename original file 'x/y' to backup file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant