Witam wszystkich i wybaczcie mi ale jestem nowy na forum. Z linuksem trochę jestem obeznany ale z forum? Dzięki dedito trafiłem i mogę coś napisać. My weather indicator działał bez problemu na starszych wersjach minta a teraz mimo że instalowałem jak zawsze nie wyświetla wigetu i nie mogę ustawić lokalizacji. Nie można wpisać ręcznie a automatyczna lokalizacja nic nie daje.
Nie wiem jakie załączniki mam przesłać?
Napisz też w jaki sposób instalowałeś.
Dodając repozytorium "atareao"?
EDIT:
Terminal twierdzi, że:
Kod:
jw@MINT20:~$ /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
<gettext.GNUTranslations object at 0x7f7ac5d773a0>
#####################################################
System: Linux
Machine: x86_64
Node: MINT20
Release: 5.4.0-53-generic
Version: #59-Ubuntu SMP Wed Oct 21 09:38:44 UTC 2020
Platform: Linux-5.4.0-53-generic-x86_64-with-glibc2.29
My-Weather-Indicator version: 0.9.5-0extras20.04.09
#####################################################
My-Weather-Indicator version: 0.9.5-0extras20.04.09
#####################################################
****** Requesting timezone identificacion
** OWM **
757692 22.6962 51.219
1
***** refreshing weather *****
OK. Internet connection. HTTPConnection: www.google.com
--- Updating data in location 0 ---
Error 1 org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Geoclue.Providers.UbuntuGeoIP was not provided by any .service files
Error 2 org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Geoclue.Providers.Hostip was not provided by any .service files
******* Adquiring inv direction *******
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 36, in <module>
main()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 956, in main
MWI()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 126, in __init__
self.load_preferences()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 352, in load_preferences
self.update_weather()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 141, in update_weather
self.update_menu(i)
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 636, in update_menu
location = geocodeapi.get_inv_direction(lat, lon)['city']
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/geocodeapi.py", line 136, in get_inv_direction
aplace = reverse.resolve()
gi.repository.GLib.Error: g-io-error-quark: Service Unavailable (0)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] Nie ma takiego pliku ani katalogu: '/var/crash/_opt_extras.ubuntu.com_my-weather-indicator_bin_my-weather-indicator.1000.crash'
Original exception was:
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 36, in <module>
main()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 956, in main
MWI()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 126, in __init__
self.load_preferences()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 352, in load_preferences
self.update_weather()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 141, in update_weather
self.update_menu(i)
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 636, in update_menu
location = geocodeapi.get_inv_direction(lat, lon)['city']
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/geocodeapi.py", line 136, in get_inv_direction
aplace = reverse.resolve()
gi.repository.GLib.Error: g-io-error-quark: Service Unavailable (0)
jw@MINT20:~$ dpkg -l | grep -i geoclue
ii geoclue-2.0 2.5.6-0ubuntu1 amd64 geoinformation service
ii libgeoclue-2-0:amd64 2.5.6-0ubuntu1 amd64 convenience library to interact with geoinformation service
W pliku ~/.config/my-weather-indicator/my-weather-indicator.conf spróbujcie ustawić na false zmienną "first-time": false, u mnie po tym zabiegu wystartowało.
(16-11-2020, 13:41)yahoob3 napisał(a): Napisz też w jaki sposób instalowałeś.
Dodając repozytorium "atareao"?
EDIT:
Terminal twierdzi, że:
Kod:
jw@MINT20:~$ /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
<gettext.GNUTranslations object at 0x7f7ac5d773a0>
#####################################################
System: Linux
Machine: x86_64
Node: MINT20
Release: 5.4.0-53-generic
Version: #59-Ubuntu SMP Wed Oct 21 09:38:44 UTC 2020
Platform: Linux-5.4.0-53-generic-x86_64-with-glibc2.29
My-Weather-Indicator version: 0.9.5-0extras20.04.09
#####################################################
My-Weather-Indicator version: 0.9.5-0extras20.04.09
#####################################################
****** Requesting timezone identificacion
** OWM **
757692 22.6962 51.219
1
***** refreshing weather *****
OK. Internet connection. HTTPConnection: www.google.com
--- Updating data in location 0 ---
Error 1 org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Geoclue.Providers.UbuntuGeoIP was not provided by any .service files
Error 2 org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Geoclue.Providers.Hostip was not provided by any .service files
******* Adquiring inv direction *******
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 36, in <module>
main()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 956, in main
MWI()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 126, in __init__
self.load_preferences()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 352, in load_preferences
self.update_weather()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 141, in update_weather
self.update_menu(i)
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 636, in update_menu
location = geocodeapi.get_inv_direction(lat, lon)['city']
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/geocodeapi.py", line 136, in get_inv_direction
aplace = reverse.resolve()
gi.repository.GLib.Error: g-io-error-quark: Service Unavailable (0)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] Nie ma takiego pliku ani katalogu: '/var/crash/_opt_extras.ubuntu.com_my-weather-indicator_bin_my-weather-indicator.1000.crash'
Original exception was:
Traceback (most recent call last):
File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 36, in <module>
main()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 956, in main
MWI()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 126, in __init__
self.load_preferences()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 352, in load_preferences
self.update_weather()
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 141, in update_weather
self.update_menu(i)
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 636, in update_menu
location = geocodeapi.get_inv_direction(lat, lon)['city']
File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/geocodeapi.py", line 136, in get_inv_direction
aplace = reverse.resolve()
gi.repository.GLib.Error: g-io-error-quark: Service Unavailable (0)
Dziwnie to działa... na 18.3 też były problemy, zwłaszcza z ustawieniem lokalizacji. Zrobiłem to "ręcznie", czyli wklepałem dane do pliku ~/.config/my-weather-indicator/my-weather-indicator.conf i to, co wyświetla program, zgadza się z tym, co mam za oknem
Zawartość mojego conf poniżej: