Error renaming music

Any questions? Need some help?
Post Reply
d.custer91
Posts: 15
Joined: 25 Nov 2013, 08:13

Error renaming music

Post 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 (°_°)
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error renaming music

Post by rednoah »

Is fpcalc installed?

Also, read how to make a post before you make a post:
viewtopic.php?f=8&t=1868
:idea: Please read the FAQ and How to Request Help.
d.custer91
Posts: 15
Joined: 25 Nov 2013, 08:13

Re: Error renaming music

Post 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
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error renaming music

Post 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.
:idea: Please read the FAQ and How to Request Help.
d.custer91
Posts: 15
Joined: 25 Nov 2013, 08:13

Re: Error renaming music

Post 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 ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error renaming music

Post 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.

Code: Select all

"Zapp/Zapp\ II/"
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
:idea: Please read the FAQ and How to Request Help.
Post Reply