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 issue in Ubuntu 16.04 #34

Closed
jkanczler opened this issue Aug 1, 2017 · 5 comments
Closed

FileBot not found issue in Ubuntu 16.04 #34

jkanczler opened this issue Aug 1, 2017 · 5 comments

Comments

@jkanczler
Copy link

When deploying FileBot from Ubuntu's software center then FileBot is installed into to /snap/bin folder. Therefore the plugin is incorrectly trying to start it from /usr/bin folder.

Workaround:
Create a symlink between /usr/bin/flexget and /snap/bin/flexget.

@rednoah
Copy link

rednoah commented Aug 1, 2017

Either way, filebot will be in the $PATH so FileBot should be called by calling filebot.

@Laharah
Copy link
Owner

Laharah commented Aug 1, 2017

were you getting a "filebot not found" warning when you tried to rename a torrent? It should have been where the filebot version information is up at the top. The program should have defaulted to using just filebot and relying on the path if it doesn't find it in the expected locations.

When the plugin starts it makes a filebot.exe -version call. Since filebot wasn't in /usr/bin or /usr/local/bin it should have defaulted to just filebot -version and let the path variable find the executable. If it wasn't finding filebot at all and you were getting the filebot not found error, either the user deluge was running on didn't have /snap/bin/filebot in it's path, something was wrong with permissions, or the path cache was stale.

Either way I'll add /snap/bin/filebot (I'm assuming that's what you meant to say) to the locations where the plugin searches for a filebot executable.

@jkanczler
Copy link
Author

Yeah. I meant that. I'm talking about Linux, Ubuntu version 16.04. I installed filebot from Ubuntu software:
image

The executable is installed at:
image

Laharah added a commit that referenced this issue Aug 2, 2017
- ubuntu doesen't like `snap` apps to share tmp files, workarounds are
  now limited to just windows os'
@Laharah
Copy link
Owner

Laharah commented Aug 2, 2017

I've added /snap/bin/filebot to the list of locations the plugin explicitly checks for filebot. Hopefully that will help people out who have stale path caches.

@jkanczler
Copy link
Author

Just to verify that it works in 1.1.10:

  1. I deleted the symlink from the /usr/bin folder and the FileBot tool 1.1.9 started to complain about FileBot is not found.
  2. I've installed 1.10, FileBot tool could find FileBot at /snap/bin location. Thanks for the fix.

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

3 participants