benmarko Posted January 8, 2021 Share Posted January 8, 2021 I keep getting an error trying to run this workflow. I'm using a ClimaCell API and as far as the log goes everything works until the last minute: [alfred] 2021/01/07 18:57:42 loaded cache [alfred] 2021/01/07 18:57:42 Error: 403 Forbidden I'm assuming this is an issue with ClimaCell - as it hasn't worked for three separate locations. Has anyone else experienced problems with ClimaCell APIs? Link to comment
jason0x43 Posted January 8, 2021 Author Share Posted January 8, 2021 Hmmm...the 403 implies that either the API key is invalid, or they've changed an API. I'll try to take a look this weekend. Link to comment
jason0x43 Posted January 10, 2021 Author Share Posted January 10, 2021 I tested the workflow with ClimaCell this weekend, and I couldn't reproduce any issues (which doesn't mean there isn't a problem, just that it didn't show up for me). One thing to do is run `wtr options` and verify that your ClimaCell key matches what's in your account at developer.climacell.co. Link to comment
pulgalipe Posted January 12, 2021 Share Posted January 12, 2021 @jason0x43 Is there a way to always show the temperatures like on the first image? Because, I have to highlight each element to show weather status, temperature and so on. It'd be a huge improvement. And you could set it as an option inside the workflow, so that you can enable/disable it as long as you want. Thank you for your hard work and it's a pleasure to use such useful workflows from the entire community. Link to comment
jason0x43 Posted January 12, 2021 Author Share Posted January 12, 2021 @pulgalipe Do you mean that the temperature, etc. values aren't visible until you highlight a particular item? If that's the case, it could mean that your color scheme is misconfigured (specifically, the "result subtext" color might be the same as the default background color). Link to comment
pulgalipe Posted January 12, 2021 Share Posted January 12, 2021 (edited) 1 hour ago, jason0x43 said: @pulgalipe Do you mean that the temperature, etc. values aren't visible until you highlight a particular item? If that's the case, it could mean that your color scheme is misconfigured (specifically, the "result subtext" color might be the same as the default background color). I just did a clean installation of Big Sur. And it does happens on my other Mac's as well. I'm currently on latest Alfred and it does happens on each and every installation of mine. Here's an Imgur album with some screenshots of a bunch of different themes: https://imgur.com/a/8PmuchM And it does reports the information the same way in each of them, which is kinda odd. EDIT: After some investigation I just found a hidden setting on my Alfred: Appearance > Options > Show result subtext Mine was set to "Only for Selected Result" instead of "Always". After set it up it's working flawlessly. Thank you! Never though that was something messed up on my configuration. But now it's working fine. 👍 Edited January 12, 2021 by pulgalipe Link to comment
jason0x43 Posted January 12, 2021 Author Share Posted January 12, 2021 7 hours ago, pulgalipe said: EDIT: After some investigation I just found a hidden setting on my Alfred: Interesting, I hadn't seen that setting before. You learn something new every day! 😄 Link to comment
pulgalipe Posted January 14, 2021 Share Posted January 14, 2021 On 1/12/2021 at 10:11 AM, jason0x43 said: Interesting, I hadn't seen that setting before. You learn something new every day! 😄 Me either. The good thing is that now everything's working fine! Thanks for your good work and support, dude! 😊 Link to comment
CCQ Posted September 26, 2021 Share Posted September 26, 2021 Hi, pulled the latest version from GitHub and getting this message in BigSur. Not sure if I have to be fiddling in Security settings or if this is something that needs be updated in the Alfred Workflow? Link to comment
giovanni Posted September 26, 2021 Share Posted September 26, 2021 open, in Finder, right-click, select "Open" https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac Link to comment
jason0x43 Posted September 27, 2021 Author Share Posted September 27, 2021 I'll try to get a signed version of the workflow up in the next few days. That won't do anything for you if you've done the right-click + Open trick, but it will at least nix this problem for new users. Link to comment
jason0x43 Posted November 13, 2021 Author Share Posted November 13, 2021 Version 1.6.1 is now available on the project releases page. No new features, but it's digitally signed and notarized, so macOS shouldn't raise any security warnings when the workflow is installed. Southgirl 1 Link to comment
deanishe Posted November 14, 2021 Share Posted November 14, 2021 4 hours ago, jason0x43 said: it's digitally signed and notarized How did you do that, if I may ask? Do you have a free developer certificate or a real one? Link to comment
jason0x43 Posted November 14, 2021 Author Share Posted November 14, 2021 3 hours ago, deanishe said: How did you do that, if I may ask? Do you have a free developer certificate or a real one? I have a paid Apple developer account. So far as I've been able to determine, it's not possible to notarize something with a free account. deanishe 1 Link to comment
npseaver Posted November 29, 2021 Share Posted November 29, 2021 I love this workflow! Newbie question: is it possible to make it so that hitting "return" from the results (i.e. on the "Weather for XXXXX" line) closes Alfred? I'm happy to go in and make the edit myself, if that might break something for other people, but I'm not sure where I'd do it. Link to comment
jason0x43 Posted November 29, 2021 Author Share Posted November 29, 2021 1 hour ago, npseaver said: is it possible to make it so that hitting "return" from the results (i.e. on the "Weather for XXXXX" line) closes Alfred? That should be doable, but it will involved editing some Go code. The command that shows the "Weather for XXX" Alfred item needs to be updated to send an argument rather than doing nothing (which is what it does now). That argument would then tell the workflow to stop rather than trying to get forecast data from the alfred-weather binary. You're welcome to try your hand at that, or I could probably look into it in a couple weeks. Link to comment
npseaver Posted November 30, 2021 Share Posted November 30, 2021 22 hours ago, jason0x43 said: You're welcome to try your hand at that, or I could probably look into it in a couple weeks. Thanks! That's probably above my capabilities, but if it seems straightforward enough on your end, I think it would make a nice little quality-of-life improvement. Since hitting return is generally the way to leave Alfred, it felt like a natural thing to do, even though there's no output to be generated. Link to comment
Josh Olian Posted August 6, 2022 Share Posted August 6, 2022 I am getting an error 404 after following setup directions! Link to comment
flanny Posted August 30, 2022 Share Posted August 30, 2022 Having errors after setting up API keys. I've got free accounts at OpenWeathermap.org and tomorrow.io (for clinacell). I put the API keys in the settings under 'wto'. When I try to use 'wtd' command with 'OpenWeather' selected, I get "Error 401: Unauthorized". My API key is active and it's a free account >24 hours old. When I try tu use 'wtd' command with 'ClinaCell' selected, I get "Error: Get “https://api.…macell.co: no such host" error. What am I doing wrong? Link to comment
Jules Posted April 3, 2023 Share Posted April 3, 2023 (edited) Ok, now that DarkSky has been borked fubar'd acquired by Apple, how do I get this to work? It keeps trying to call from the DS API. I've also added the OpenWeather key, but it seems to defer to DS. If there's a way to remove the DS call, that would probably work. MTIA Edited April 3, 2023 by Jules Link to comment
BocciaMan Posted December 26, 2023 Share Posted December 26, 2023 Is there a way to remove DarkSky (DS)? It keeps trying to call from the DS API. I've added the keys for the other 2 services. Link to comment
BocciaMan Posted January 8 Share Posted January 8 (edited) On 4/3/2023 at 9:07 AM, Jules said: Ok, now that DarkSky has been borked fubar'd acquired by Apple, how do I get this to work? It keeps trying to call from the DS API. I've also added the OpenWeather key, but it seems to defer to DS. If there's a way to remove the DS call, that would probably work. MTIA I don't know of a way to remove the DS service, but you can choose one of the two other available services. Here is a YouTube video on how to do it. Edited January 8 by BocciaMan grammar error Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now