AcoustID: Cannot create process error 206

Support for Windows users
Post Reply
yippetyzippety
Posts: 3
Joined: 08 Jun 2015, 02:51

AcoustID: Cannot create process error 206

Post by yippetyzippety »

Hi,

Today I installed Filebot v4.6 on Win7 x64, upgrading from a previous (unknown) version. I used a Filebot to identify and rename a handful of video files using OMdb. There were no problems.

I then tried to apply Filebot to our music collection, for the first time ever. After I load the music folder (E:\share\Music), r-click and select AcoustID there is the error message "IOException: Failed to exec fpcalc: Cannot run program "C:\Program Files\FileBot\fpcalc.exe": CreateProcess error=206, The filename or extension is too long"

Filebot is installed to

Code: Select all

C:\Program Files\Filebot
. I tried copying the folder to

Code: Select all

c:\apps\filebot
--> same result.


Groovy Pad info:

Code: Select all

FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (win32-x86/mediainfo.dll) not found in resource path ([file:/C:/Program%20Files/FileBot/FileBot.jar])
Jun 07, 2015 7:57:30 PM net.filebot.archive.SevenZipLoader requireNativeLibraries
WARNING: Failed to preload library: java.lang.UnsatisfiedLinkError: no mingwm10 in java.library.path
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: C:\Program Files\FileBot\7-Zip-JBinding.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
chromaprint-tools: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.8.0_45
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 8 Core / 247 MB Max Memory / 55 MB Used Memory
OS: Windows 7 (x86)
Which prompted me to look for MediaInfo.dll, finding 4 copies:

Code: Select all

11/07/2014 04:16 PM   5186384   C:\Program Files\FileBot\MediaInfo.dll
01/07/2015 07:53 AM   4396880   C:\Program Files\MediaInfo\MediaInfo.dll
06/07/2015 06:37 PM   3622736   C:\Users\Matt\AppData\Roaming\MediaBrowser-Server\System\MediaInfo.dll
05/02/2015 06:45 PM   3622736   C:\Users\Matt\AppData\Roaming\MediaBrowser-Server\System.old\MediaInfo.dll
...though only Filebot one is in PATH:

Code: Select all

C:\>where mediainfo.dll
C:\Program Files\FileBot\MediaInfo.dll
Running Filebot in console mode and repeating the process yields the following:

Code: Select all

Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this release.
Jun 07, 2015 8:22:53 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2 done
WARNING: IOException: Failed to exec fpcalc: Cannot run program "C:\Program Files\FileBot\fpcalc.exe": CreateProcess error=206, The filename or extension is too long
java.util.concurrent.ExecutionException: java.io.IOException: Failed to exec fpcalc: Cannot run program "C:\Program Files\FileBot\fpcalc.exe": CreateProcess error=206, The filename or extension is too long
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at javax.swing.SwingWorker.get(Unknown Source)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.done(RenamePanel.java:697)
        at javax.swing.SwingWorker$5.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
        at sun.swing.AccumulativeRunnable.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: Failed to exec fpcalc: Cannot run program "C:\Program Files\FileBot\fpcalc.exe": CreateProcess error=206, The filename or extension is too long
        at net.filebot.web.AcoustIDClient.fpcalc(AcoustIDClient.java:243)
        at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:63)
        at net.filebot.ui.rename.AudioFingerprintMatcher.match(AudioFingerprintMatcher.java:33)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground(RenamePanel.java:682)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground(RenamePanel.java:678)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
yippetyzippety
Posts: 3
Joined: 08 Jun 2015, 02:51

Re: AcoustID: Cannot create process error 206

Post by yippetyzippety »

here's the trackback when I try to use "ID3 Tags" instead of AcoustID:

Code: Select all

Jun 07, 2015 8:27:37 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2 done
WARNING: UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (win32-x86/mediainfo.dll) not found in resource path ([file:/C:/Prog
ram%20Files/FileBot/FileBot.jar])
java.util.concurrent.ExecutionException: net.filebot.mediainfo.MediaInfoException: Unable to load 32-bit native library 'mediainfo'
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at javax.swing.SwingWorker.get(Unknown Source)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.done(RenamePanel.java:697)
        at javax.swing.SwingWorker$5.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
        at sun.swing.AccumulativeRunnable.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: net.filebot.mediainfo.MediaInfoException: Unable to load 32-bit native library 'mediainfo'
        at net.filebot.mediainfo.MediaInfo.<init>(MediaInfo.java:42)
        at net.filebot.web.ID3Lookup.lookup(ID3Lookup.java:34)
        at net.filebot.ui.rename.AudioFingerprintMatcher.match(AudioFingerprintMatcher.java:33)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground(RenamePanel.java:682)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground(RenamePanel.java:678)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (win32-x86/mediainfo.dll) not found in resource path ([f
ile:/C:/Program%20Files/FileBot/FileBot.jar])
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
        at com.sun.jna.Library$Handler.<init>(Library.java:147)
        at com.sun.jna.Native.loadLibrary(Native.java:412)
        at net.filebot.mediainfo.MediaInfoLibrary.<clinit>(MediaInfoLibrary.java:16)
        at net.filebot.mediainfo.MediaInfo.<init>(MediaInfo.java:40)
        ... 10 more
yippetyzippety
Posts: 3
Joined: 08 Jun 2015, 02:51

Re: AcoustID: Cannot create process error 206

Post by yippetyzippety »

Ahhh, the too long message isn't about the program, but what it's being fed. If I point to another folder with only a few files in it there is no problem [with AcoustID. MediaInfo still fails] . So I guess I'll be spending some time hunting through the mess of folders to figure out which one(s) have too long a filename.
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AcoustID: Cannot create process error 206

Post by rednoah »

You need 64-bit Java 8. Read the FAQ.
:idea: Please read the FAQ and How to Request Help.
Wobble
Posts: 2
Joined: 14 Jan 2016, 17:35

Re: AcoustID: Cannot create process error 206

Post by Wobble »

Same thing here with Java 8 64bits.
Wobble
Posts: 2
Joined: 14 Jan 2016, 17:35

Re: AcoustID: Cannot create process error 206

Post by Wobble »

Image

ID3 Tag work with this cmd line.
arlalrapba
Posts: 2
Joined: 02 Jun 2016, 12:38

Re: AcoustID: Cannot create process error 206

Post by arlalrapba »

Hello.
I'm facing the same problem here using the latest beta available as of today, because I've found this problem fixed here (viewtopic.php?f=6&t=3818) and had to donwload it at first place.
The strange thing is that I've renamed some files an hour ago.
If I try dropping about 100 files it renames OK, and I can even see fpcalc.exe process running in background, but dropping the full folder with 700 files throws me the error.
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AcoustID: Cannot create process error 206

Post by rednoah »

What OS? On Windows the argument limit be quite low. What does the console output say?
:idea: Please read the FAQ and How to Request Help.
arlalrapba
Posts: 2
Joined: 02 Jun 2016, 12:38

Re: AcoustID: Cannot create process error 206

Post by arlalrapba »

rednoah wrote:What OS? On Windows the argument limit be quite low. What does the console output say?
Hi, sorry:
IOException: Failed to exec fpcalc: Cannot run program "C:\Program Files\FileBot\fpcalc.exe": CreateProcess error=206, Filename or extension too long (manual translated by me)
java.util.concurrent.ExecutionException: java.io.IOException: Failed to exec fpcalc: Cannot run program "C:\Program Files\FileBot\fpcalc.exe": CreateProcess error=206, Filename or extension too long (manual translated by me)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.done(RenamePanel.java:839)
Caused by: java.io.IOException: Failed to exec fpcalc: Cannot run program "C:\Program Files\FileBot\fpcalc.exe": CreateProcess error=206,Filename or extension too long (manual translated by me)
at net.filebot.web.AcoustIDClient.fpcalc(AcoustIDClient.java:200)
at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:63)
at net.filebot.ui.rename.MusicMatcher.match(MusicMatcher.java:34)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:824)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:820)


Now the error is:

jun 02, 2016 5:26:18 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1 done
ADVERTENCIA: IOException: Failed to exec fpcalc: Exit code 1
java.util.concurrent.ExecutionException: java.io.IOException: Failed to exec fpcalc: Exit code 1
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.done(RenamePanel.java:839)
Caused by: java.io.IOException: Failed to exec fpcalc: Exit code 1
at net.filebot.web.AcoustIDClient.fpcalc(AcoustIDClient.java:222)
at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:63)
at net.filebot.ui.rename.MusicMatcher.match(MusicMatcher.java:34)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:824)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:820)
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AcoustID: Cannot create process error 206

Post by rednoah »

The CreateProcess error=206 one is probably about processing too many files at once, and it seems there's a limit for that on Windows OS. For now you can try processing music files in smaller batches.
:idea: Please read the FAQ and How to Request Help.
Post Reply