Add-on stopped working: Forecastfox 2.2.4-pm

Anything to do with the Pale Moon add-ons website. (addons.palemoon.org)
Not for questions about add-ons themselves!
Forum rules
Important: This board is for specifics regarding the add-ons website (addons.palemoon.org) and not to report extension compatibility issues or discuss different extensions.
Please only post here when your topic is directly related to the add-ons website service so our moderators don't have to move your posts all the time...
New Tobin Paradigm

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by New Tobin Paradigm » 2015-02-08, 17:58

WknThDg wrote:Thanks Matt, for your expedient reply & actions.
I edited my post to reflect your note.
Other than a language problem (that Oleksandr is working on), it looks very promising.
Fingers crossed that your Pseudo-Static stays working and can be pushed through Add-on Manager updates.
The update that will be pushed will only fix the issues outlined in this thread. I am not aware of any language issues. I am NOT using his changed version as a base only fixing the issue in the original add-on which THAT will be the bases for the fork.

New Tobin Paradigm

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by New Tobin Paradigm » 2015-02-08, 22:53

Update Pushed - Just check for updates in the Add-on Manager or go get it off the Add-ons site.

WknThDg

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by WknThDg » 2015-02-09, 00:11

Matt A Tobin wrote:The update that will be pushed will only fix the issues outlined in this thread. I am not aware of any language issues. I am NOT using his changed version as a base only fixing the issue in the original add-on which THAT will be the bases for the fork.
Understood, as this thread only mentions updating/current info. problems of Forecastfox 2.2.4-pm.

Sorry, but I wasn't clear about the language issues (I wasn't refering to Forecastfox 2.2.4-pm, or the original).
But with Oleksandrs' forecastfox_fix_version-2.2.4b-sm+fx.xpi for Firefox, a couple of Firefox users are (but only if NOT using English), so I thought it was only prudent to mention it.
See below:
Forecastfox (fix version) :: Reviews :: Add-ons for Firefox

Code: Select all

https://addons.mozilla.org/en-US/firefox/addon/forecastfox-fix-version/reviews/
Updated to the pushed forecastfox_weather-2.2.5-pm.xpi via Add-on Manager an hour ago.
All seems well so far and all locations update every ~15 min.

Thank you

NorrinRadd

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by NorrinRadd » 2015-02-09, 14:34

Matt A Tobin wrote:Update Pushed - Just check for updates in the Add-on Manager or go get it off the Add-ons site.
Many thanks. Nice having it back in working order. I also use AniWeather, but to me it's more of a complement to Forecastfox than a replacement.

NorrinRadd

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by NorrinRadd » 2015-02-10, 23:15

On further observation, this seems to be only a partial fix. I have Forecastfox set to cycle among the three nearest stations. At least one of them still seems to be "un-updating" backward at least two days.

New Tobin Paradigm

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by New Tobin Paradigm » 2015-02-10, 23:45

Sometimes the accuweather server gives out only a partial data file that can prevent updating.. Will you watch your error console for errors relating to accuweather and report them here..

User avatar
eskaton
Lunatic
Lunatic
Posts: 474
Joined: 2013-08-23, 19:54

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by eskaton » 2015-02-11, 01:24

I'm seeing an issue with 2.2.5-pm where the throbber keeps going and going but doesn't update.
Here's the only entries from the error console when I manually run an update:

Error: No Element Found
it highlights the last line for obsdate
<?xml version="1.0" encoding="utf-8" ?>
<adc_database>

<units>
<temp>F</temp>
<dist>MI</dist>
<speed>MPH</speed>
<pres>IN</pres>
<prec>IN</prec>
</units>
<local>
<city>Antioch</city>
<country code="US">United States</country>
<adminArea>Tennessee</adminArea>
<postalCode country="US">37013</postalCode>
<lat>36.045</lat>
<lon>-86.635</lon>
<date>2/10/2015</date>
<time>13:06</time>
<currentGmtOffset>-6</currentGmtOffset>
<timeZoneAbbreviation>CST</timeZoneAbbreviation>
</local>
<cache>
<refreshDateTime>2/10/2015 20:02</refreshDateTime>
</cache>
<forecast>

<url>http://spotlight.accuweather.com/dyndoc ... stfox</url>
<url5Day>http://spotlight.accuweather.com/dyndoc ... x</url5Day>
<hbh>http://spotlight.accuweather.com/dyndoc ... stfox</hbh>

<day number="2">

<url>http://spotlight.accuweather.com/dyndoc ... day=2</url>

<obsDate>
Warning: Use of getPreventDefault() is deprecated. Use defaultPrevented instead
/*!
* jQuery JavaScript Library v1.5
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Mon Jan 31 08:31:29 2011 -0500
*/
(function(a,b){function b$(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function bX(a){if(!bR[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bR[a]=c}return bR[a]}function bW(a,b){var c={};d.each(bV.concat.apply([],bV.slice(0,b)),function(){c[this]=a});return c}function bJ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f=a.converters,g,h=e.length,i,j=e[0],k,l,m,n,o;for(g=1;g<h;g++){k=j,j=e;if(j==="*")j=k;else if(k!=="*"&&k!==j){l=k+" "+j,m=f[l]||f["* "+j];if(!m){o=b;for(n in f){i=n.split(" ");if(i[0]===k||i[0]==="*"){o=f[i[1]+" "+j];if(o){n=f[n],n===!0?m=o:o===!0&&(m=n);break}}}}!m&&!o&&d.error("No conversion from "+l.replace(" "," to ")),m!==!0&&(c=m?m(c):o(n(c)))}}return c}function bI(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g]=d);while(f[0]==="*")f.shift(),h===b&&(h=c.getResponseHeader("content-type"));if(h)for(i in e)if(e&&e.test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bH(a,b,c,e){d.isArray(b)&&b.length?d.each(b,function(b,f){c||bp.test(a)?e(a,f):bH(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)}):c||b==null||typeof b!=="object"?e(a,b):d.isArray(b)||d.isEmptyObject(b)?e(a,""):d.each(b,function(b,d){bH(a+"["+b+"]",d,c,e)})}function bG(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bD,l;for(;i<j&&(k||!l);i++)l=h(c,d,e),typeof l==="string"&&(g[l]?l=b:(c.dataTypes.unshift(l),l=bG(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bG(a,c,d,e,"*",g));return l}function bF(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bz),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bn(a,b,c){var e=b==="width"?bh:bi,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function()s(e,typeof a==="string"?a:a+"px")}})})(window);
{cutting the code off here}

New Tobin Paradigm

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by New Tobin Paradigm » 2015-02-11, 01:56

The first one is as i said above. There is nothing that can be done if the accuweather server doesn't send a complete file and cuts off.

The second is nothing to be conserned about.

NorrinRadd

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by NorrinRadd » 2015-02-11, 10:59

Yeah, it's a "No element found" error.
<?xml version="1.0" encoding="utf-8" ?>
<adc_database>

<units>
<temp>F</temp>
<dist>MI</dist>
<speed>MPH</speed>
<pres>IN</pres>
<prec>IN</prec>
</units>
<local>
<city>Ellwood City</city>
<country code="US">United States</country>
<adminArea>Pennsylvania</adminArea>
<postalCode country="US">16117</postalCode>
<lat>40.87</lat>
<lon>-80.258</lon>
<date>2/11/2015</date>
<time>04:02</time>
<currentGmtOffset>-5</currentGmtOffset>
<timeZoneAbbreviation>EST</timeZoneAbbreviation>
</local>
<cache>
<refreshDateTime>2/11/2015 09:50</refreshDateTime>
</cache>
<forecast>

<url>http://spotlight.accuweather.com/dyndoc ... PA/Ellwood City/16117/city-weather-forecast.asp?partner=forecastfox</url>
<url5Day>http://spotlight.accuweather.com/dyndoc ... PA/Ellwood City/16117/forecast-details.asp?partner=forecastfox</url5Day>
<hbh>http://spotlight.accuweather.com/dyndoc ... PA/Ellwood City/16117/forecast-hourly.asp?partner=forecastfox</hbh>

<day number="2">

<url>http://spotlight.accuweather.com/dyndoc ... PA/Ellwood City/16117/forecast-details.asp?partner=forecastfox&fday=2</url>

<obsDate>
Happens every time it attempts to update, or when I manually force an update. Only for my local station, of course. :x The one 12 miles away and the one 8 miles away seem to work fine. Better than nothing, but still...

The only problem I've seen for the past several hours is the "no" updating. The "downdating" thing that had it jump backward a few days has not recurred.

New Tobin Paradigm

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by New Tobin Paradigm » 2015-02-11, 11:28

I've had it happen on occasion but it is deff accuweather's server crapping out. Maybe with the full fork status coming I can open a dialogue with them.

New Tobin Paradigm

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by New Tobin Paradigm » 2015-02-11, 12:04

Please direct further issues with the current ForecastFox Pseudo-Static as well as future issues with the fork to: https://github.com/Pale-Moon-Addons-Team/cumulonimbus/issues

New Tobin Paradigm

Re: Add-on stopped working: Forecastfox 2.2.4-pm

Unread post by New Tobin Paradigm » 2015-02-12, 14:46

It seems the developer for the "Fixed" version has added Direct Pale Moon support..

https://addons.mozilla.org/en-us/firefox/addon/forecastfox-fix-version/

I am going to leave the Pseudo-Static (which does have an issue still) up for a little longer.. If this stays updated I will withdraw the Pseudo-Static and cancel my development plans for a fork of our own.

If you are going to switch be sure to REMOVE the pseudo-static before installing his fix version as they will conflict.

Locked