Page 1 of 4

my-weather-indicator applet

Posted: 22 Jan 2019, 06:21
by Ed_P
Anyone got the my-weather-indicator applet to work with Porteus? With the Cinnamon DE especially?

Re: my-weather-indicator applet

Posted: 25 Jan 2019, 02:31
by Rava
Ed_P wrote:
22 Jan 2019, 06:21
Anyone got the my-weather-indicator applet to work with Porteus? With the Cinnamon DE especially?
I tried installing it on the most recent Openbox version but that failed:

Code: Select all

# deb2xzm indicator-weather_1.1-0ubuntu5_all.deb 
Checking required libraries ...

 ############################# 
 #     Missing library       # 
 ############################# 

You are missing libbfd. Please
activate 05_devel or run the
 command: getpkg binutils 
and installpkg the file.
Maybe I try activating 05_devel later, since I still have it, with creating the nvidia driver for kernel 4.20.2-porteus and such. :D

Re: my-weather-indicator applet

Posted: 25 Jan 2019, 04:21
by Ed_P
Rava wrote:
25 Jan 2019, 02:31

Code: Select all

activate 05_devel or run the
:o Wow! Thank you Rava.

Re: my-weather-indicator applet

Posted: 25 Jan 2019, 04:34
by Rava
Ed_P wrote:
25 Jan 2019, 04:21
Rava wrote:
25 Jan 2019, 02:31
activate 05_devel or run the
:o Wow! Thank you Rava.
Where did I write the quoted sentence, please? :(

Re: my-weather-indicator applet

Posted: 25 Jan 2019, 04:40
by Ed_P
Here: my-weather-indicator applet

It's in the code box you posted. Oh, you think I should have included the code tags. Ok. :)

Re: my-weather-indicator applet

Posted: 25 Jan 2019, 04:46
by Rava
Ed_P wrote:
25 Jan 2019, 04:40
It's in the code box you posted. Oh, you think I should have included the code tags. Ok. :)
You made it seem as I was the one writing this verbatim, when I was not. Learn to quote correctly, please.

Re: my-weather-indicator applet

Posted: 31 Jan 2019, 00:42
by Ed_P
Ok, I was instructed to start the app then " Taskbar->Troubleshoot->Looking Glass" to view error logs and look for msgs related to the app. The problem is, Right clicking on the Taskbar and Troubleshoot and Looking Glass doesn't produce anything. No logs, no error msgs, no window.

Help!! :unknown:

Re: my-weather-indicator applet

Posted: 31 Jan 2019, 00:46
by Rava
Ed_P wrote:
31 Jan 2019, 00:42
Ok, I was instructed to start the app then " Taskbar->Troubleshoot->Looking Glass" to view error logs and look for msgs related to the app. The problem is, Right clicking on the Taskbar and Troubleshoot and Looking Glass doesn't produce anything. No logs, no error msgs, no window.

Help!! :unknown:
For now, I was not able to get the applet running in Openbox, so I cannot help you. Is there a forum for the applet itself somewhere outside the Porteus sphere? Maybe you find help there…

Re: my-weather-indicator applet

Posted: 31 Jan 2019, 05:18
by Ed_P
The applet's forum is what directed me to use the Troubleshoot>Looking Glass function. Unfortunately it isn't working for me. :(

I don't know if the function's problem is a Cinnamon error or a Porteus error. Anyone else use the panel's Troubleshooting features before?

Does Cinnamon 180702 have the Melange-Cinnamon Debugger application?

Re: my-weather-indicator applet

Posted: 31 Jan 2019, 05:55
by jssouza
Ed_P, cannot give you the dependency packages at the moment, so only instructions.

For cinnamon looking glass, you need pyinotify. pyinotify can be installed using python pip. But you need to install python pip itself :) . python-pip also needs python-setuptools. Install python-setuptools, python-pip from slackware current.

So as root,

Code: Select all

getpkg python-setuptools
getpkg python-pip
Then,

Code: Select all

pip3 install pyinotify
Once these are done, you can start looking glass as:

Code: Select all

cinnamon-looking-glass
There should be a tab called "log", I believe.

Slackware current has moved since Cinnamon 180702. You could give it a try, but on latest cinnamon you can certainly install these python dependecies from slackware current.

Re: my-weather-indicator applet

Posted: 31 Jan 2019, 07:01
by Ed_P
Thank you :worthy: jssouza. :good:

The only step you left out was the 2 python xzm modules needed to be activated to run the pip3 install. :D

Whether the looking-glass log will help debug the applet I don't know.

Code: Select all

root@porteus:/home/guest# cinnamon-looking-glass
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-looking-glass/cinnamon-looking-glass.py", line 551, in <module>
    sessionBus = dbus.SessionBus ()
  File "/usr/lib64/python3.6/site-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
  File "/usr/lib64/python3.6/site-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib64/python3.6/site-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
root@porteus:/home/guest# 

Re: my-weather-indicator applet

Posted: 31 Jan 2019, 07:11
by jssouza
Ed_P wrote:
31 Jan 2019, 07:01
Whether the looking-glass log will help debug the applet I don't know.

Code: Select all

root@porteus:/home/guest# cinnamon-looking-glass
Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-looking-glass/cinnamon-looking-glass.py", line 551, in <module>
    sessionBus = dbus.SessionBus ()
  File "/usr/lib64/python3.6/site-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
  File "/usr/lib64/python3.6/site-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib64/python3.6/site-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
root@porteus:/home/guest# 
No no! That's not the log, that's a crash! What I also should have mentioned was to run cinnamon-looking-glass as guest and not as root.

You should get an application window.

Re: my-weather-indicator applet

Posted: 31 Jan 2019, 15:12
by Ed_P
jssouza wrote:
31 Jan 2019, 07:11
run cinnamon-looking-glass as guest and not as root.

You should get an application window.
Yup. :happy62: And right clicking Troubleshoot>Looking Glass in the panel works now also. Thank you jssouza. :worship: :friends: :beer:

Re: my-weather-indicator applet

Posted: 05 Feb 2019, 23:05
by Rava
Would my-weather-indicator applet work in a reasonable way on Openbox or XFCE (dev version), without having to activate a huge overload of dependencies?
Or is all I would need as dependency the above "2 python xzm" modules?

Re: my-weather-indicator applet

Posted: 05 Feb 2019, 23:09
by Ed_P
The applet requires a DE so right click on your panel and see if it's an option. The 05-devel module is required to download it but not to run it.