Page 1 of 1
Error renaming music
Posted: 03 Jan 2015, 04:30
by d.custer91
Code: Select all
david@server:~$ filebot -rename "Zapp/Zapp\ II/" --db AcoustID --format "~/{AlbumArtist}/{Album}/{t} - {n}" -non-strict
Rename music using [AcoustID]
IOException: Failed to exec fpcalc: Exit code 2
java.io.IOException: Failed to exec fpcalc: Exit code 2
at net.filebot.web.AcoustIDClient.fpcalc(AcoustIDClient.java:252)
at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:60)
at net.filebot.cli.CmdlineOperations.renameMusic(CmdlineOperations.java:518)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:105)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:75)
at net.filebot.Main.main(Main.java:170)
Failure (°_°)
Re: Error renaming music
Posted: 03 Jan 2015, 16:49
by rednoah
Is
fpcalc installed?
Also, read how to make a post before you make a post:
viewtopic.php?f=8&t=1868
Re: Error renaming music
Posted: 03 Jan 2015, 17:46
by d.custer91
rednoah wrote:Is fpcalc installed?
Code: Select all
david@server:~$ ls -al /usr/bin/fpcalc
-rwxr-xr-x 1 root root 14776 Dec 5 2013 /usr/bin/fpcalc
david@server:~$ ls -al /usr/share/filebot/fpcalc
-rwxr-xr-x 1 root root 2228952 Nov 7 08:17 /usr/share/filebot/fpcalc
david@server:~$ /usr/share/filebot/fpcalc -version
fpcalc version 1.1.0
Re: Error renaming music
Posted: 03 Jan 2015, 18:24
by rednoah
Why did you not read the post I linked for you?
I still don't know what OS, processor architecture, how you "installed" FileBot, etc
Include the output of filebot -script fn:sysinfo
Anyway, it seems like fpcalc can't be found. As long as it's in the PATH it should work. A symlink in /usr/bin should work on any Linux-like OS. You've shown me that /usr/share/filebot/fpcalc works but I'm not convinced that your /usr/bin/fpcalc works. Based on filesize it seems to be an entirely different file.
Re: Error renaming music
Posted: 03 Jan 2015, 18:30
by d.custer91
rednoah wrote:Why did you not read the post I linked for you?
I still don't know what OS, processor architecture, how you "installed" FileBot, etc
Include the output of filebot -script fn:sysinfo
Anyway, it seems like fpcalc can't be found. As long as it's in the PATH it should work. A symlink in /usr/bin should work on any Linux-like OS. You've shown me that /usr/share/filebot/fpcalc works but I'm not convinced that your /usr/bin/fpcalc works. Based on filesize it seems to be an entirely different file.
Code: Select all
david@server:~$ /usr/bin/fpcalc -version
fpcalc version 1.1.0
Sorry, I'm running Ubuntu 14.04.1. I installed filebot with filebot_4.5.3_amd64.deb.
Code: Select all
david@server:~$ filebot -script fn:sysinfo
FileBot 4.5.3 (r2729)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (/usr/share/filebot/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_25 (headless)
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 18 MB Used Memory
OS: Linux (amd64)
uname: Linux server 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Re: Error renaming music
Posted: 03 Jan 2015, 21:03
by rednoah
Looks good. It's working.
Code: Select all
chromaprint-tools: fpcalc version 1.1.0 (/usr/share/filebot/fpcalc)
Must be some other issue then. Maybe the files simply can't be processed.
Looking your command line:
Double quotes + escaping probably passes in the literal backslash... Probably not what you want.
Using quotes + ~ passes the literal ~ character, not your home... Probably not what you want.
Code: Select all
"~/{AlbumArtist}/{Album}/{t} - {n}"
Cmdline and Argument Passing
viewtopic.php?f=4&t=1899