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

Filebot not found #32

Open
fexigo opened this issue May 1, 2017 · 24 comments
Open

Filebot not found #32

fexigo opened this issue May 1, 2017 · 24 comments

Comments

@fexigo
Copy link

fexigo commented May 1, 2017

Hi

I got an windows 7 computer with the latest version of Deluge, Java, Filebot and FilebotTool plugin for Deluge. But I still get the message "Filebot not found". Filebot -version is working, and I can start Filebot.

What am I doing wrong??

@Laharah
Copy link
Owner

Laharah commented May 2, 2017

No problem, this usually boils down to one of a few things on windows:

  • Have you tried restarting both deluge and your PC since installing filebot?
  • could you tell me where filebot is installed to? It should be something like C:\Program Files\FileBot\FileBot.exe.
  • what comes up when you type filebot -version in the command line?
  • are the permissions on filebot.exe and deluge.exe/deluged.exe the same?

@rednoah
Copy link

rednoah commented May 2, 2017

It's best to just assume that the filebot command is in the %PATH% because the installation folder may not always be the same for everyone, especially not if deployed via the Windows Store.

@Laharah
Copy link
Owner

Laharah commented May 2, 2017

@rednoah, Yeah my module starts with checking the path, but it dosen't always work, particularly when permissions and strange path modifications for deluge users come in. I'm on the lookout for more places to check.

@fexigo
Copy link
Author

fexigo commented May 2, 2017

Hi.
I have tried to restart and reinstall both Deluge and Filebot.

Filebot is installed at C:\Program Files\FileBot\Filebot.exe

C:\Users\Fexigo>filebot -version
FileBot 4.7.9 (r4984) / Java(TM) SE Runtime Environment 1.8.0_131 / Windows 7 6.
1 (amd64)

Same permission for both programs.

@Laharah
Copy link
Owner

Laharah commented May 2, 2017

okay, just to make sure it's not the permissions, when you start deluge, can you right click it and hit run as administrator? If filebot still doesn't show up it'll have to be something else.

@rednoah
Copy link

rednoah commented May 3, 2017

@Laharah It's kinda tricky on Windows. I'd call commands with cmd.exe /c command ... to make sure it works as expected.

Actually, many users somehow end up with fucked up %PATH% variables (some installers do that) so it does make sense to check known locations as well.

If FileBot is managed by the Windows Store, then the executable will be here:

%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\filebot.exe

@ChonkaLoo
Copy link

I'm having the same issue but on Mac OS. "Filebot version not found". I have Filebot installed and Deluge, and Filebot Tool works too. Any ideas?

@Laharah
Copy link
Owner

Laharah commented May 10, 2017

Sure, can you open up Terminal and tell me the output of these commands?

  • ls -alL $(which filebot)
  • ls -alL /Applications/Deluge.app/Contents/MacOS

And can you also tell me a little about how your deluge is setup (eg. is it running on a server or locally)?

@rednoah
Copy link

rednoah commented May 11, 2017

On Mac OS X, the filebot tool should be linked at /usr/local/bin/filebot.

@fexigo
Copy link
Author

fexigo commented May 13, 2017

Hi.
I tried to start deluge with admin. Still having the same problem.

Also tried to reinstall deluge, filebot multiple times.

@Laharah
Copy link
Owner

Laharah commented May 13, 2017

@fexigo can you tell me a bit more about your setup? Is deluge in client-server mode or in "classic" mode (you can check by going to preferences -> interface)? What version of windows are you on?

@fexigo
Copy link
Author

fexigo commented May 13, 2017

Hi. Im using classic mode and its a windows 7 pro computer.

The strange thing about this is when i right click the torrent and choose Filebot Tool i can see in task manager that two processes of Filebot *32 is started. And if i try to reboot my computer i got a system error that telling me that the application was unable to start correctly (0xc0000000XX).

@Laharah
Copy link
Owner

Laharah commented May 13, 2017

Hmm, okay, it seems like something else is going on. I've posted a release with some extra debug logging here:

https://github.com/Laharah/deluge-FileBotTool/releases/tag/1.1.9

Can you run it with logging on (see instructions here) and send me the logs?

@fexigo
Copy link
Author

fexigo commented May 13, 2017

Wow! That is strange. Now its working. hmmmmmmm

@Laharah
Copy link
Owner

Laharah commented May 13, 2017

That is really weird, I only added some logging. Well, if you run into problems, feel free to post back here! I'm going to keep this open incase @Inglend needs more help.

@fexigo
Copy link
Author

fexigo commented May 13, 2017

I was a little bit fast. When i launch deluge-debug.exe everythings works. But if i lanuch deluge.exe i still got Filebot not found.

@Laharah
Copy link
Owner

Laharah commented May 13, 2017

are deluge-debug.exe and deluge.exe both in the same folder? Are you launching them both the same way from the command line?

@ChonkaLoo
Copy link

@Laharah It's a Mac Mini running locally I think.
screenshot filebot  @tool

@rednoah ok I found the folder up until bin but no filebot in there. How do I link it?

@rednoah
Copy link

rednoah commented May 17, 2017

You can correctly install filebot by running this command:

sh -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/brew.sh)"

@ChonkaLoo
Copy link

Yes now it works! thank you!

@fexigo
Copy link
Author

fexigo commented May 25, 2017

Sorry, i have been away for some time. If i start deluge with just using the icon its not working. If i start deluge debug from cmd line it working. I have also tried to start deluge from cmd line without any success

@Laharah
Copy link
Owner

Laharah commented May 27, 2017

okay this a weird one. Since you can't get debug logs, you'll have to download and install this special debug version I made:

https://github.com/Laharah/deluge-FileBotTool/releases/tag/1.1.9-debug

It will log the filebot error to the filebot version string (where it normally says "Filebot not found" in the rename dialog). Could you copy what it says to me?

@thebrianlenz
Copy link

thebrianlenz commented Jul 20, 2017

Following all the suggestions posted in this issue, I still run into the "File not Found" problem.

Using your debug release, it shows "[Error 5] Access is denied." What I've found is that upon restarting my computer, there are no issues. Everything launches and doesn't indicate any problems. However, if Deluge is closed and reopened, the problem returns.

Additionally, when Deluge is first opened, a Filebot.exe process is started (which I assume is normal). However, when Deluge is closed, the Filebot.exe process is not ended. I anticipate this could be part of the issue, though ending the process doesn't seem to help. If Deluge is reopened multiple times, multiple Filebot.exe processes stack up.

@Laharah
Copy link
Owner

Laharah commented Jul 20, 2017

The filebot launch when starting deluge is just a version check and making sure that filebot.exe can be accessed, it should close almost immediately. With the Access is denied error it seems like there is some kind of permissions problem somewhere. Also the fact that the filebot instances aren't closing is troubling.

Frankly, I don't really know what could be causing these problems. The fact that the debug version of deluge works and the normal one doesn't is mystifying enough. The fact that it only runs once after a reboot is also really weird. What happens if you reboot, run deluge, quit, kill the filebot task that's still running, and then relaunch deluge? Does it still give you access denied?

Can you double check the permissions? Check and reset the permissions for the entire Program Files\Deluge folder, the Program Files\FileBot folder and also do the same for the appdata folders for deluge and filebot (hit windows key + r and type in %Appdata% to get there). Make sure that the user you run deluge with has read/write/execute everywhere in the folders. The user permissions being messed up and a lock somewhere not being released is all I can really think of.

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

5 participants