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

Creating metadata archive crashes if same file referenced more than once #33

Closed
brunchboy opened this issue Jun 18, 2024 · 0 comments
Closed
Assignees

Comments

@brunchboy
Copy link
Member

Describe the bug
TomRex on Zulip discovered that he could not import his large SSD because it kept crashing on a particular track:

2024-Jun-17 20:30:55.054 MacBook-Pro-2.fritz.box ERROR [beat-link-trigger.track-loader:2672] - Problem Creating Metadata Archive
                                     java.lang.Thread.run                        
       java.util.concurrent.ThreadPoolExecutor$Worker.run                        
        java.util.concurrent.ThreadPoolExecutor.runWorker                        
                      java.util.concurrent.FutureTask.run                        
                                                      ...                        
                      clojure.core/binding-conveyor-fn/fn          core.clj: 2047
beat-link-trigger.track-loader/create-metadata-archive/fn  track_loader.clj: 2670
     org.deepsymmetry.cratedigger.Archivist.createArchive    Archivist.java:  113
                                 java.nio.file.Files.copy                        
         java.nio.file.CopyMoveHelper.copyToForeignTarget                        
java.nio.file.FileAlreadyExistsException: /PIONEER/USBANLZ/P061/0001A42B/ANLZ0000.DAT
    file: "/PIONEER/USBANLZ/P061/0001A42B/ANLZ0000.DAT"

It looks like sometimes track entries share the same analysis file somehow, so we need to cope with this.

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

No branches or pull requests

1 participant