Getting AssertionError lock file

Any questions? Need some help?
Post Reply
gilzilberfeld
Posts: 5
Joined: 09 Apr 2017, 16:04

Getting AssertionError lock file

Post by gilzilberfeld »

Hi,

After installing the latest from the Windows Store, on the command line I get the following:

Code: Select all

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\gil 1>filebot -script fn:sysinfo
Failed to create lock file C:\Users\gil 1\AppData\Roaming\FileBot\cache\0\.ehcache-diskstore.lock
java.lang.AssertionError: Failed to create lock file C:\Users\gil 1\AppData\Roaming\FileBot\cache\0\.ehcache-diskstore.lock
        at net.sf.ehcache.DiskStorePathManager$DiskStorePath.<init>(DiskStorePathManager.java:324)
        at net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:145)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:262)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:251)
        at net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:127)
        at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:154)
        at net.sf.ehcache.store.disk.DiskStore.createCacheStore(DiskStore.java:182)
        at net.sf.ehcache.Cache.initialise(Cache.java:1216)
        at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1357)
        at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1423)
        at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1299)
        at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1268)
        at net.filebot.CacheManager.getCache(CacheManager.java:42)
        at net.filebot.Cache.getCache(Cache.java:29)
        at net.filebot.cli.ScriptSource.getCache(ScriptSource.java:127)
        at net.filebot.cli.ScriptSource$1.getScriptProvider(ScriptSource.java:31)
        at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:118)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
        at net.filebot.Main.main(Main.java:115)

Failure (°_°)
That also happens when running any command line (I use filebot with Vuze, and used the commands it created)
Also, when running the GUI, and selecting a match, I get the same error at the top of the screen:
https://www.dropbox.com/s/k75hs9a93q7dr ... t.png?dl=0

I'm guessing a permission issue, but can't track it down.
Before installing today, I used an older version (4.7.2) which stopped working a few days ago.

Would love to get this resolved soon.
Thanks in advance

Gil
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Getting AssertionError lock file

Post by rednoah »

This is very strange. Probably an odd Windows Store sandbox issue.

Please try the following steps:

* Uninstall all versions of FileBot you have installed (store and old legacy versions)
* Make sure you have all the latest Windows updates
* Restart your computer
* Download FileBot from the Store again


Please also run this command with PowerShell and post the output:

Code: Select all

echo $ENV:PATH

:?: Did you recently upgrade to Creators Update or are you still using Anniversary Update?
:idea: Please read the FAQ and How to Request Help.
gilzilberfeld
Posts: 5
Joined: 09 Apr 2017, 16:04

Re: Getting AssertionError lock file

Post by gilzilberfeld »

Worked like a charm.

Thanks!

Gil
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Getting AssertionError lock file

Post by rednoah »

gilzilberfeld wrote:Worked like a charm.
What exactly did work like a charm? Restart? Reinstall? Upgrade to Creators Update? A bit of detail would be nice for the next guy. :lol:
:idea: Please read the FAQ and How to Request Help.
gilzilberfeld
Posts: 5
Joined: 09 Apr 2017, 16:04

Re: Getting AssertionError lock file

Post by gilzilberfeld »

True!

I've uninstalled (only the Windows Store was available for uninstalling). I then updated the needed updates (not sure if that's the Creators update, but it was all the latest updates). That took abot 5 mins. It restarted. Then I reinstalled from the Windows Store.

After that I checked the following: Ran filebot -script fn:sysinfo. No error like before, gave the information. Then renamed from the GUI, and it worked correctly.
Finally, ran automatically from the command line (with Vuze integration) and that worked too. Since that's my main use, it covered everything I needed.

Thanks again,

Gil
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Getting AssertionError lock file

Post by rednoah »

Thanks for reporting back!
:idea: Please read the FAQ and How to Request Help.
Post Reply