Jump to content


Photo

problem with weather plugin


  • Please log in to reply
17 replies to this topic

#1 saeedn52

  • Member
  • 21 posts

0
Neutral

Posted 7 February 2012 - 08:24

hi
i use last version of pli but in the weather plugin cannot change location
when i press MENU button it does not work & not happen

Re: problem with weather plugin #2 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 7 February 2012 - 22:17

Same thing with me but I thought it was beacuse I bought a new DM7020HD and it was something special with this type of DM.

Weather Plugin has been and is still working fine on my older DM800 that has had the plugin installed for a year or more.

The work around is to put your entries in the "settings" file (/etc/enigma2) but you have to stop enigma2 to do this (init 4) and then re-start.

Entries should be something like:

config.plugins.WeatherPlugin.entriescount=3
config.plugins.WeatherPlugin.Entries.1.city=Paris
config.plugins.WeatherPlugin.Entries.0.city=Frankfurt
config.plugins.WeatherPlugin.Entries.2.city=Hamburg


I think it is something to do with the keymapping on the DM7020HD or maybe the differnt type of remote control that the DM7020HD has.

Can an expert have a look into this and see if it can be fixed?

Re: problem with weather plugin #3 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 10 February 2012 - 12:14

Weather Plugin has been and is still working fine on my older DM800 that has had the plugin installed for a year or more.

Correction: Now the DM800 has the same issue as the DM7020HD. I suspect that somewhere during recent OpenPLi updates something has changed from the standard keymapping and therefore caused this rather old plugin not to work correctly.

Can anyone shine some light on the issue and suggest a fix?

It is not a very high priority but it is frustrating when plugins work then stop working due to other changes in the image.

Re: problem with weather plugin #4 saeedn52

  • Member
  • 21 posts

0
Neutral

Posted 11 February 2012 - 12:46

i have still this problem
pli must solve this problem i need weather plugin
:(
how can i change location?

Re: problem with weather plugin #5 PhenomXy

  • Senior Member
  • 120 posts

+3
Neutral

Posted 11 February 2012 - 13:51

i have still this problem
pli must solve this problem i need weather plugin
:(
how can i change location?

edit the file settings in /etc/enigma2

replace/edit or add this lines


config.plugins.WeatherPlugin.entriescount=1
config.plugins.WeatherPlugin.Entries.0.city=London
config.plugins.WeatherPlugin.Entries.0.language=en

btw this was refered in post #2

Re: problem with weather plugin #6 saeedn52

  • Member
  • 21 posts

0
Neutral

Posted 11 February 2012 - 17:17

sorry how can i stop enigma2 ?
when i add lines with my location after restart enigma all lines deleted

Re: problem with weather plugin #7 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 11 February 2012 - 17:32

init 4
<edit stuff>
init 3

Re: problem with weather plugin #8 saeedn52

  • Member
  • 21 posts

0
Neutral

Posted 11 February 2012 - 19:30

thank u very much
that problem is solved
i love u PLI :)

Re: problem with weather plugin #9 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 12 February 2012 - 00:27

The main problem of the menu button not working in the Weather Plugin under OpenPli 2.1 is still valid.

There is a work-around but anyone downloading the Weather Plugin from the OpenPLi plugin feed will not have a functioning plugin.

I suggest that either the plugin be removed from the OpenPLi feed (not my first choice) or someone with some Enigima2/Linux knowledge find out what has changed in the updated OpenPLi to cause this plugin not to work correctly and fix the issue.

Just my 2 cents.

Re: problem with weather plugin #10 PhenomXy

  • Senior Member
  • 120 posts

+3
Neutral

Posted 19 February 2012 - 13:00

The main problem of the menu button not working in the Weather Plugin under OpenPli 2.1 is still valid.

There is a work-around but anyone downloading the Weather Plugin from the OpenPLi plugin feed will not have a functioning plugin.

I suggest that either the plugin be removed from the OpenPLi feed (not my first choice) or someone with some Enigima2/Linux knowledge find out what has changed in the updated OpenPLi to cause this plugin not to work correctly and fix the issue.

Just my 2 cents.

it does work properly, you just cannot edit the settings by gui

Re: problem with weather plugin #11 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 19 February 2012 - 15:14

it does work properly, you just cannot edit the settings by gui

I agree that the Weather Plugin GUI (Menu Button) does not work but you can edit the settings file and it will work fine.

This does not affect users that have some idea of the details of Enigma2 but novice users will just download the Weather Plugin from the OpenPLi feed and it will not work for them and they will not have the knowledge or skill to get it to work.

I do not have the knowledge or skill to find the fault and correct it but I suggest that the Weather Plugin be removed from the OpenPLi feed until it is fixed. If not, it will only frustrate new/novice OpenPLi users who may decide to switch to another Image.

OpenPLi Admins: Any opinions???????

Re: problem with weather plugin #12 GOI

  • Member
  • 2 posts

0
Neutral

Posted 22 July 2012 - 09:03

init 4
<edit stuff>
init 3


THANKS A LOT!

Re: problem with weather plugin #13 macnuts

  • Senior Member
  • 420 posts

+14
Neutral

Posted 24 July 2012 - 00:01

The easy way to allow GUI setup is to modify the plugin.py file, like in the following diff-like snipplet:

--- plugin.py
+++ plugin.py
@@ -92,16 +92,17 @@
		def __init__(self, session):
				Screen.__init__(self, session)
				self.title = _("Weather Plugin")
				self["actions"] = ActionMap(["WizardActions", "DirectionActions", "ColorActions", "EPGSelectActions"],
				{
						"back": self.close,
						"input_date_time": self.config,
+					   "menu": self.config,
						"right": self.nextItem,
						"left": self.previousItem
				}, -1)
				self["statustext"] = StaticText()
				self["caption"] = StaticText()
				self["currentTemp"] = StaticText()
				self["condition"] = StaticText()

Regards.

Re: problem with weather plugin #14 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 24 July 2012 - 06:40

Creazy to call a configmenu input_date_time.... In which plugin does this occur again? That line with input_date_time can be removed too...

I did already fix this in two plugins....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: problem with weather plugin #15 macnuts

  • Senior Member
  • 420 posts

+14
Neutral

Posted 24 July 2012 - 09:24

enigma2-plugin-extensions-weatherplugin

Re: problem with weather plugin #16 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 24 July 2012 - 09:56

Indeed... the thread was about weather plugin... xqq

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: problem with weather plugin #17 fcs001fcs

  • Senior Member
  • 244 posts

+2
Neutral

Posted 28 July 2012 - 16:23

The easy way to allow GUI setup is to modify the plugin.py file, like in the following diff-like snipplet:


--- plugin.py
+++ plugin.py
@@ -92,16 +92,17 @@
		def __init__(self, session):
				Screen.__init__(self, session)
				self.title = _("Weather Plugin")
				self["actions"] = ActionMap(["WizardActions", "DirectionActions", "ColorActions", "EPGSelectActions"],
				{
						"back": self.close,
						"input_date_time": self.config,
+					   "menu": self.config,
						"right": self.nextItem,
						"left": self.previousItem
				}, -1)
				self["statustext"] = StaticText()
				self["caption"] = StaticText()
				self["currentTemp"] = StaticText()
				self["condition"] = StaticText()

Regards.


Creazy to call a configmenu input_date_time.... In which plugin does this occur again? That line with input_date_time can be removed too...

I did already fix this in two plugins....



Thank you for fixing this small but irritating problem!

Did an online update today and the Menu Button now works as it should in the Weather Plugin.

Thanks.

Re: problem with weather plugin #18 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 28 July 2012 - 16:31

From the beginning it is crasy to call a config menu input_date_time.... (to get in a config menu???)
I suggest this was caused due to past and copy work from the graphical multi EPG in the very past.... there the config was on the blue key that was input_date_time... and to input a date/time you had to click on menu. As we changed this in GME (menu=setup, blue=enter date/time) - other plugins get stuck....

Edited by littlesat, 28 July 2012 - 16:31.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users