on git all ok on python code
[E² Plugin] OAWeather for PLi
-
- OAWeather
- W@Rp
- Thread is marked as Resolved.
-
-
VTI image py2
VUuno4kse
-
whats to do?
root@vuuno4kse:~# python -V
Python 2.7.9
root@vuuno4kse:~#
-
try this version too..
and feedback here..
-
-

The
replacefunction was added in Python 3.3, but you're running this on a system with Python 2.x (likely an Enigma2-based set-top box). -
now this
line 281
print(f"[DEBUG] Weatherinfo Raw Weather for {src}. Code Received: {code}")
-
is complicate.. convert py3 to py2
try
-
wowowo, error is in weatherinfo.py in tools
in plugin.py no more errors
-
debug with this..
-
/usr/lib/enigma2/python/Components/Sources/
-
Python
File "/usr/lib/enigma2/python/mytest.py", line 703, in <module> 16:29:42.321 [e2-python] runScreenTest() 16:29:42.322 [e2-python] File "/usr/lib/enigma2/python/mytest.py", line 534, in runScreenTest 16:29:42.322 [e2-python] session = Session(desktop = getDesktop(0), summary_desktop = getDesktop(1), navigation = nav) 16:29:42.322 [e2-python] File "/usr/lib/enigma2/python/mytest.py", line 226, in __init__ 16:29:42.322 [e2-python] p(reason=0, session=self) 16:29:42.322 [e2-python] File "/usr/lib/enigma2/python/Plugins/Extensions/OAWeather/plugin.py", line 993, in sessionstart 16:29:42.323 [e2-python] from Components.Sources.OAWeather import OAWeather 16:29:42.324 [e2-python] File "/usr/lib/enigma2/python/Components/Sources/OAWeather.py", line 230 16:29:42.324 [e2-python] SyntaxError: Non-ASCII character '\xc2' in file /usr/lib/enigma2/python/Components/Sources/OAWeather.py on line 230, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details -
fix
-
no error but when openig the plugin
Code
Display MoreFile "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action res = self.actions[action]() File "/usr/lib/enigma2/python/Plugins/Extensions/OAWeather/plugin.py", line 1192, in config self.session.openWithCallback(self.configFinished, WeatherSettingsViewNew) File "/usr/lib/enigma2/python/mytest.py", line 343, in openWithCallback dlg = self.open(screen, *arguments, **kwargs) File "/usr/lib/enigma2/python/mytest.py", line 356, in open self.execBegin() File "/usr/lib/enigma2/python/mytest.py", line 259, in execBegin c.execBegin() File "/usr/lib/enigma2/python/Screens/Screen.py", line 89, in execBegin val.execBegin() File "/usr/lib/enigma2/python/Components/ActionMap.py", line 37, in execBegin self.checkBind() File "/usr/lib/enigma2/python/Components/ActionMap.py", line 31, in checkBind self.doBind() File "/usr/lib/enigma2/python/Components/ActionMap.py", line 20, in doBind self.p.bindAction(ctx, self.prio, self.action) TypeError: in method 'eActionMap_bindAction', argument 2 of type 'std::string const &' -
try..
-
no data in plugin
Code
Display More[#1049] skin.py Looking for embedded skin 17:47:00.234 [e2-python] [#0395] skin.py ('[Skin ERROR] Attribute not implemented: ', 'resolution', 'value:', '1280,720') 17:47:00.298 [e2-python] [#0035] Components/GUISkin.py warning, skin is missing elementupdatein<class 'Plugins.Extensions.OAWeather.plugin.OAWeatherPlugin'> 17:47:00.363 [e2-python] [#0035] Components/GUISkin.py warning, skin is missing elementcurrentin<class 'Plugins.Extensions.OAWeather.plugin.OAWeatherPlugin'> 17:47:01.690 [e2-python] [LCD4linux] Data-Build 17:47:01.700 [e2-python] [LCD4linux] 1. Vendor=04e8 ProdID=200d True 17:47:02.836 [e2-python] [LCD4linux] creating LCD-Picture: ['1', '', '', ''] 17:47:02.887 [e2-python] [LCD4linux] Push: 0.036 (4/0/0) Wait: 0.015 17:47:02.907 [e2-python] [LCD4linux] writing to Samsung Device 17:47:03.013 [e2-python] [LCD4linux] RunTime: 0.176 (Picture: 0.051 / Write: 0.125) 17:47:07.407 [e2-python] [#0044] Components/ActionMap.py action -> OAWeatherActions green 17:47:07.514 [e2-python] [#1049] skin.py Looking for embedded skin 17:47:07.590 [e2-python] [#0395] skin.py ('[Skin ERROR] Attribute not implemented: ', 'resolution', 'value:', '1280,720') 17:47:07.655 [e2-python] [#0399] skin.py ('[Skin ERROR] ', SkinError()) 17:47:07.722 [e2-python] [#0399] skin.py ('[Skin ERROR] ', SkinError()) 17:47:07.787 [e2-python] [#0399] skin.py ('[Skin ERROR] ', SkinError()) 17:47:15.381 [e2-python] [#0044] Components/ActionMap.py action -> OAWeatherFavoritesActions blue 17:47:15.452 [e2-python] [#0035] Components/GUISkin.py warning, skin is missing elementheaderin<class 'Screens.VirtualKeyBoard.VirtualKeyBoard'> 17:47:15.481 [e2-python] [#----] VTiCore [Speech2Text] add callback function 17:47:37.594 [e2-python] [#0044] Components/ActionMap.py action -> WizardActions down 17:47:38.270 [e2-python] [#0044] Components/ActionMap.py action -> OkCancelActions ok 17:47:38.274 [e2-python] [#----] VTiCore [Speech2Text] remove callback function 17:47:38.276 [e2-python] weatherInfo 17:47:38.277 [e2-python] 221 --------------------------------------------------- 17:47:38.277 [e2-python] msn 17:47:38.277 [e2-python] msn 17:47:38.278 [e2-python] getcitylist 17:47:38.278 [e2-python] getcitylist msn own 17:47:38.278 [e2-python] separateCityContry 17:47:38.278 [e2-python] name 17:47:38.278 [e2-python] bonn 17:47:38.278 [e2-python] None 17:47:38.278 [e2-python] getcitylist for city hier 17:47:38.278 [e2-python] https://geocoding-api.open-meteo.com/v1/search?language=de&count=10&name=bonn 17:47:38.279 [e2-python] getcitylist for city hier 1 17:47:38.279 [e2-python] apiserver 17:47:38.421 [e2-python] getcitylist for city hier 3 17:47:38.421 [e2-python] getcitylist for city hier 4 17:47:38.421 [e2-python] getcitylist 2 17:47:38.421 [e2-python] getcitylist try for 17:47:38.423 [e2-python] return citylist 17:47:38.502 [e2-python] [#0035] Components/GUISkin.py warning, skin is missing elementtextin<class 'Screens.ChoiceBox.ChoiceBox'> 17:47:39.683 [e2-python] [#0044] Components/ActionMap.py action -> WizardActions ok 17:47:39.688 [e2-python] 2025-11-11 17:47:39,687 - OAWeather - INFO - Adding new location: Bonn, Nordrhein-Westfalen, Köln, Kreisfreie Stadt Bonn, DEUTSCHLAND (7.09549, 50.73438) 17:47:39.688 [e2-python] 2025-11-11 17:47:39,687 - OAWeather - INFO - Adding new location: Bonn, Nordrhein-Westfalen, Köln, Kreisfreie Stadt Bonn, DEUTSCHLAND (7.09549, 50.73438) 17:47:39.689 [e2-python] 2025-11-11 17:47:39,689 - OAWeather - INFO - Added new favorite: [u'Bonn', 7.0954899999999999, 50.734380000000002] 17:47:39.690 [e2-python] 2025-11-11 17:47:39,689 - OAWeather - INFO - Added new favorite: [u'Bonn', 7.0954899999999999, 50.734380000000002] 17:47:41.765 [e2-python] [#0124] Screens/MessageBox.py Timeout! 17:47:48.553 [e2-python] [#0044] Components/ActionMap.py action -> OAWeatherFavoritesActions green 17:47:48.554 [e2-python] 2025-11-11 17:47:48,553 - OAWeather - INFO - Saving 2 favorites to /etc/enigma2/oaweather_fav.json 17:47:48.554 [e2-python] 2025-11-11 17:47:48,553 - OAWeather - INFO - Saving 2 favorites to /etc/enigma2/oaweather_fav.json 17:47:48.559 [e2-python] 2025-11-11 17:47:48,559 - OAWeather - INFO - Favorites saved successfully 17:47:48.560 [e2-python] 2025-11-11 17:47:48,559 - OAWeather - INFO - Favorites saved successfully 17:47:48.574 [e2-python] 2025-11-11 17:47:48,573 - OAWeather - INFO - Updated config choices 17:47:48.574 [e2-python] 2025-11-11 17:47:48,573 - OAWeather - INFO - Updated config choices 17:47:50.637 [e2-python] [#0124] Screens/MessageBox.py Timeout! 17:47:53.115 [e2-python] [#0044] Components/ActionMap.py action -> OkCancelActions cancel 17:47:58.214 [e2-python] [#0044] Components/ActionMap.py action -> OAWeatherActions menu 17:47:58.253 [e2-python] 2025-11-11 17:47:58,252 - OAWeather - INFO - Custom keymap loaded successfully 17:47:58.253 [e2-python] 2025-11-11 17:47:58,252 - OAWeather - INFO - Custom keymap loaded successfully 17:47:58.637 [e2-python] [#1062] skin.py No skin to read... 17:47:58.703 [e2-python] [#0035] Components/GUISkin.py warning, skin is missing elementstatusin<class 'Plugins.Extensions.OAWeather.plugin.WeatherSettingsViewNew'> 17:47:58.703 [e2-python] [#----] VTiCore [Speech2Text] add callback functionand by yellow button:
Code
Display More[37m[44m [#0044] Components/ActionMap.py [0m action -> OAWeatherFavoritesActions yellow [37m[44m [#0035] Components/GUISkin.py [0m warning, skin is missing elementheaderin<class 'Screens.VirtualKeyBoard.VirtualKeyBoard'> Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action res = self.actions[action]() File "/usr/lib/enigma2/python/Plugins/Extensions/OAWeather/plugin.py", line 2146, in onEdit text=current[0] File "/usr/lib/enigma2/python/mytest.py", line 343, in openWithCallback dlg = self.open(screen, *arguments, **kwargs) File "/usr/lib/enigma2/python/mytest.py", line 353, in open dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs) File "/usr/lib/enigma2/python/mytest.py", line 288, in instantiateDialog return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop) File "/usr/lib/enigma2/python/mytest.py", line 319, in doInstantiateDialog dlg.applySkin() File "/usr/lib/enigma2/python/Components/GUISkin.py", line 112, in applySkin self.createGUIScreen(self.instance, self.desktop) File "/usr/lib/enigma2/python/Components/GUISkin.py", line 28, in createGUIScreen val.GUIcreate(parent) File "/usr/lib/enigma2/python/Components/GUIComponent.py", line 108, in GUIcreate self.postWidgetCreate(self.instance) File "/usr/lib/enigma2/python/Components/VariableText.py", line 24, in postWidgetCreate instance.setText(self.message or "") TypeError: in method 'eLabel_setText', argument 2 of type 'std::string const &' (PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x84cc14b8>>,('OAWeatherFavoritesActions', 'yellow')) failed) -
give me a time ;)
-
- plugin in config are enabled?
:)
only with debug from telnet.. have details.. -
that the problem, menu screen ist empty
-
annother error
Your source for Enigma2 weather plugins
Find downloads and support for tools that show detailed local forecasts, severe weather alerts, and animated radar displays on your device. Discover Enigma2 weather plugins for your receiver. Access downloads and support to display local forecasts and real-time weather information directly on screen.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!
