Hallo
can anyone tel me how to decompile this file?
i want to change file for skinning
thanks
speedy005
Hallo
can anyone tel me how to decompile this file?
i want to change file for skinning
thanks
speedy005
try
did you debug from telnet to see the exact error
the online compiler doesn't work well.. it cuts the code and doesn't align it well
An error occurred during compilation of the patch at line number: 434
use the attachment and debug
which skin are you using?
put code
screen name="Infobar"
here
14:28:57.2058 File "/usr/lib/enigma2/python/Components/Converter/xDreamy_mod_MSNWeather2.py", line 2097, in getText
msnweather['Sunrise'] = '%s%s%s%s' % (SRh, unichr(58).encode("latin-1"), SRx, SRm)
^^^^^^
14:28:57.2059 NameError: name 'unichr' is not defined
with MSNWeather2.pyc al ok skin is xDreamy
try
<screen name="Weather_infobar" position="0,0" backgroundColor="transparent" flags="wfNoBorder">
<!-- Weather infobar -->
<ePixmap pixmap="xDreamy_mod/icons/thermometer_22.png" position="144,52" size="40,40" zPosition="5" alphatest="blend" />
<ePixmap pixmap="xDreamy_mod/icons/sonnenuntergang.png" position="345,94" size="40,38" zPosition="1" alphatest="blend" />
<ePixmap pixmap="xDreamy_mod/icons/sonnenaufgang.png" position="345,80" size="40,23" zPosition="2" alphatest="blend" />
<widget source="session.CurrentService" render="Label" position="390,105" size="196,30" font="NotoSans-Bold; 30" foregroundColor="yellow" backgroundColor="black" halign="left" transparent="1" valign="center">
<convert type="xDreamy_mod_MSNWeather2">Sunset</convert>
</widget>
<widget source="session.CurrentService" render="Label" position="391,77" size="196,30" font="NotoSans-Bold; 30" foregroundColor="green" backgroundColor="black" halign="left" transparent="1" valign="center">
<convert type="xDreamy_mod_MSNWeather2">Sunrise</convert>
</widget>
<eLabel text="Wind:" position="368,140" size="98,30" zPosition="5" halign="left" font="NotoSans-Bold; 30" backgroundColor="black" transparent="1" foregroundColor="green" valign="center" />
<widget source="session.CurrentService" render="Label" position="460,141" size="150,30" font="NotoSans-Bold; 26" foregroundColor="mediumblue" backgroundColor="black" halign="left" transparent="1" valign="center">
<convert type="xDreamy_mod_MSNWeather2">Windspeed</convert>
</widget>
<eLabel text="Aktuell:" position="5,138" size="131,30" zPosition="5" halign="left" font="NotoSans-Bold; 30" backgroundColor="black" transparent="1" foregroundColor="listRecording" valign="center" />
<eLabel text="Ort:" position="5,2" size="74,35" zPosition="5" halign="left" font="NotoSans-Bold; 30" backgroundColor="black" transparent="1" foregroundColor="mediumblue" valign="center" />
<widget source="session.CurrentService" render="Label" font="NotoSans-Bold; 30" position="348,33" size="200,40" backgroundColor="un101010" zPosition="3" transparent="1" halign="center" valign="center" foregroundColor="mediumblue">
<convert type="xDreamy_mod_MSNWeather2">Date0</convert>
</widget>
<widget source="session.CurrentService" render="Label" position="263,105" size="80,30" font="NotoSans-Bold; 30" foregroundColor="listRecording" backgroundColor="black" halign="left" transparent="1" valign="center">
<convert type="xDreamy_mod_MSNWeather2">Hightemp0</convert>
</widget>
<ePixmap pixmap="xDreamy_mod/icons/temp_high_low_2.png" position="218,112" size="40,20" zPosition="5" scale="1" alphatest="blend" />
<widget source="session.CurrentService" render="Label" position="348,3" size="200,40" font="NotoSans-Bold; 30" foregroundColor="listRecording" backgroundColor="un101010" halign="center" transparent="1" valign="center">
<convert type="xDreamy_mod_MSNWeather2">Day0</convert>
</widget>
<widget source="session.CurrentService" text="54 `C" render="Label" position="167,43" size="150,60" font="NotoSans-Bold; 46" foregroundColor="green" backgroundColor="un101010" halign="right" transparent="1" valign="center">
<convert type="xDreamy_mod_MSNWeather2">Feelslike</convert>
</widget>
<widget source="session.CurrentService" render="Label" position="130,138" size="235,30" font="NotoSans-Bold; 30" foregroundColor="yellow" backgroundColor="black" halign="left" transparent="1" valign="center">
<convert type="xDreamy_mod_MSNWeather2">Vfd</convert>
</widget>
<widget render="xDreamy_mod_PiconUni_2" source="session.CurrentService" path="xDreamy_mod/weather/smile/" position="14,36" size="100,100" zPosition="12" alphatest="blend" transparent="1">
<convert type="xDreamy_mod_MSNWeather2">Picon0</convert>
</widget>
<widget source="session.CurrentService" render="Label" position="136,105" size="80,30" font="NotoSans-Bold; 30" backgroundColor="un101010" halign="right" transparent="1" valign="center" foregroundColor="mediumblue">
<convert type="xDreamy_mod_MSNWeather2">Lowtemp0</convert>
</widget>
<widget source="session.CurrentService" render="Label" position="72,0" size="300,40" font="NotoSans-Bold; 30" foregroundColor="yellow" backgroundColor="un101010" halign="left" transparent="1" valign="center">
<convert type="xDreamy_mod_MSNWeather2">Location</convert>
</widget>
<widget noWrap="1" backgroundColor="black" font="NotoSans-Bold; 25" render="Label" position="280,8" size="80,30" source="session.CurrentService" zPosition="4" halign="left" transparent="1" foregroundColor="green">
<convert type="xDreamy_mod_MSNWeather2">Humidity</convert>
</widget>
<ePixmap pixmap="xDreamy_mod/icons/rain.png" position="247,9" size="28,30" zPosition="4" transparent="1" alphatest="blend" />
</screen>
Lowtemp0 Humidity Feelslike Hightemp0 Sunrise Sunset
The information is not correct and is misrepresented
Sunrise should be 07:15, for example
That's probably how Lowtemp0 Lowtemp1 works for everyone
Lowtemp2
Lowtemp3
Lowtemp4
Hightemp0
Hightemp1
Hightemp2
Hightemp3
Hightemp4
Lowtemp0
Lowtemp1
Lowtemp2
Lowtemp3
Lowtemp4
I was expecting more of a "thanks it worked"
however for this you don't have to contact me but the skinner.
I skin myself, it has nothing to do with the skin. The msnweather2.pyc works, but I would like to have an msnweather2.py where I can change something.
I say thank you to many for your help
the time is taken from the link on msnweather (city) when you make the request it takes the time from there
self.iConsole.ePopen("wget -P /tmp -T2 'http://weather.service.msn.com/data.aspx?weadegreetype=%s&culture=%s&weasearchstr=%s&src=outlook' -O /tmp/weathermsn2.xml" % (degreetype, weather_location, weather_city), self.control_xml)
?
The time is displayed incorrectly by the converter
?
place .pyc file here and I decompile it
how to set the time in the right format?
https://github.com/Sirius0103/enigma2-plugins/blob/master/python/Plugins/Extensions/WeatherMSN/components/MSNWeather2.py
@post
are you kidding me?
I gave him the file, these versions are all the same.
The linked one is more than 3 years old.. it seems like you're competing with me.
You continue with the user, I have other things to do friend
?
this dont work with openatv 7.4
i have see that bevor
Don’t have an account yet? Register yourself now and be a part of our community!