[APT] Subtitles window will not open

Support for Ubuntu and other Desktop Linux distributions
Post Reply
redlukas
Posts: 4
Joined: 01 Dec 2017, 18:35

[APT] Subtitles window will not open

Post by redlukas »

Using Filebot 4.9.1 on Xubuntu 16.04, installed from the APT repositories using installer/deb.sh as described here.

Nothing happens when going to the subtitles tab and attempting to download a subtitle. I can drag a file to the blue arrow or click on it and select the file I want, but then nothing happens.

It works fine when using the command-line interface, the issue seems to be GUI-related. Launching filebot from the terminal allows me to see the Java exception being thrown.

A screenshot wouldn't really explain much, so I have recorded a small .gif which shows the exception being thrown when dropping a file on the download button:
Image

System information:

Code: Select all

FileBot 4.9.1 (r7372) JDK8
JNA Native: 4.0.1
MediaInfo: 0.7.82
p7zip: p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)
unrar: net.filebot.ExecuteException: [unrar] failed (1)
Chromaprint: 1.2.0
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-06-18 (r655)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_252
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 3.7 GB Max Memory / 493 MB Used Memory
OS: Linux (amd64)
HW: Linux plato 4.15.0-107-generic #108~16.04.1-Ubuntu SMP Fri Jun 12 02:57:13 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
STORAGE: ext4 [/] @ 106 GB | cifs [/home/idgc/fs2] @ 316 GB | fuseblk [/media/idgc/tera] @ 847 GB
DATA: /home/idgc/.filebot
Package: DEB
License: UNREGISTERED
NOTE: My default Java version must be version 7. I cannot change that system-wide, so I have edited /usr/bin/filebot so that it invokes /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java to get the right version.

Error logs

Code: Select all

# /home/idgc/.filebot/error.log
Jul 14, 2020 8:33:35 AM net.filebot.License lambda$verifyLicense$1
WARNING: Activate License [P16156324] on [Tue Jul 14 08:33:35 CEST 2020]
Jul 14, 2020 8:34:27 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 2 seconds (2 more) => redstone.xmlrpc.XmlRpcException: The response could not be parsed.
Jul 14, 2020 8:34:39 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 8 seconds (1 more) => redstone.xmlrpc.XmlRpcException: The response could not be parsed.
Jul 14, 2020 8:35:00 AM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: The response could not be parsed.
Jul 14, 2020 9:02:19 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 2 seconds (2 more) => redstone.xmlrpc.XmlRpcFault: 401 Unauthorized
Jul 14, 2020 9:02:21 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 8 seconds (1 more) => redstone.xmlrpc.XmlRpcFault: 401 Unauthorized
Jul 14, 2020 9:02:29 AM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: 401 Unauthorized
Jul 14, 2020 9:02:37 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 2 seconds (2 more) => redstone.xmlrpc.XmlRpcFault: 401 Unauthorized
Jul 14, 2020 9:02:39 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 8 seconds (1 more) => redstone.xmlrpc.XmlRpcFault: 401 Unauthorized
Jul 14, 2020 9:02:47 AM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: 401 Unauthorized
Jul 14, 2020 9:10:08 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 2 seconds (2 more) => redstone.xmlrpc.XmlRpcException: The response could not be parsed.
Jul 14, 2020 9:10:11 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 2 seconds (2 more) => redstone.xmlrpc.XmlRpcException: The response could not be parsed.
Jul 14, 2020 9:10:14 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 2 seconds (2 more) => redstone.xmlrpc.XmlRpcException: The response could not be parsed.
Jul 14, 2020 9:10:17 AM net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit retry
WARNING: Fetch failed: Try again in 2 seconds (2 more) => redstone.xmlrpc.XmlRpcException: The response could not be parsed.
NOTE: OpenSubtitles was down for a while today, So that should explain at least some of the "The response could not be parsed" messages.

Exception I see when dragging a file onto the blue arrow for download

Code: Select all

[09:37:54] idgc@plato:~$ filebot 
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Width and height must be >= 0
	at java.awt.Component.getBaseline(Component.java:2823)
	at javax.swing.JComponent.getBaseline(JComponent.java:2562)
	at javax.swing.plaf.basic.BasicComboBoxUI.getBaseline(BasicComboBoxUI.java:986)
	at com.bulenkov.darcula.ui.DarculaComboBoxUI.getBaseline(DarculaComboBoxUI.java:351)
	at javax.swing.JComponent.getBaseline(JComponent.java:2564)
	at net.miginfocom.swing.SwingComponentWrapper.getBaseline(Unknown Source)
	at net.miginfocom.layout.Grid$CompWrap.getBaseline(Unknown Source)
	at net.miginfocom.layout.Grid$CompWrap.access$5000(Unknown Source)
	at net.miginfocom.layout.Grid.getBaselineAboveBelow(Unknown Source)
	at net.miginfocom.layout.Grid.access$4500(Unknown Source)
	at net.miginfocom.layout.Grid$LinkedDimGroup.getMinPrefMax(Unknown Source)
	at net.miginfocom.layout.Grid$LinkedDimGroup.access$3300(Unknown Source)
	at net.miginfocom.layout.Grid.getTotalGroupsSizeParallel(Unknown Source)
	at net.miginfocom.layout.Grid.calcRowsOrColsSizes(Unknown Source)
	at net.miginfocom.layout.Grid.calcGridSizes(Unknown Source)
	at net.miginfocom.layout.Grid.checkSizeCalcs(Unknown Source)
	at net.miginfocom.layout.Grid.layoutImpl(Unknown Source)
	at net.miginfocom.layout.Grid.layout(Unknown Source)
	at net.miginfocom.swing.MigLayout.layoutContainer(Unknown Source)
	at java.awt.Container.layout(Container.java:1513)
	at java.awt.Container.doLayout(Container.java:1502)
	at java.awt.Container.validateTree(Container.java:1698)
	at java.awt.Container.validateTree(Container.java:1707)
	at java.awt.Container.validateTree(Container.java:1707)
	at java.awt.Container.validateTree(Container.java:1707)
	at java.awt.Container.validate(Container.java:1633)
	at java.awt.Container.validateUnconditionally(Container.java:1670)
	at java.awt.Dialog.conditionalShow(Dialog.java:908)
	at java.awt.Dialog.show(Dialog.java:1045)
	at java.awt.Component.show(Component.java:1671)
	at java.awt.Component.setVisible(Component.java:1623)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at net.filebot.ui.subtitle.SubtitleDropTarget$Download.handleDownload(Unknown Source)
	at net.filebot.ui.subtitle.SubtitleDropTarget$Download.handleDrop(Unknown Source)
	at net.filebot.ui.subtitle.SubtitleDropTarget$2.actionPerformed(Unknown Source)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.Component.processMouseEvent(Component.java:6539)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6304)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [APT] Subtitles window will not open

Post by rednoah »

Strange indeed. Have you tried forcing a different look and feel to see if that makes a difference?
viewtopic.php?t=9827

e.g.

Code: Select all

filebot -script fn:properties --def net.filebot.theme=System

:idea: Installing Gnome and all its dependencies might fix the underlying issue.
:idea: Please read the FAQ and How to Request Help.
redlukas
Posts: 4
Joined: 01 Dec 2017, 18:35

Re: [APT] Subtitles window will not open

Post by redlukas »

That actually fixed the issue, thanks!
Post Reply