my-weather-indicator applet

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

my-weather-indicator applet

Post#1 by Ed_P » 22 Jan 2019, 06:21

Anyone got the my-weather-indicator applet to work with Porteus? With the Cinnamon DE especially?
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: my-weather-indicator applet

Post#2 by Rava » 25 Jan 2019, 02:31

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
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: my-weather-indicator applet

Post#3 by Ed_P » 25 Jan 2019, 04:21

Rava wrote:
25 Jan 2019, 02:31

Code: Select all

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

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: my-weather-indicator applet

Post#4 by Rava » 25 Jan 2019, 04:34

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? :(
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: my-weather-indicator applet

Post#5 by Ed_P » 25 Jan 2019, 04:40

Here: my-weather-indicator applet

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

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: my-weather-indicator applet

Post#6 by Rava » 25 Jan 2019, 04:46

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.
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: my-weather-indicator applet

Post#7 by Ed_P » 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:
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: my-weather-indicator applet

Post#8 by Rava » 31 Jan 2019, 00:46

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…
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: my-weather-indicator applet

Post#9 by Ed_P » 31 Jan 2019, 05:18

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?
Ed

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Re: my-weather-indicator applet

Post#10 by jssouza » 31 Jan 2019, 05:55

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.

User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: my-weather-indicator applet

Post#11 by Ed_P » 31 Jan 2019, 07:01

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# 
Ed

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Re: my-weather-indicator applet

Post#12 by jssouza » 31 Jan 2019, 07:11

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.

User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: my-weather-indicator applet

Post#13 by Ed_P » 31 Jan 2019, 15:12

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:
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: my-weather-indicator applet

Post#14 by Rava » 05 Feb 2019, 23:05

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?
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: my-weather-indicator applet

Post#15 by Ed_P » 05 Feb 2019, 23:09

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.
Ed

Post Reply