topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 26, 2018, 01:21 AM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Release: sWeather (tray-based weather app)  (Read 202877 times)

Biffle

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #550 on: May 18, 2018, 12:48 PM »
Yes, yes, of course, of course.
Windows 10 Home, 64bit

theinfinitypoint

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #551 on: August 14, 2018, 03:58 AM »
Hey Skwire,

I've been using your program for many years, and love it.  However about a year ago for some reason it stopped receiving any updates, no matter what new machine I install it on (latest version, everything says "N/A").  I cannot even search for my particular location (city name, zip, etc.).  This is not an issue with the Yahoo API that occurred back then, since I just reinstalled your program on my new Win 10 installation just now, and I'm still not getting any weather data.  I added the sweather.exe to be allowed for both incoming and outgoing connections in the Windows Firewall but that has not fixed anything.  I suspect maybe my router is blocking the port?!?  What port is it using, I may try to troubleshoot that next.  Also has anyone else experienced the same thing, and if so what was the fix?  Thanks!

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,252
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #552 on: August 14, 2018, 04:39 AM »
Have you tried switching to https:// mode in the settings? AFAICS, sWeather only uses port 80 (http) or 443 (https) for communicating with the Yahoo API, and that would be really funny if blocked by your router.

Do you have an add-blocking dns service in use, maybe a Pi-hole or something similar, or a provider-applied filter? It can be set to block any url that's Yahoo-like...

theinfinitypoint

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #553 on: August 14, 2018, 04:51 AM »
Thanks for the quick reply, no I haven't tried https://.  I just noticed that in fact.  However I'm running into a slightly different problem now, the settings aren't being saved for some reason.  Tried restarting the program and same thing.  I hit "Save" on the bottom right and theres a ~4 second pause, then the window goes away.  I open up options again and none of my settings were saved.  This wasn't doing it the first time I opened up this program...  Where are the settings for sWeather stored anyway?

EDIT: I tried "reset tray icon positions" and got an error:
Screenshot 020.jpgRelease: sWeather (tray-based weather app)

and indeed there is no file ".ico" in the path.

EDIT 2: OK I figured it out!  I've identified the issues.  First I had the sWeather directory in C:\Program Files (x86) which is privileged, and I think my security settings are still set such that sWeather cannot create the 2 additional files (config.ini and locations.lst) it needs.  Once I moved it to another directory it ran fine.  Enabling SSL/https I think fixed the issue of not receiving any weather updates.  Thanks for your help!
« Last Edit: August 14, 2018, 05:19 AM by theinfinitypoint »

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,252
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #554 on: August 14, 2018, 06:23 AM »
First I had the sWeather directory in C:\Program Files (x86) which is privileged
-theinfinitypoint (August 14, 2018, 04:51 AM)
This is portable software, and thus shouldn't be installed in Program Files or other protected directories.
Settings are stored in an .ini file in the directory where the .exe is found.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 38,839
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #555 on: August 14, 2018, 06:57 AM »
This is portable software, and thus shouldn't be installed in Program Files or other protected directories.

What ATH said.

As a general rule, if you ever download a "portable" app -- one that does not have a setup installer but just relies on you to put it somewhere yourself, you need to put it in some directory of your own creation not inside any of the "system" folders like Users\ or "C:\Program Files".

Many of us have created a directory like "C:\PortableApps" or "C:\Programs" for putting portable files in.
« Last Edit: August 14, 2018, 07:49 AM by mouser »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,975
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #556 on: August 14, 2018, 07:00 AM »
First I had the sWeather directory in C:\Program Files (x86) which is privileged
-theinfinitypoint (August 14, 2018, 04:51 AM)

As Ath and mouser mentioned, and as you found out, you should run portable apps in a non-UAC folder.  However, if you still want to run sWeather in a UAC folder, you can run it with administrator rights and it should work fine.

dhry

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #557 on: August 30, 2018, 01:11 PM »
sWeather is unable to establish a connection to the weather server. N/A showing everywhere. Have tried with and without https mode. Has been working fine for a couple of years now.
Was there another change to the Yahoo API?
v1.7.5 build 1 in use.

Cheers
Dhry

march12234

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #558 on: August 30, 2018, 01:51 PM »
https://www.yahoo.com/news/weather has no weather data so it may not be an API issue.

sWeather is unable to establish a connection to the weather server. N/A showing everywhere. Have tried with and without https mode. Has been working fine for a couple of years now.
Was there another change to the Yahoo API?
v1.7.5 build 1 in use.

Cheers
Dhry

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,975
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #559 on: August 30, 2018, 07:01 PM »
sWeather is unable to establish a connection to the weather server. N/A showing everywhere. Have tried with and without https mode. Has been working fine for a couple of years now.
Was there another change to the Yahoo API?

https://www.yahoo.com/news/weather has no weather data so it may not be an API issue.

Hello, dhry and march12234, and welcome to the DonationCoder site.   :)

From what I can tell, the Yahoo! Weather API was down for a bit, but appears to be working for me at this time.  If this happens again, go here and click the test button: https://developer.yahoo.com/weather/
If the query comes back with "null," you know the problem is not with sWeather.   :Thmbsup:
« Last Edit: August 30, 2018, 11:55 PM by skwire »

dhry

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Release: sWeather (tray-based weather app)
« Reply #560 on: August 30, 2018, 07:28 PM »
Yep, must have been a temporary blip. It's working again for me as well. Thanks Jody!

Dhry