Suball Script not working when connected to Nord VPN

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Suball Script not working when connected to Nord VPN

Post by kaneelias »

Hi all,

I am having issues with the below script for "suball". When I am connected to Nord VPN, the script opens but does not do anything it shows the command but just hangs. If I am not connected to Nord, the script starts processing after about 30 seconds. I know some might say that I should just not use Nord but unfortunately, I am in Australia and access to OpenSubtitles is prohibited. I can also reconnect Nord after the script has started and it will work fine.

Code: Select all

filebot -script fn:suball w:\ --action duplicate --conflict skip -non-strict --def maxAgeDays=21  & filebot -script fn:suball z:\ --action duplicate --conflict skip -non-strict --def maxAgeDays=21
Interestingly, when connected to Nord and running the below script for renaming and moving files, it has no issue going and getting subtitles.

Code: Select all

filebot -script fn:amc "D:\Downloads\Process\Complete" --output "D:\Downloads\External" --action move --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=n clean=y subtitles=en "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" "seriesFormat=TV Shows/{n}/{'Season '+s.pad(2)}/{n} {s00e00} - {t}" "movieFormat=Movies/{n.colon(' - ')} ({y})" & xcopy /s "d:\Downloads\External\TV Shows" "W:\" & xcopy /s "d:\Downloads\External\Movies" "Z:\Movies\" & Robocopy "d:\Downloads\External\Movies" "d:\Downloads\External\Done" /MOV /E
Any advice would be greatly appreciated. Thank you
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Suball Script not working when connected to Nord VPN

Post by rednoah »

:?: What does the console output say? If you get no output at first, what happens if you let it run for many minutes? (NOTE: You will get some sort of network time out eventually.)

:arrow: java.net.BindException: Cannot assign requested address: no further information

:idea: Note that you probably don't need a VPN at all. It's probably just DNS poisoning from your ISP. Use CloudFlare 1.1.1.1 instead for this and other reasons. You can configure 1.1.1.1 on your router for your entire network, or on each individual machine.



EDIT:

:idea: Note that you can pass in multiple input arguments.
:!: Note that --action and --conflict are not used and have no effect.

Shell: Select all

filebot -script fn:suball W:/ Z:/ -non-strict --def maxAgeDays=21
:idea: Please read the FAQ and How to Request Help.
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Re: Suball Script not working when connected to Nord VPN

Post by kaneelias »

Thanks for the reply. If I let it run for many minutes it just shows the script and the cursor blinking but nothing happens. As soon as I disconnect from Nord it starts processing the files.

So I have done some more digging and when I run the sub all script on a local drive eg. D:/ it runs straight away no issue with Nord connected. The W:/ and Z:/ drives are network drives and Nord seems to be blocking access even though I can access the drives in Windows Explorer. I have tired enabling "Allow Remote Access while connected to VPN" but that has not resolved it.

edit: Definitely an issue with Nord blocking my script from accessing a network drive. I have tested with PIA and it works no problems.
Last edited by kaneelias on 23 Sep 2023, 12:09, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Suball Script not working when connected to Nord VPN

Post by rednoah »

If you press the PAUSE key while filebot is running then you will see stack dump of all threads which allows us to see exactly where it's stuck at.
:idea: Please read the FAQ and How to Request Help.
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Re: Suball Script not working when connected to Nord VPN

Post by kaneelias »

Sorry, can you please explain how I can pause the script while it is running? This is just a batch process

Is there a way to point the script to an IP address on the network?

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

Re: Suball Script not working when connected to Nord VPN

Post by rednoah »

The PAUSE key is a key on your keyboard.

Screenshot


kaneelias wrote: 23 Sep 2023, 12:22 Is there a way to point the script to an IP address on the network?
FileBot works with UNC file paths. Presumably you can use the IP instead of the hostname.
:idea: Please read the FAQ and How to Request Help.
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Re: Suball Script not working when connected to Nord VPN

Post by kaneelias »

I pressed the pause break on my keyboard while the script is stuck here

Code: Select all

C:\Windows\System32>filebot -script fn:suball W:/ Z:/ -non-strict --def maxAgeDays=21
* Passing the file system root W:\ as input argument is extremely dangerous. I hope you know what you're doing.
* Passing the file system root Z:\ as input argument is extremely dangerous. I hope you know what you're doing.
Where should I see the dump?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Suball Script not working when connected to Nord VPN

Post by rednoah »

Sorry, it's Ctrl+Pause and not just Pause:
https://www.baeldung.com/java-thread-du ... ak-windows
In Windows operating systems, we can capture a thread dump using the CTRL and Break key combination. To take a thread dump, navigate to the console used to launch the Java application, and press the CTRL and Break keys together.

It’s worth noting that, on some keyboards, the Break key isn’t available. Therefore, in such cases, a thread dump can be captured using the CTRL, SHIFT, and Pause keys together.

Both of these commands print the thread dump to the console.


It'll just dump the stack dump to the console output:
Screenshot
:idea: Please read the FAQ and How to Request Help.
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Re: Suball Script not working when connected to Nord VPN

Post by kaneelias »

Hi, here is the dump while it is just hanging there with the cursor blinking

Console Output: Select all

$ filebot -script fn:suball W:/ Z:/ -non-strict --def maxAgeDays=21
* Passing the file system root W:\ as input argument is extremely dangerous. I hope you know what you're doing.
* Passing the file system root Z:\ as input argument is extremely dangerous. I hope you know what you're doing.
2023-09-24 10:11:09
Full thread dump OpenJDK 64-Bit Server VM (17.0.8+7 mixed mode):

Threads class SMR info:
_java_thread_list=0x0000024369971300, length=18, elements={
0x00000243442a7860, 0x00000243465ea750, 0x00000243465eba90, 0x00000243465da240,
0x00000243465dade0, 0x00000243465db980, 0x00000243465dcdf0, 0x00000243465ddf70,
0x00000243465df030, 0x000002434610b370, 0x000002434610b850, 0x00000243461b2100,
0x00000243461d92a0, 0x0000024369562230, 0x00000243699ef840, 0x00000243699ee440,
0x00000243699eee40, 0x00000243699eda40
}

"main" #1 prio=5 os_prio=0 cpu=250.00ms elapsed=3.79s tid=0x00000243442a7860 nid=0xf9c runnable  [0x000000466e4fd000]
   java.lang.Thread.State: RUNNABLE
        at java.io.WinNTFileSystem.getBooleanAttributes([email protected]/Native Method)
        at java.io.FileSystem.hasBooleanAttributes([email protected]/Unknown Source)
        at java.io.File.isDirectory([email protected]/Unknown Source)
        at net.filebot.util.FileUtilities.lambda$static$12(Unknown Source)
        at net.filebot.util.FileUtilities$$Lambda$45/0x00000008000ddf78.accept(Unknown Source)
        at net.filebot.util.FileUtilities$$Lambda$345/0x00000008002e5958.test(Unknown Source)
        at java.util.stream.ReferencePipeline$2$1.accept([email protected]/Unknown Source)
        at java.util.Spliterators$ArraySpliterator.forEachRemaining([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.copyInto([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto([email protected]/Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential([email protected]/Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.evaluate([email protected]/Unknown Source)
        at java.util.stream.ReferencePipeline.forEach([email protected]/Unknown Source)
        at net.filebot.util.FileUtilities.listFiles(Unknown Source)
        at net.filebot.util.FileUtilities.lambda$listFiles$8(Unknown Source)
        at net.filebot.util.FileUtilities$$Lambda$346/0x00000008002e5ba8.accept(Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept([email protected]/Unknown Source)
        at java.util.stream.SortedOps$RefSortingSink$$Lambda$347/0x000000080026b4f0.accept([email protected]/Unknown Source)
        at java.util.ArrayList.forEach([email protected]/Unknown Source)
        at java.util.stream.SortedOps$RefSortingSink.end([email protected]/Unknown Source)
        at java.util.stream.Sink$ChainedReference.end([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.copyInto([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto([email protected]/Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential([email protected]/Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.evaluate([email protected]/Unknown Source)
        at java.util.stream.ReferencePipeline.forEach([email protected]/Unknown Source)
        at net.filebot.util.FileUtilities.listFiles(Unknown Source)
        at net.filebot.util.FileUtilities.lambda$listFiles$8(Unknown Source)
        at net.filebot.util.FileUtilities$$Lambda$346/0x00000008002e5ba8.accept(Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept([email protected]/Unknown Source)
        at java.util.stream.SortedOps$RefSortingSink$$Lambda$347/0x000000080026b4f0.accept([email protected]/Unknown Source)
        at java.util.ArrayList.forEach([email protected]/Unknown Source)
        at java.util.stream.SortedOps$RefSortingSink.end([email protected]/Unknown Source)
        at java.util.stream.Sink$ChainedReference.end([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.copyInto([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto([email protected]/Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential([email protected]/Unknown Source)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential([email protected]/Unknown Source)
        at java.util.stream.AbstractPipeline.evaluate([email protected]/Unknown Source)
        at java.util.stream.ReferencePipeline.forEach([email protected]/Unknown Source)
        at net.filebot.util.FileUtilities.listFiles(Unknown Source)
        at net.filebot.util.FileUtilities.listFiles(Unknown Source)
        at net.filebot.util.FileUtilities.listFiles(Unknown Source)
        at net.filebot.cli.ScriptShellMethods.getFiles(Unknown Source)
        at java.lang.invoke.LambdaForm$DMH/0x00000008002a4c00.invokeStaticInit([email protected]/LambdaForm$DMH)
        at java.lang.invoke.LambdaForm$MH/0x00000008002b2000.guardWithCatch([email protected]/LambdaForm$MH)
        at java.lang.invoke.LambdaForm$MH/0x00000008002b2800.reinvoke([email protected]/LambdaForm$MH)
        at java.lang.invoke.LambdaForm$MH/0x00000008002b2c00.guard([email protected]/LambdaForm$MH)
        at java.lang.invoke.LambdaForm$MH/0x00000008002b2800.reinvoke([email protected]/LambdaForm$MH)
        at java.lang.invoke.LambdaForm$MH/0x00000008002b3800.invoke([email protected]/LambdaForm$MH)
        at java.lang.invoke.LambdaForm$MH/0x00000008002aa000.invokeExact_MT([email protected]/LambdaForm$MH)
        at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
        at java.lang.invoke.LambdaForm$DMH/0x000000080029a400.invokeStatic([email protected]/LambdaForm$DMH)
        at java.lang.invoke.LambdaForm$MH/0x00000008002b1400.invoke([email protected]/LambdaForm$MH)
        at java.lang.invoke.Invokers$Holder.linkToCallSite([email protected]/Unknown Source)
        at __script_c88ecce8bfce9f7419a25b363af65e24_2263.run(__script_c88ecce8bfce9f7419a25b363af65e24_2263:72)
        at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:331)
        at org.codehaus.groovy.jsr223.GroovyCompiledScript.eval(GroovyCompiledScript.java:72)
        at net.filebot.GroovyEngine.eval(Unknown Source)
        at javax.script.AbstractScriptEngine.eval([email protected]/Unknown Source)
        at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
^C      at net.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
        at net.filebot.Main.main(Unknown Source)

"Reference Handler" #2 daemon prio=10 os_prio=2 cpu=0.00ms elapsed=3.77s tid=0x00000243465ea750 nid=0x908 waiting on condition  [0x000000466ebff000]
   java.lang.Thread.State: RUNNABLE
        at java.lang.ref.Reference.waitForReferencePendingList([email protected]/Native Method)
        at java.lang.ref.Reference.processPendingReferences([email protected]/Unknown Source)
        at java.lang.ref.Reference$ReferenceHandler.run([email protected]/Unknown Source)

"Finalizer" #3 daemon prio=8 os_prio=1 cpu=0.00ms elapsed=3.77s tid=0x00000243465eba90 nid=0xeb8 in Object.wait()  [0x000000466ecff000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait([email protected]/Native Method)
        - waiting on <0x00000007226502f8> (a java.lang.ref.ReferenceQueue$Lock)
Terminate batch job (Y/N)?      at java.lang.ref.ReferenceQueue.remove([email protected]/Unknown Source)
        - locked <0x00000007226502f8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove([email protected]/Unknown Source)
        at java.lang.ref.Finalizer$FinalizerThread.run([email protected]/Unknown Source)

"Signal Dispatcher" #4 daemon prio=9 os_prio=2 cpu=0.00ms elapsed=3.76s tid=0x00000243465da240 nid=0x2b70 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Service Thread" #5 daemon prio=9 os_prio=0 cpu=0.00ms elapsed=3.76s tid=0x00000243465dade0 nid=0x724 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Monitor Deflation Thread" #6 daemon prio=9 os_prio=0 cpu=0.00ms elapsed=3.76s tid=0x00000243465db980 nid=0x8dc runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #7 daemon prio=9 os_prio=2 cpu=93.75ms elapsed=3.76s tid=0x00000243465dcdf0 nid=0x24cc waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

"C1 CompilerThread0" #15 daemon prio=9 os_prio=2 cpu=46.88ms elapsed=3.76s tid=0x00000243465ddf70 nid=0x1e78 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

"Sweeper thread" #19 daemon prio=9 os_prio=2 cpu=0.00ms elapsed=3.76s tid=0x00000243465df030 nid=0x710 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Common-Cleaner" #20 daemon prio=8 os_prio=1 cpu=0.00ms elapsed=3.74s tid=0x000002434610b370 nid=0x8f0 in Object.wait()  [0x000000466f4ff000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait([email protected]/Native Method)
        - waiting on <0x00000007226820f8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove([email protected]/Unknown Source)
        - locked <0x00000007226820f8> (a java.lang.ref.ReferenceQueue$Lock)
        at jdk.internal.ref.CleanerImpl.run([email protected]/Unknown Source)
        at java.lang.Thread.run([email protected]/Unknown Source)
        at jdk.internal.misc.InnocuousThread.run([email protected]/Unknown Source)

"Notification Thread" #21 daemon prio=9 os_prio=0 cpu=0.00ms elapsed=3.74s tid=0x000002434610b850 nid=0xc14 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"JNA Cleaner" #23 daemon prio=5 os_prio=0 cpu=0.00ms elapsed=3.62s tid=0x00000243461b2100 nid=0xabc in Object.wait()  [0x000000466f9ff000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait([email protected]/Native Method)
        - waiting on <0x000000072265caa8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove([email protected]/Unknown Source)
        - locked <0x000000072265caa8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove([email protected]/Unknown Source)
        at com.sun.jna.internal.Cleaner$1.run(Cleaner.java:58)

"__DEFAULT__" #25 daemon prio=5 os_prio=0 cpu=0.00ms elapsed=3.53s tid=0x00000243461d92a0 nid=0x172c in Object.wait()  [0x000000466fbff000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait([email protected]/Native Method)
        - waiting on <0x00000007226759a0> (a java.util.TaskQueue)
        at java.lang.Object.wait([email protected]/Unknown Source)
        at java.util.TimerThread.mainLoop([email protected]/Unknown Source)
        - locked <0x00000007226759a0> (a java.util.TaskQueue)
        at java.util.TimerThread.run([email protected]/Unknown Source)

"script_bundle_0_0.data" #29 prio=5 os_prio=0 cpu=0.00ms elapsed=3.39s tid=0x0000024369562230 nid=0x331c waiting on condition  [0x000000466fdff000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
        - parking to wait for  <0x000000072265cd80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/Unknown Source)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos([email protected]/Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.getTask([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/Unknown Source)
        at java.lang.Thread.run([email protected]/Unknown Source)

"Statistics Thread-__DEFAULT__-1" #30 daemon prio=5 os_prio=0 cpu=0.00ms elapsed=3.36s tid=0x00000243699ef840 nid=0x38c4 waiting on condition  [0x000000466fefe000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
        - parking to wait for  <0x0000000722650630> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/Unknown Source)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos([email protected]/Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.getTask([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/Unknown Source)
        at java.lang.Thread.run([email protected]/Unknown Source)

"script_classes_0.data" #31 prio=5 os_prio=0 cpu=0.00ms elapsed=3.28s tid=0x00000243699ee440 nid=0x9e0 waiting on condition  [0x00000046707fe000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
        - parking to wait for  <0x0000000722c03420> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/Unknown Source)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos([email protected]/Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.getTask([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/Unknown Source)
        at java.lang.Thread.run([email protected]/Unknown Source)

"ForkJoinPool.commonPool-worker-1" #32 daemon prio=5 os_prio=0 cpu=0.00ms elapsed=2.94s tid=0x00000243699eee40 nid=0x42f8 waiting on condition  [0x0000004670efe000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
        - parking to wait for  <0x000000072251f120> (a java.util.concurrent.ForkJoinPool)
        at java.util.concurrent.locks.LockSupport.parkUntil([email protected]/Unknown Source)
        at java.util.concurrent.ForkJoinPool.awaitWork([email protected]/Unknown Source)
        at java.util.concurrent.ForkJoinPool.runWorker([email protected]/Unknown Source)
        at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/Unknown Source)

"ForkJoinPool.commonPool-worker-2" #33 daemon prio=5 os_prio=0 cpu=0.00ms elapsed=2.94s tid=0x00000243699eda40 nid=0x259c waiting on condition  [0x0000004670fff000]
   java.lang.Thread.State: WAITING (parking)
        at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
        - parking to wait for  <0x000000072251f120> (a java.util.concurrent.ForkJoinPool)
        at java.util.concurrent.locks.LockSupport.park([email protected]/Unknown Source)
        at java.util.concurrent.ForkJoinPool.awaitWork([email protected]/Unknown Source)
        at java.util.concurrent.ForkJoinPool.runWorker([email protected]/Unknown Source)
        at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/Unknown Source)

"VM Thread" os_prio=2 cpu=0.00ms elapsed=3.79s tid=0x00000243465e9490 nid=0x8fc runnable

"GC Thread#0" os_prio=2 cpu=15.62ms elapsed=3.80s tid=0x0000024346477cd0 nid=0xe78 runnable

"GC Thread#1" os_prio=2 cpu=15.62ms elapsed=3.33s tid=0x00000243696e72d0 nid=0xb7c runnable

"GC Thread#2" os_prio=2 cpu=15.62ms elapsed=3.33s tid=0x00000243696e7590 nid=0x2ff8 runnable

"GC Thread#3" os_prio=2 cpu=15.62ms elapsed=3.33s tid=0x00000243696e7850 nid=0x2fbc runnable

"GC Thread#4" os_prio=2 cpu=15.62ms elapsed=3.33s tid=0x00000243696e7b10 nid=0x1738 runnable

"GC Thread#5" os_prio=2 cpu=0.00ms elapsed=3.33s tid=0x0000024369341a60 nid=0x34c8 runnable

"GC Thread#6" os_prio=2 cpu=15.62ms elapsed=3.33s tid=0x0000024369341d20 nid=0x924 runnable

"GC Thread#7" os_prio=2 cpu=15.62ms elapsed=3.33s tid=0x000002436937ff80 nid=0x2808 runnable

"GC Thread#8" os_prio=2 cpu=15.62ms elapsed=3.33s tid=0x0000024369380240 nid=0x9d4 runnable

"GC Thread#9" os_prio=2 cpu=0.00ms elapsed=3.13s tid=0x0000024369a20740 nid=0x870 runnable

"GC Thread#10" os_prio=2 cpu=0.00ms elapsed=3.13s tid=0x0000024369a20a00 nid=0x3e1c runnable

"GC Thread#11" os_prio=2 cpu=0.00ms elapsed=3.13s tid=0x0000024369a20cc0 nid=0x834 runnable

"GC Thread#12" os_prio=2 cpu=0.00ms elapsed=2.89s tid=0x00000243698802f0 nid=0x15cc runnable

"G1 Main Marker" os_prio=2 cpu=0.00ms elapsed=3.80s tid=0x00000243442fcbe0 nid=0xe54 runnable

"G1 Conc#0" os_prio=2 cpu=0.00ms elapsed=3.80s tid=0x0000024346433a80 nid=0x928 runnable

"G1 Conc#1" os_prio=2 cpu=0.00ms elapsed=3.13s tid=0x0000024369880850 nid=0x8a8 runnable

"G1 Conc#2" os_prio=2 cpu=0.00ms elapsed=3.13s tid=0x00000243698805a0 nid=0x42c4 runnable

"G1 Refine#0" os_prio=2 cpu=0.00ms elapsed=3.80s tid=0x00000243464fa260 nid=0x854 runnable

"G1 Service" os_prio=2 cpu=0.00ms elapsed=3.80s tid=0x00000243464facb0 nid=0xfa4 runnable

"VM Periodic Task Thread" os_prio=2 cpu=0.00ms elapsed=3.75s tid=0x000002434610af90 nid=0xcec waiting on condition

JNI global refs: 26, weak refs: 45

Heap
 garbage-first heap   total 49152K, used 19651K [0x0000000722400000, 0x0000000800000000)
  region size 2048K, 5 young (10240K), 1 survivors (2048K)
 Metaspace       used 24284K, committed 24704K, reserved 1114112K
  class space    used 2744K, committed 2944K, reserved 1048576K
Thank you
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Re: Suball Script not working when connected to Nord VPN

Post by kaneelias »

Sorry, furthermore, I am noticing I am getting these errors when it is running correctly

Failed to write xattr key: net.filebot.mediainfo: No Such File: \\Tv\g\Archer\Season 14\Archer S14E04 - Chill Barry.mkv:net.filebot.mediainfo
Failed to write xattr key: net.filebot.mediainfo.mtime: No Such File: \\Tv\g\Archer\Season 14\Archer S14E04 - Chill Barry.mkv:net.filebot.mediainfo.mtime
Ignore text language: \\Tv\g\Archer\Season 14\Archer S14E04 - Chill Barry.mkv [en]

There is clearly the file on the network drive but it is failing. If I search the file in the Filebot app to download the subtitle, it is found and I have no issue. Thanks

For context, I run the amc script below to process new files and grab english subs and drop the files on my network drive. At the time this runs, there are some files that do not have subs yet. Therefore, I run the suball script daily to check if subs are available for the missed files but am getting the xattr key error

Thanks again for all your help

Code: Select all

filebot -script fn:amc "D:\Downloads\Process\Complete" --output "D:\Downloads\External" --action move --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=n clean=y subtitles=en "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" "seriesFormat=TV Shows/{n}/{'Season '+s.pad(2)}/{n} {s00e00} - {t}" "movieFormat=Movies/{n.colon(' - ')} ({y})" & xcopy /s "d:\Downloads\External\TV Shows" "W:\" & xcopy /s "d:\Downloads\External\Movies" "Z:\Movies\" & Robocopy "d:\Downloads\External\Movies" "d:\Downloads\External\Done" /MOV /E
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Suball Script not working when connected to Nord VPN

Post by rednoah »

The stack dump confirms that FileBot is stuck in a Windows system call, so there's nothing you or FileBot can do about it, the issue is an internal Windows bug / SMB file system driver bug that is perhaps caused by Nord VPN interfering the the TCP/IP stack in unexpected ways:

Code: Select all

java.lang.Thread.State: RUNNABLE
        at java.io.WinNTFileSystem.getBooleanAttributes([email protected]/Native Method)
        at java.io.FileSystem.hasBooleanAttributes([email protected]/Unknown Source)
        at java.io.File.isDirectory([email protected]/Unknown Source)
:idea: tl;dr FileBot is asking Windows "Is this this file path a directory?" and Windows never returns with an answer, which is most unusual, since it should either return with an answer or an error, whenever that anwer or error is ready. I would expect this issue to not be exclusive to FileBot, so you might end up with other programs hanging at file system calls. I'm surprised the Windows Explorer works at all internal file system issues like that.


:arrow: You could certainly do a bit of trial and error to see what works and what doesn't, and than work within those limitations. The issue is caused by FileBot trying to list all the files in the given folder, so you can use filebot -find to check file listings for different file paths to see what works and what doesn't:

Shell: Select all

filebot -find W:/

Shell: Select all

filebot -find W:/Media

Shell: Select all

filebot -find W:/Media/Movies




Unrelated to the OP:

:idea: This message means that xattr metadata is not enabled for this SMB share. You'll want to configure FileBot to use .xattr folders instead. Please read Optimizations for Remote File Systems for details.

Code: Select all

Failed to write xattr key: net.filebot.mediainfo: No Such File: \\Tv\g\Archer\Season 14\Archer S14E04 - Chill Barry.mkv:net.filebot.mediainfo
:idea: This message means that this file already has embedded English subtitles, and so the suball script will not fetch English subtitles for this file:

Code: Select all

Ignore text language: \\Tv\g\Archer\Season 14\Archer S14E04 - Chill Barry.mkv [en]
:idea: Please read the FAQ and How to Request Help.
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Re: Suball Script not working when connected to Nord VPN

Post by kaneelias »

Thanks for the reply. I used the command to remove xattr data and I am no longer getting that error.

I am still not able to download the English subtitles still. Here is another example of the files being ignored even though there is no subtitle in the folder. Archer S14E05 - Keys Open Doors.mkv does not appear in the folder so I am not sure why it is being ignored

Code: Select all

Ignore old: W:\Archer\Season 14\Archer S14E01 - The Anglerfish Stratagem.mkv
Ignore old: W:\Archer\Season 14\Archer S14E02 - 30 for 30.mkv
Ignore text language: W:\Archer\Season 14\Archer S14E03 - Plaque Removal.mkv [en]
Ignore text language: W:\Archer\Season 14\Archer S14E04 - Chill Barry.mkv [en]
Ignore text language: W:\Archer\Season 14\Archer S14E05 - Keys Open Doors.mkv [en]
https://yourimageshare.com/ib/O5rF7xp2He

I just tried playing Archer S14E05 - Keys Open Doors.mkv in VLC media player and there is an English subtitle track. Are these hidden or embedded by Filebot?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Suball Script not working when connected to Nord VPN

Post by rednoah »

:idea: This file is to old as per --def maxAgeDays=21 and thus ignored:

Code: Select all

Ignore old: W:\Archer\Season 14\Archer S14E02 - 30 for 30.mkv
:idea: This file already has English subtitles embedded inside the file itself from the very beginning, and you therefore don't need additional external subtitles, and if you play the file you will have English subtitles available because they're already embedded in the file, embedded by whoever created the file in the first place:

Code: Select all

Ignore text language: W:\Archer\Season 14\Archer S14E03 - Plaque Removal.mkv [en]
:idea: You can use the MediaInfo Inspector to see if a given video file already includes subtitle streams.
:idea: Please read the FAQ and How to Request Help.
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Re: Suball Script not working when connected to Nord VPN

Post by kaneelias »

Thanks for all your help. Has been greatly appreciated.
Post Reply