MinimServer Forum

Full Version: Having issues with minimwatch in Ubuntu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi, when I try to launch minimwatch I get some errors and the icons don't get displayed. I have used the latest download as of today. I get the below message:

java -jar ../lib/minimwatch.jar
MinimWatch 0.72, Copyright © 2012, 2013 Simon Nash. All rights reserved.

(java:9144): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:9144): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:9144): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:9144): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
java.awt.AWTException: TrayIcon couldn't be displayed.
at sun.awt.X11.XTrayIconPeer.<init>(Unknown Source)
at sun.awt.X11.XToolkit.createTrayIcon(Unknown Source)
at java.awt.TrayIcon.addNotify(Unknown Source)
at java.awt.SystemTray.add(Unknown Source)
at com.minimserver.lib.TrayControl$TrayView.addTrayIcon(TrayControl.java:1136)
at com.minimserver.lib.TrayControl$TrayView.createAndShowTrayIcon(TrayControl.java:​1146)
at com.minimserver.lib.TrayControl.createAndShowTrayView(TrayControl.java:119)
at com.minimserver.watch.RemoteWatch.doStart(RemoteWatch.java:73)
at com.minimserver.watch.RemoteWatch.start(RemoteWatch.java:35)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:156)
at org.jminim.core.ContextImpl.start(ContextImpl.java:84)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:36)
at org.jminim.core.ContextImpl.start(ContextImpl.java:84)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:398)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:681)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jminim.launch.Launcher.launch(Launcher.java:64)
at com.minimserver.watch.launch.LaunchWatch.main(LaunchWatch.java:19)
Selected media server: MinimServer[raspberrypi]
MinimServer[raspberrypi] is running
Enter command (? for help), or null to exit:
MinimServer[QNAPTS410-1] is running

Any advise?

Thanks, Rene
(07-12-2013 13:36)ReneZ Wrote: [ -> ]Hi, when I try to launch minimwatch I get some errors and the icons don't get displayed. I have used the latest download as of today. I get the below message:

java -jar ../lib/minimwatch.jar
MinimWatch 0.72, Copyright © 2012, 2013 Simon Nash. All rights reserved.

(java:9144): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

From this post, it appears the solution is to install the gtk2-engines-pixbuf package.
(07-12-2013 22:51)simoncn Wrote: [ -> ]the solution is to install the gtk2-engines-pixbuf package.

OK, did that, now I get:

java -jar ../lib/minimwatch.jar
MinimWatch 0.72, Copyright © 2012, 2013 Simon Nash. All rights reserved.
java.awt.AWTException: TrayIcon couldn't be displayed.
at sun.awt.X11.XTrayIconPeer.<init>(Unknown Source)
at sun.awt.X11.XToolkit.createTrayIcon(Unknown Source)
at java.awt.TrayIcon.addNotify(Unknown Source)
at java.awt.SystemTray.add(Unknown Source)
at com.minimserver.lib.TrayControl$TrayView.addTrayIcon(TrayControl.java:1136)
at com.minimserver.lib.TrayControl$TrayView.createAndShowTrayIcon(TrayControl.java:​1146)
at com.minimserver.lib.TrayControl.createAndShowTrayView(TrayControl.java:119)
at com.minimserver.watch.RemoteWatch.doStart(RemoteWatch.java:73)
at com.minimserver.watch.RemoteWatch.start(RemoteWatch.java:35)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:156)
at org.jminim.core.ContextImpl.start(ContextImpl.java:84)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:36)
at org.jminim.core.ContextImpl.start(ContextImpl.java:84)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:398)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:681)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jminim.launch.Launcher.launch(Launcher.java:64)
at com.minimserver.watch.launch.LaunchWatch.main(LaunchWatch.java:19)
Selected media server: MinimServer[raspberrypi]
MinimServer[raspberrypi] is running
Enter command (? for help), or null to exit:
MinimServer[QNAPTS410-1] is running


Still no icons, therefore no access to the settings. Seems Java related, but I have Java installed as per instructions. Could it be that a remnant of IceTea could intervere?

Any further advise?
(08-12-2013 00:30)ReneZ Wrote: [ -> ]Still no icons, therefore no access to the settings. Seems Java related, but I have Java installed as per instructions. Could it be that a remnant of IceTea could intervere?

Any further advise?

It looks like the problem may be caused by having a headless version of Java installed.

Which version of Ubuntu do you have?

Which version(s) of Java and/or IcedTea do you have installed? Did you install Java using apt-get by downloading it from the Oracle website?

What are the exact package name(s) that you installed for IcedTea using apt-get? You can list all installed package names using 'dpkg -l'.
Simon, thanks, I did the command and ended up with a 55 page doc ;-)
Don't know how to get that to you. Will try though. Can you PM me an email address I can use or similar? Thanks.

Regards, Rene
(08-12-2013 15:01)ReneZ Wrote: [ -> ]Simon, thanks, I did the command and ended up with a 55 page doc ;-)
Don't know how to get that to you. Will try though. Can you PM me an email address I can use or similar? Thanks.

Regards, Rene

Please answer the other questions in my last post:

Which version of Ubuntu do you have?

Which version(s) of Java and/or IcedTea do you have installed? (Note: If you're not sure, type 'java -version' at a command prompt.)

Did you install Java using apt-get by downloading it from the Oracle website?
OK, send the list to the admin address.

I'm using Ubuntu 11.10

I do not know the version numbers (how do I find out?), but these have been recently installed/updated.

I did install through the apt-get way.

Thanks, Rene
(08-12-2013 16:17)ReneZ Wrote: [ -> ]I do not know the version numbers (how do I find out?)

As I said in my previous post:

If you're not sure, type 'java -version' at a command prompt.

Please do this and post the output here.
Sorry, bit thick, too much sun here ;-)

java -version
java version "1.7.0_45"
Java™ SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot™ Server VM (build 24.45-b08, mixed mode)

Cheers, Rene
(08-12-2013 19:05)ReneZ Wrote: [ -> ]Sorry, bit thick, too much sun here ;-)

java -version
java version "1.7.0_45"
Java™ SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot™ Server VM (build 24.45-b08, mixed mode)

Cheers, Rene

This indicates that you have downloaded Java 7u45 from the Oracle website. Your 'dpkg -l' listing shows that you have also used apt-get to install Java 6b27 (openjdk-6-jre) and Java 7u21 (openjdk-7-jre).

With three installations of different versions of Java, it seems quite likely that they might be conflicting with each other.

I'm not sure how to resolve this conflict. You could start by removing the versions of Java that you aren't using, together with all their dependencies. To do this, you need to use the 'sudo apt-get purge' and 'sudo apt-get autoremove' commands (see this post). Alternatively, you could do a clean reinstall of Ubuntu and then download Oracle Java 7u45.
Pages: 1 2 3
Reference URL's