java.nio.file.FileSystemException: /path/to/bandcamp/downloads Value too large for defined data type
Ezwen- love this tool! have been running the v2020-12-15 flawlessly once a week with the same command to pull updated stuff from my collection to my home media server. This week I started getting this error for each worker:
Exception in thread "pool-1-thread-4" java.io.UncheckedIOException: java.nio.file.FileSystemException: /mnt/usbraid/share/media/bandcamp2: Value too large for defined data type
at java.base/java.nio.file.Files$2.hasNext(Files.java:3776)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:132)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at bandcampcollectiondownloader.BandcampCollectionDownloader.manageDownloadPage(BandcampCollectionDownloader.kt:211)
at bandcampcollectiondownloader.BandcampCollectionDownloader.access$manageDownloadPage(BandcampCollectionDownloader.kt:15)
at bandcampcollectiondownloader.BandcampCollectionDownloader$downloadAll$task$1.run(BandcampCollectionDownloader.kt:114)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.nio.file.FileSystemException: /mnt/usbraid/share/media/bandcamp2: Value too large for defined data type
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
at java.base/sun.nio.fs.UnixException.asIOException(UnixException.java:120)
at java.base/sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator.readNextEntry(UnixDirectoryStream.java:168)
at java.base/sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator.hasNext(UnixDirectoryStream.java:198)
at java.base/java.nio.file.Files$2.hasNext(Files.java:3774)
... 13 more
I tried some debugging but I'm not sure how to pursue farther. I'm using the release build, and not super familiar with kotlin or gradle so I'm not building from source. I can figure out how though if necessary. To verify it wasn't an issue with the filesystem I tried pointing it to a different folder to "redownload" my whole collection and got that error on the first worker. I also created a separate bandcamp account and added some stuff to it to try a new account to make sure it wasn't an issue with one of the files in my collection. This is happening for any worker I try to spawn from Ubuntu on an odroid xu4
root@odroid:/opt/bandcamp-collection-downloader# java --version
openjdk 14.0.2 2020-07-14
root@odroid:/opt/bandcamp-collection-downloader# uname -a
Linux odroid 5.4.109-220 #1 SMP PREEMPT Fri Apr 2 10:28:49 EDT 2021 armv7l armv7l armv7l GNU/Linux