Comments (11)
Show output
gis-weather --version
dpkg -l | grep libgtk-3
from gis-weather.
gis-weather --version lists out (twice):
Gis Weather 0.8.0
Gis Weather 0.8.0
dpkg -l | grep libgtk-3 gives the following results:
ii libgtk-3-0:i386 3.4.2-7+deb7u1 i386 GTK+ graphical user interface library
ii libgtk-3-bin 3.4.2-7+deb7u1 i386 programs for the GTK+ graphical user interface library
ii libgtk-3-common 3.4.2-7+deb7u1 all common files for the GTK+ graphical user interface library
Thanks. The same program works well in Ubuntu Trusty - so I hope it must be something to do with Gtk3/Glade.
from gis-weather.
Try run gis-weather.py from old_gtk branch https://github.com/RingOV/gis-weather/archive/old_gtk.zip
Show all output
from gis-weather.
Thanks. This is what I have got (for the old_gtk version):
`$ ./gis-weather.py
Gis Weather 0.8.0.12
Configuration folder:
/home/subz/.config/gis-weather/gw_config1.json
Widget size:
width = 684 height = 320 including indent = 20
Your screen supports alpha
Traceback (most recent call last):
File "./gis-weather.py", line 771, in expose
weather1 = get_weather()
File "./gis-weather.py", line 427, in get_weather
if app.show_edit_dialog():
File "./gis-weather.py", line 1525, in show_edit_dialog
dialog, entrybox, treeview, bar_err, bar_ok, bar_label, combobox_weather_lang, weather_lang_list, combobox_service, grid_appid, entrybox_appid = city_id_dialog.create(self.window_main, APP_PATH, service);
File "/home/subz/PDF/gis-weather-old_gtk/dialogs/city_id_dialog.py", line 109, in create
ui.add_from_file(os.path.join(APP_PATH, "dialogs","city_id_dialog.ui"))
File "/usr/lib/python3/dist-packages/gi/types.py", line 43, in function
return info.invoke(_args, *_kwargs)
gi._glib.GError: Unhandled tag: 'packing'
Check for new version (gz)
You are using the latest version
Traceback (most recent call last):
File "./gis-weather.py", line 771, in expose
weather1 = get_weather()
File "./gis-weather.py", line 427, in get_weather
if app.show_edit_dialog():
File "./gis-weather.py", line 1525, in show_edit_dialog
dialog, entrybox, treeview, bar_err, bar_ok, bar_label, combobox_weather_lang, weather_lang_list, combobox_service, grid_appid, entrybox_appid = city_id_dialog.create(self.window_main, APP_PATH, service);
File "/home/subz/PDF/gis-weather-old_gtk/dialogs/city_id_dialog.py", line 109, in create
ui.add_from_file(os.path.join(APP_PATH, "dialogs","city_id_dialog.ui"))
File "/usr/lib/python3/dist-packages/gi/types.py", line 43, in function
return info.invoke(_args, *_kwargs)
gi._glib.GError: Unhandled tag: 'packing'
Traceback (most recent call last):
File "./gis-weather.py", line 771, in expose
weather1 = get_weather()
File "./gis-weather.py", line 427, in get_weather
if app.show_edit_dialog():
File "./gis-weather.py", line 1525, in show_edit_dialog
dialog, entrybox, treeview, bar_err, bar_ok, bar_label, combobox_weather_lang, weather_lang_list, combobox_service, grid_appid, entrybox_appid = city_id_dialog.create(self.window_main, APP_PATH, service);
File "/home/subz/PDF/gis-weather-old_gtk/dialogs/city_id_dialog.py", line 109, in create
ui.add_from_file(os.path.join(APP_PATH, "dialogs","city_id_dialog.ui"))
File "/usr/lib/python3/dist-packages/gi/types.py", line 43, in function
return info.invoke(_args, *_kwargs)
gi._glib.GError: Unhandled tag: 'packing'
Traceback (most recent call last):
File "./gis-weather.py", line 771, in expose
weather1 = get_weather()
File "./gis-weather.py", line 427, in get_weather
if app.show_edit_dialog():
File "./gis-weather.py", line 1525, in show_edit_dialog
dialog, entrybox, treeview, bar_err, bar_ok, bar_label, combobox_weather_lang, weather_lang_list, combobox_service, grid_appid, entrybox_appid = city_id_dialog.create(self.window_main, APP_PATH, service);
File "/home/subz/PDF/gis-weather-old_gtk/dialogs/city_id_dialog.py", line 109, in create
ui.add_from_file(os.path.join(APP_PATH, "dialogs","city_id_dialog.ui"))
File "/usr/lib/python3/dist-packages/gi/types.py", line 43, in function
return info.invoke(_args, *_kwargs)
gi._glib.GError: Unhandled tag: 'packing'
Traceback (most recent call last):
File "./gis-weather.py", line 771, in expose
weather1 = get_weather()
File "./gis-weather.py", line 427, in get_weather
if app.show_edit_dialog():
File "./gis-weather.py", line 1525, in show_edit_dialog
dialog, entrybox, treeview, bar_err, bar_ok, bar_label, combobox_weather_lang, weather_lang_list, combobox_service, grid_appid, entrybox_appid = city_id_dialog.create(self.window_main, APP_PATH, service);
File "/home/subz/PDF/gis-weather-old_gtk/dialogs/city_id_dialog.py", line 109, in create
ui.add_from_file(os.path.join(APP_PATH, "dialogs","city_id_dialog.ui"))
File "/usr/lib/python3/dist-packages/gi/types.py", line 43, in function
return info.invoke(_args, *_kwargs)
gi._glib.GError: Unhandled tag: 'packing'
[1] 7475 terminated ./gis-weather.py
`
I feel that the problem may be with python3-gi, and from the errors above it appears that glib available in Wheezy is creating some issues...?
from gis-weather.
Forgot to mention this. I had to manually terminate gis-weather as it was just hanging around without giving anymore output. Hence that last line 'terminated ./gis-weather.py'.
from gis-weather.
Problem was finded.
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/998208
Try latest version of old_gtk
https://github.com/RingOV/gis-weather/archive/104c7f20282b648f72807e652ddf9d7f8a303941.zip
I removed some packin tags in GtkInfoBar 104c7f2
this is not fully solved problem. Then I open city_id_dialog.ui with Glade, all packing will auto recreated.
You can use this version and disable check of update option in preferences.
Or manually remove needed tag after other update.
from gis-weather.
Partial success... This time the latest version you provided in the link could start, but it was not going beyond the initial city-selection/location screen. Waited and waited, and ultimately terminated the app. The terminal output is given below:
$ python3 gis-weather.py
Gis Weather 0.8.0.12
Configuration folder:
/home/subz/.config/gis-weather/gw_config1.json
Widget size:
width = 684 height = 320 including indent = 20
Your screen supports alpha
[1] 6378 terminated python3 gis-weather.py
I don't know if there was any fix for Glade in case of Debian Wheezy - there was a mention that the Ubuntu guys had brought out a fix for Glade in Precise (from the launchpad link you posted)...
Here is the link for screenshot: http://imgur.com/BAQYs6v
from gis-weather.
Close this window and open from popup menu: Location→Setup. Or restart widget.
Then I tested on Weezy I saw clear city_id_dialog too.
from gis-weather.
Thank you RingOV for all your efforts. This time I closed the city_id_dialog window as you had suggested, and then manually opened the Location-Setup from Widget. It opened but again after a few seconds another window popped up and just kept on hanging around, and if I close it again it would pop-up... I have attached the screenshot link. If this problem can't be fully solved for Wheezy then drop the whole issue - as this program is working in other versions of Debian/Ubuntu. I should not bother you too much for a problem that may be with my OS (which I am not able figure out)...
Here is the link for the screenshot: http://imgur.com/r3ZASi8
from gis-weather.
Most easy way for You - is quikly close clear window, select gismeteo, type «1234» for city code and click «Add». After this program must be working right.
from gis-weather.
Yes, finally it came to be alive..! Thanks for all your efforts. I tested three services, but didn't test OpenWeatherMap as it requires a signing in and I thought I could get the info from AccuWeather instead. The remaining two have some problem concerning downloading of weather-icons I guess... There was an endless loop with Gismeteo (I had to terminate the app ultimately), and also partially the same with Yr service. I have attached the screenshots so that you may look-in. From what I have seen AccuWeather is fine, so I am closing this. Thanks a lot for your kind inputs.
Links for screenshots: http://imgur.com/JhG5pNr (Gismeteo), http://imgur.com/V4102ig (Yr)
from gis-weather.
Related Issues (20)
- Openweather not working
- Night Time icons shown only HOT 9
- Configuration file renewal
- Using gismeteo.com (with latest gis-weather 0.8.4), city name is shown in Russian HOT 8
- Using openweather. HOT 5
- stopped working
- Cannot download forecast HOT 3
- Compatibility issue with Cinnamon 4.4.x and Groupped Window List HOT 1
- Python 3.8 removed function HOT 2
- change to the weather menu not working HOT 1
- AppIndicator3.Indicator.set_icon deprecated HOT 1
- crashes un startup after configuering station
- How do I close this issue? HOT 10
- Hides when Super + D
- blurry icons HOT 1
- DeprecationWarning: Gtk.Window
- Why can't show all info in English?
- Не работает Gis-Weather 0.8.4.17-1 из AUR (Manjaro Gnome 22.1.3) HOT 1
- Gis-Weather KDE Wayland How To HOT 1
- Can't set Yr.no
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gis-weather.