OverlappingFileLock
1. If you experienced a crash or other abnormal behavior, please attach the log file 'beaTunes-logs-2020-01-28-113403.zip' by dragging it from your desktop onto the 'Attach File' button below.
Uploaded from Help -> Upload Logs.
2. Please enter your message to us here.
beaTunes fails to read any of my music with the error OverlappingFileLock (no additional details I saw). I have an unusual setup, but it seems to work fine for everything else so far (including, for instance, editing tags via Properties accessed from File Explorer). beaTunes is running on Windows 10, but the music is stored on a Raspberry Pi accessed by mapping a network drive (M:\) using SSHFS (https://github.com/billziss-gh/sshfs-win/releases) and WinFsp (https://github.com/billziss-gh/winfsp/releases).
* beaTunes: 5.2.5
* JVM: OpenJDK 64-Bit Server VM
* Version: 11.0.4-BellSoft+10
* Vendor: BellSoft
* OS: Windows 10 10.0, amd64
* Library: FileSystem
* Memory: 92m - null
* Registered as:
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by hendrik on 29 Jan, 2020 03:46 PM
Hi Ben,
Interesting setup! :-) Do you use the Pi just as a file server or is there more to it (just being nosy, feel free to ignore)?
Sounds like locking is handled slightly differently with SSHFS and WinFsp. Can you please stop beaTunes and install the current dev snapshot from https://www.beatunes.com/download/beaTunes-5-2-6-SNAPSHOT-x64.exe Does it solve the issue?
-hendrik
2 Posted by Ben on 29 Jan, 2020 09:59 PM
Whatever is different about the snapshot fixes the problem -- thanks! Purchased.
The Pi is serving my music with a little custom cloud player I'm slowly writing (https://github.com/BenjaminPelletier/streamtagger). Mapping a network drive in this way lets me manage file content from my Windows 10 machine (where I keep a superset of music and where I mostly do development).
There is one additional problem I noticed: I would queue a bunch of songs for analysis, the analysis would finish, but then some of those files wouldn't show the results of the analysis in the library. I'd select those files, try analysis again, and some of their results still wouldn't show up in the library. Everything eventually succeeded after about 5 tries (logs uploaded). Not really a concern for me now because everything's analyzed.
Support Staff 3 Posted by hendrik on 30 Jan, 2020 11:37 AM
Are the analysis results really written to the files? From the logs it seems to me that they are not. Do values perhaps disappear again, after synchronization?
Support Staff 4 Posted by hendrik on 30 Jan, 2020 12:05 PM
For some reason, simply opening a file from your special setup creates a file lock (IMHO, it shouldn't). beaTunes then tries to lock the file itself, which leads to the
OverlappingFileLockException
, because the file is already locked by beaTunes' process, even though beaTunes never requested this.Are you in touch with the SSHFS-WIN/WinFsp author? Perhaps s/he has some insight into what is happening here and why opened files are automatically locked.
If we cannot get this to run properly, I'm happy to send you a refund.
Support Staff 5 Posted by hendrik on 02 Feb, 2020 04:24 PM
Hey Ben,
any news on this? just wondering...
Cheers,
-hendrik
Support Staff 6 Posted by hendrik on 10 Feb, 2020 09:26 AM
Hey Ben,
just wanted to check in with you one more time, before I close this issue. Have you been able to obtain more info on this? Or does it work for you now?
Thanks,
-hendrik
7 Posted by Ben on 11 Feb, 2020 06:20 AM
Thanks for your attention to this and sorry for the delay in following up. I still haven't had a chance to inspect the MP3 tags in depth, but the Windows File Explorer indicates that the standard BPM field isn't set, so I assume your interpretation is correct. I'm not in contact with either of the tools' authors unfortunately so that's probably not an accessible avenue at the moment. No need for a refund (I think it's worth $35 to see how your algorithms tag my music), but if you are taking feature requests, something that dumps a CSV or something similar of my library including the file path and beaTunes' special tags (especially BPM, key, color, and mood) would be super appreciated :)
Support Staff 8 Posted by hendrik on 14 Feb, 2020 12:24 PM
I believe both tools are on GitHub, which means you could easily raise an issue to get in touch.
Have you tried right-clicking on a playlist and exporting the playlist as CSV?