Closed jooks1 closed 1 year ago
I have to admit, this is a weird one. It seems that the error is being introduced on the server side when it's trying to find the "OS" path for the files listed in the torrent data. From what I can see looking over the code, FileBot only works with what Deluge gives it; it never checks the OS directly. In turn, it looks like deluge goes based on what libtorrent gives it.
Here are my few hypotheses:
For now try and make sure that neither deluge or any other plugins (like label plugins) are set to move your completed downloads anywhere. In deluge the setting is in Settings>Downloads>Move completed to
. On that same page, make sure that you're using Full allocation and not compact allocation. With MergerFS there could be weird behavior where it makes a file jump between drives as it increases in size.
If the problem keeps persisting, let me know and I can try to make a special debug version with extra checks and logging to try and nail the problem down.
Thank you for the quick response! This tool has been an incredible utility and has been extremely useful forever, even with the need to manually re-run things, so I really appreciate it!
As an example, to hopefully be as clear as possible: /mnt/store01 and /mnt/store02 are merged to /mnt/storage. incomplete and downloads are directories in /mnt/storage (and therefore the other two mounts). everything is currently, by way of mergerfs going to store02. So, it downloads into incomplete on store02, filebot will be copying it to downloads on store02.
It is already not set to not move completed, nor are any of the RSS feeds moving completed to anywhere. I have now turned on 'pre-allocate disk space', so we'll see.
It usually breaks sometime overnight for sure, so I should hopefully know in the morning, and will make sure to grab logs where it doesn't pass the filenames. I'll let you know!
Thanks again!
Looks like those changes did not work.
I ran a manual rename this morning after it did not do it last night and got the missing file error again. The torrent would have completed hours ago, so there should be no mistaking where the files reside, etc., or so I'd think.
Something odd, and possibly unrelated, at around 07:44:20 in the log, which is after opening the dialog but before clicking 'dry run', it's looking for, and unable to find something for a completely unrelated thing, that has already been dealt with and moved months ago.
Anyway, here is my log: debug log output.txt
@Laharah, It's been a while with no activity here, so I decided to do some testing myself.
I temporarily consolidated all of my downloads/incomplete onto single ext4 drives and let it run for a day and can now confirm that it is likely not the mergerFS mounting, as I'm still getting the following error:
FILEBOT OUTPUT DUMP:
No input arguments
Rename episodes using [TheTVDB] with [Airdate]
No media files: []
Failure (×_×)⌒☆
stderr:
Here's the filebot tool debug output showing that it recognizes /downloads and /incomplete as ext4: filebot debug info 5-20.txt
I will be putting my mergerFS setup back in place as I can confirm that this is still an issue without it.
I can confirm the same thing is happening to me after upgrading to deluge 2 with new filebottool release.
@rjsachse what setup are you using? Are you using a docker container as well?
Not in docker container. Installed on rpi os running osmc as server and Windows thin client. Use to work before rpi upgraded to deluge 2.0. Same error no media files found. I have to use filebot on Windows to rename torrents.
any updates on this, seems to work with torrents with multiple folders, eg like how tv season are done eg folder season 1 then individual folders of the episodes. but don't work with individual episodes for single movies
Sorry, no real update on this. Until I can replicate the error or get more information about what could be causing it, there's not much I can do.
Is there a way I can try a torrent that works for you? only have issues with torrent that don't have sub-folders. torrents that have sub-folders like season works ok.
just updated filebot to latest and all seems to work now. sorry and thank you for your time
EDIT: spoke too soon issue is still there
you can close this as it was a issue with OSMC Locales settings
you can close this as it was a issue with OSMC Locales settings
thanks for the update, always glad to hear the cause of weird bugs!
I am definitely still having this issue. Just today I had this error, once again:
FilebotRuntimeError error on torrent 8bf9002d0b56110993175b82e50128ea39e92b89:
FILEBOT OUTPUT DUMP:
No input arguments
No input files
Failure (×_×)⌒☆
stderr:
@rjsachse A bit more information on what was done to fix it using OSMC Locales settings may be helpful, though I am not running OSMC.
I would argue that this issue may need to be reopened. I can open a new issue for it if need-be.
I am also willing to help debug if there is any way to do so.
EDIT: I may have just figured out the locales stuff, as adding en_US.UTF-8 to the locales of my container (was en_GB only) made it work for the torrent that was threw the above error, without a restart in between, which used to be required to get it to budge.
Filebot used to complain about not having the en_US locale on install, so it was a part of my container update routine to add that locale, until filebot stopped complaining about it, so I stopped installing the locale. This could explain why it just suddenly seemed to stop working.
I will keep an eye on this and update again if the issue persists for me, but fingers crossed this was the trick!
@Laharah, I've confirmed by grabbing a large stack of downloads and getting them one-by-one over the course of a couple of hours, that this is still not working consistently for me. Getting the same error that no files exist, and when looking at the ps for the call to filebot, there is no input file passed in.
nobody 2752 0.0 0.0 7484 3668 ? S 12:26 0:00 bash /usr/sbin/filebot -rename --format {n}/{episode.special ? 'Specials' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}{ '.' + lang.ISO2 } { fn.match(/[._-][0-9]$/) } --db TheTVDB --output /mnt/storage/downloads/TV --action test -r --order airdate --conflict index -non-strict
nobody 2755 199 0.2 11906716 95880 ? Sl 12:26 0:01 /usr/lib/jvm/java-11-openjdk/bin/java -Dapplication.deployment=aur --module-path /usr/share/filebot/openjfx --add-modules ALL-MODULE-PATH -Dapplication.update=skip -Dnet.filebot.archive.extractor=ShellExecutables --illegal-access=permit --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.function=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.nio.file.attribute=ALL-UNNAMED --add-opens=java.base/java.nio.channels=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.time.chrono=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED --add-opens=java.logging/java.util.logging=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED -Djna.boot.library.path=/usr/share/filebot/lib/x86_64:/lib64 -Djna.library.path=/usr/share/filebot/lib/x86_64:/lib64 -Djava.library.path=/usr/share/filebot/lib/x86_64:/lib64 -Dapplication.dir=/home/nobody/.config/filebot -Dapplication.cache=/home/nobody/.config/filebot/cache -Djava.io.tmpdir=/home/nobody/.config/filebot/tmp -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Dprism.order=sw -Dnet.filebot.theme=Darcula -DuseGVFS=true -Dnet.filebot.gio.GVFS=/gvfs -jar /usr/share/filebot/jar/filebot.jar -rename --format {n}/{episode.special ? 'Specials' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}{ '.' + lang.ISO2 } { fn.match(/[._-][0-9]$/) } --db TheTVDB --output /mnt/storage/downloads/TV --action test -r --order airdate --conflict index -non-strict
I run deluge with filebot tool as well as filebot in a single docker container. After running for a while, filebot tool will no longer function, by just not moving files that finish downloading, and throwing a "no files found" error when trying to run it manually. Restarting the container fixes this for a short time, but it always comes back.
This has been extremely difficult to get logs and data for, as it functions differently almost every time, it seems, but I'll try to catalogue what I've got here.
the error thrown by manually running:
I have checked and there are media files. However, looking at the output of ps -auxww | grep -i filebot, I can see that it is not passing the filenames to be updated:
After this, I restarted the container, allowing the file to move and be renamed, but didn't think about grabbing log entries.
While attempting to find information, I found an issue that I've not seen yet, where the auto-run did not work, but manually did. The pertinent log info here: deluge-breakondownload-workonmanual-log.txt
I tried for nearly an hour to get the original error to throw but failed to do so. This has been happening for a couple of months now, so I do not believe that I somehow fixed this by trying to collect debugging data. I will attempt to add the log for that, if I can get it to do it, or if need be.
Docker Container: binhex/arch-delugevpn - modified by installing filebot from AUR within Deluge Version: 2.0.5.0 libtorrent version: 2.0.5.0
Filebot tool debug info: filebottool debug info.txt