Issues after migrating to snap

Any questions? Need some help?
Post Reply
skinsvpn
Posts: 13
Joined: 26 Sep 2014, 11:46

Issues after migrating to snap

Post by skinsvpn »

With the upgrade to Ubuntu 18 I installed Filebot using

Code: Select all

snap install --devmode filebot
and now can't seem to get it working again.

Here is my version:

Code: Select all

FileBot 4.7.9 (r4986) / OpenJDK Runtime Environment 1.8.0_121 / Linux 4.15.0-20-generic (amd64)
Here is my example call:

Code: Select all

sudo filebot -script fn:amc --output /mnt/snapraid/media/ --log-file amc.log --action move --conflict override -non-strict --db TheMovieDB --def minFileSize=0 "movieFormat=movies/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /\$2, \$1/).ascii()} ({y})/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /\$2, \$1/).ascii()} ({y}) {\"[\"+fn.matchAll(/despecialized|extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(\", \")+\"]\"} {\"[\$vf \$vc \$ac \$af]\"}{\".\"+lang}" /mnt/snapraid/tmp/Black.Panther.2018.1080p.BluRay.x264-SPARKS
And here is the output:

Code: Select all

Locking /root/snap/filebot/9/data/logs/amc.log
Illegal Argument: java.nio.file.NoSuchFileException: /mnt/snapraid/tmp/Black.Panther.2018.1080p.BluRay.x264-SPARKS (/mnt/snapraid/tmp/Black.Panther.2018.1080p.BluRay.x264-SPARKS)
Run script [fn:amc] at [Fri May 04 14:24:31 UTC 2018]
Parameter: minFileSize = 0
Parameter: movieFormat = movies/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/).ascii()} ({y})/{n.replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/).ascii()} ({y}) {"["+fn.matchAll(/despecialized|extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(", ")+"]"} {"[$vf $vc $ac $af]"}{"."+lang}
Argument[0]: File does not exist: /mnt/snapraid/tmp/Black.Panther.2018.1080p.BluRay.x264-SPARKS

Illegal usage: output folder must exist and must be a directory: /mnt/snapraid/media
Failure (°_°)
Input directory listing:

Code: Select all

drwxrwxrwx  5 skinsvpn skinsvpn  12288 May  4 13:20 Black.Panther.2018.1080p.BluRay.x264-SPARKS/
Output directory listing:

Code: Select all

drwxrwxr-x  9 skinsvpn skinsvpn  4096 Jan 17 23:36  media/
I've also ran this just in case:

Code: Select all

sudo snap connect filebot:removable-media
Neither the input file nor the output directory seem to be detected. Am I doing something wrong here?

Edit: I can get everything to work if I move the file to my home dir and set the output to the home dir.
Post Reply