AMC not working anymore

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
udelledo
Posts: 7
Joined: 28 Oct 2013, 20:44

AMC not working anymore

Post by udelledo »

Hi,

I've been successfully using the AMC script for almost a year but from few days ago the cleaning option is not working anymore.

I'm running the software on Mac OS X Lion with the following command line:

Code: Select all

./filebot -script fn:amc "/Volumes/Public/WWW/TR-Downloads/" --output "/Volumes/Public/Shared Videos/" -non-strict --def "clean=y" "seriesFormat=Serie TV/{n}/{'Season '+s}/{n} - {s00e00} - {t}" "animeFormat=Cartoni/{n}/{fn}" "movieFormat=Film/Lingua Originale/{n} ({y})/{fn}" --log-file run.log
The file are being copied correctly but when it tries to clean the clutter files I'm getting the following error:

Code: Select all

Clean clutter files and empty folders
MissingMethodException: No signature of method: org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.executeScript() is applicable for argument types: (java.lang.String, java.util.LinkedHashMap, java.util.ArrayList) values: [cleaner, [root:false], [/Volumes/Public/WWW/TR-Downloads]]
groovy.lang.MissingMethodException: No signature of method: org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.executeScript() is applicable for argument types: (java.lang.String, java.util.LinkedHashMap, java.util.ArrayList) values: [cleaner, [root:false], [/Volumes/Public/WWW/TR-Downloads]]
	at Script3.run(Script3.groovy:345)
	at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
	at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (°_°)
Has something changed?

Thanks for your helpand regards.
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC not working anymore

Post by rednoah »

Does it work if you try with FileBot_3.8_RC5?
https://sourceforge.net/projects/filebo ... ebot/HEAD/
:idea: Please read the FAQ and How to Request Help.
udelledo
Posts: 7
Joined: 28 Oct 2013, 20:44

Re: AMC not working anymore

Post by udelledo »

Hi,

I updated the jar with the latest 3.8_R5 and I got the error below:

Code: Select all

AVVERTENZA: Index file /Users/udelledo/.filebot/cache/0/web-datasource.index is corrupt, deleting and ignoring it : java.io.InvalidClassException: net.sourceforge.filebot.web.SearchResult; local class incompatible: stream classdesc serialVersionUID = 293749364416472364, local class serialVersionUID = 5633475434705242837
java.io.InvalidClassException: net.sourceforge.filebot.web.SearchResult; local class incompatible: stream classdesc serialVersionUID = 293749364416472364, local class serialVersionUID = 5633475434705242837
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:570)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1599)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1494)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1599)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1494)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1748)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327)
	at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1683)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1321)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
	at net.sf.ehcache.store.disk.DiskStorageFactory.loadIndex(DiskStorageFactory.java:1132)
	at net.sf.ehcache.store.disk.DiskStorageFactory.bind(DiskStorageFactory.java:236)
	at net.sf.ehcache.store.disk.DiskStore.<init>(DiskStore.java:139)
	at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:156)
	at net.sf.ehcache.store.disk.DiskStore.createCacheStore(DiskStore.java:183)
	at net.sf.ehcache.Cache.initialise(Cache.java:1154)
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1351)
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1411)
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:813)
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:498)
	at net.sf.ehcache.CacheManager.init(CacheManager.java:392)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:265)
	at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1097)
	at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:873)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:854)
	at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:888)
	at net.sourceforge.filebot.web.CachedResource.getCache(CachedResource.java:27)
	at net.sourceforge.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:45)
	at net.sourceforge.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:238)
	at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:94)
	at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:125)
	at net.sourceforge.filebot.Main.main(Main.java:183)
29-ott-2013 11.45.15 net.sf.ehcache.store.disk.DiskStorageFactory loadIndex
AVVERTENZA: Index file /Users/udelledo/.filebot/cache/0/web-persistent-datasource.index is corrupt, deleting and ignoring it : java.io.InvalidClassException: net.sf.ehcache.store.disk.DiskStorageFactory$DiskMarker; local class incompatible: stream classdesc serialVersionUID = -4464013369678868221, local class serialVersionUID = 1728869151604663582
java.io.InvalidClassException: net.sf.ehcache.store.disk.DiskStorageFactory$DiskMarker; local class incompatible: stream classdesc serialVersionUID = -4464013369678868221, local class serialVersionUID = 1728869151604663582
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:570)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1599)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1494)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1748)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
	at net.sf.ehcache.store.disk.DiskStorageFactory.loadIndex(DiskStorageFactory.java:1133)
	at net.sf.ehcache.store.disk.DiskStorageFactory.bind(DiskStorageFactory.java:236)
	at net.sf.ehcache.store.disk.DiskStore.<init>(DiskStore.java:139)
	at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:156)
	at net.sf.ehcache.store.disk.DiskStore.createCacheStore(DiskStore.java:183)
	at net.sf.ehcache.Cache.initialise(Cache.java:1154)
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1351)
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1411)
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:813)
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:498)
	at net.sf.ehcache.CacheManager.init(CacheManager.java:392)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:265)
	at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1097)
	at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:873)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:854)
	at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:888)
	at net.sourceforge.filebot.web.CachedResource.getCache(CachedResource.java:27)
	at net.sourceforge.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:45)
	at net.sourceforge.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:238)
	at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:94)
	at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:125)
	at net.sourceforge.filebot.Main.main(Main.java:183)
I'm guessing this is related to some underlying format change between the old and the new FileBot version and that was expected as the script this time was able to delete the clutter file.

I also noticed this error:

Code: Select all

Failed to write xattr: java.io.File.toPath()Ljava/nio/file/Path;
which is not blocking but I'm guessing it depends on the filesystem I'm writing to?


Thanks a lot for your help :)
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC not working anymore

Post by rednoah »

Is that just error output or does it actually break the script? The first time you run the new version it'll print some errors but those should be ignored and on subsequent runs it'll be fine.

The latter error is xattr not being supported by the target filesystem. Can be ignored, it's just telling you xattr metadata can't be written.
:idea: Please read the FAQ and How to Request Help.
udelledo
Posts: 7
Joined: 28 Oct 2013, 20:44

Re: AMC not working anymore

Post by udelledo »

Only error output. I was able to find the moved files in the destination folder.
Post Reply