Giter Club home page Giter Club logo

datweatherdoe's Introduction

  • 👋 I'm a polyglot developer
  • 📫 How to reach me: LinkedIn

datweatherdoe's People

Contributors

eugenesvk avatar inderdhir avatar kawarimidoll avatar kelke avatar lsp199308 avatar marc66 avatar masaki9 avatar mmayer avatar preckrasno avatar sdellysse avatar skippydream avatar starryalley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

datweatherdoe's Issues

Zip Code Error

Location is off on the Mac being used. In order to get data, zip code or latitude/longitude must be used. While the latter works fine. the former option, zip code, returns an error: Zip Code Error. I have tried uninstalling and reinstalling via Homebrew but the issue persists.

0 degrees C displays as minus zero degrees C (-0°C)

Minor issue, but when DatWeatherDoe is running and it's 0 degrees (Celsius, haven't observed Fahrenheit ... yet), it's displayed as minus zero degrees C ( -0°C )

I'm using the latest available version of DatWeatherDoe, via brew.

Here's a screenshot, to illustrate:

Screen Shot 2021-11-17 at 10 23 47 AM

Love DatWeatherDoe, it's useful to me!

Zip Code or Location don't work on Apple Sillicon

Location services are on, and DatWeatherDoe has access to them.

After upgrading to an Apple Silicon Macbook pro, DatWeatherDoe displayed "Location Error" when I selected location and "Network Error" when I typed in the zip code correctly (XXXXX,USA). However, lat/long still works fine for the weather.

The weather icon is too big

The weather icon seems to big, almost touching the top of the screen. I think it would look better if it were smaller, basically the size of the text.

Here is a screenshot comparing Weather for Status Bar on the left with DatWeatherDoe on the right

Screenshot 2022-09-30 at 11 15 57

setting location

Hello,

Trying to set up location for this manually. Got the API key in the plist file. Config box says zip code, iso 3166 country code

Wikipedia has this document: Current ISO 3166 country codes and I am guessing the column "Alpha-2 code" is the right one because the example is us.

I live in Canada (ca), which has postal codes instead of zip codes.

Here is an example: Whitehorse which contains the postal code for example Y1A 0A1

so tried Y1A 0A1,ca

Something annoying with postal codes is there will be some kind of validation on the format wrt capital letters and/or space. A1A 1A1 is the most correct format. I tried a couple different permutations but was unable to get this to work.`

Also tried city name, country code as that's how the website works.

by way of troubleshooting, 90210,us does work.

Any thoughts?

2.0.0 fails to launch on MacOS 10.15.7 (Catalina)

Hi!

First of all, thanks for making this amazing app! I was having issues recently retrieving the weather, so I tried downloading the latest version, but I'm getting a segfault trying to run it.

Process:               DatWeatherDoe [5544]
Path:                  /Applications/DatWeatherDoe.app/Contents/MacOS/DatWeatherDoe
Identifier:            com.inderdhir.DatWeatherDoe
Version:               2.0.0 (14)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           DatWeatherDoe [5544]
User ID:               1882834436

Date/Time:             2021-05-27 10:32:15.936 -0400
OS Version:            Mac OS X 10.15.7 (19H1030)
Report Version:        12
Bridge OS Version:     3.0 (14Y908)
Anonymous UUID:        D6BD9760-E745-9184-E65C-AE31020B1406


Time Awake Since Boot: 1900 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [5544]

VM Regions Near 0:
--> 
    __TEXT                 000000010dc3f000-000000010dc5b000 [  112K] r-x/r-x SM=COW  /Applications/DatWeatherDoe.app/Contents/MacOS/DatWeatherDoe

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ???                           	000000000000000000 0 + 0
1   com.inderdhir.DatWeatherDoe   	0x000000010dc4ab61 0x10dc3f000 + 47969
2   libswiftCore.dylib            	0x00007fff6d043e47 swift_getSingletonMetadata + 935
3   com.inderdhir.DatWeatherDoe   	0x000000010dc49e8d 0x10dc3f000 + 44685
4   libswiftCore.dylib            	0x00007fff6d05b9a0 swift::Demangle::TypeDecoder<(anonymous namespace)::DecodedMetadataBuilder>::decodeMangledType(swift::Demangle::Node*) + 2784
5   libswiftCore.dylib            	0x00007fff6d058edb swift_getTypeByMangledNodeImpl(swift::MetadataRequest, swift::Demangle::Demangler&, swift::Demangle::Node*, void const* const*, std::__1::function<swift::TargetMetadata<swift::InProcess> const* (unsigned int, unsigned int)>, std::__1::function<swift::TargetWitnessTable<swift::InProcess> const* (swift::TargetMetadata<swift::InProcess> const*, unsigned int)>) + 411
6   libswiftCore.dylib            	0x00007fff6d058ce2 swift::swift_getTypeByMangledNode(swift::MetadataRequest, swift::Demangle::Demangler&, swift::Demangle::Node*, void const* const*, std::__1::function<swift::TargetMetadata<swift::InProcess> const* (unsigned int, unsigned int)>, std::__1::function<swift::TargetWitnessTable<swift::InProcess> const* (swift::TargetMetadata<swift::InProcess> const*, unsigned int)>) + 482
7   libswiftCore.dylib            	0x00007fff6d0571dd getObjCClassByMangledName(char const*, objc_class**) + 381

Let me know if there is any other information that can help diagnose.

Crash on incorrect postal code - impossible to correct

Entering an incorrect postal code makes the app invisible in the menu bar, after which it seems there is no way to access the settings to change the postal code. I tried finding it in the plist or other files but couldn't locate where the postal code is stored. Uninstalling the app with an uninstaller like TrashMe and then reinstalling it also didn't solve the issue.

In the end I found out there is a tiny invisible bar in the menu bar that you can click on to reconfigure the app. Perhaps it would be good to have "N/A" or some default icon displayed in the menu bar when data cannot be retrieved, so at least the settings are easily accessible and it's clear the app has launched and not crashed?

Network error

I'm getting Network Error with the version 4.1.1 in the menu bar. I installed it via brew for the previous version and it worked then today it upgraded and it stopped working, showing this error.


Had to go to previous version and it works just fine.

Also the 4.1.1 is missing the OPENWEATHERMAP_APP_ID value in the file Info.plist

Mist icon is too big

I've noticed that mist icon is too big, it reaches top and bottom edges of the status bar
Screenshot 2022-10-22 at 21 47 06

Thermometer icon is not displayed in menu bar UI in version 3.2

Issue

A thermometer icon is not displayed in the menu bar after the app is upgraded to version 3.2, as shown below:

Version 3.1.1 Version 3.2
Screen Shot 2023-01-01 at 3 08 08 PM Screen Shot 2023-01-01 at 3 08 51 PM

Steps to Reproduce

  1. Install version 3.1.1.
  2. Open and configure the app.
  3. Quit the app.
  4. Upgrade the app to version 3.2.
  5. Open the app.
  6. Observe the menu bar.

Expected Behavior

The menu bar displays a thermometer icon for the temperature information below the location pin icon.

System

MacBook Air M2
macOS 12.6.1

Location fails on initial startup

Expected behavior:

Setting up the app for the first time should automatically detect location if location services are enabled

Actual behavior:

Location error was presented, even though location services were allowed when prompted on first open

Steps to reproduce:

  1. [Uninstall, and disable location services]
  2. Install with brew install --cask datweatherdoe
  3. Open from /Applications
  4. Allow location when prompted

Environment:

macOS 12.5.1 Monterey
Apple M1 Pro chip

Workaround:

Based on @anonymousaga's tip in #79:

  • Set a random Lat/Long
  • Revert to Location
  • Location automatically updates

Note:

The app is now functioning, as stated in the workaround, but you mentioned in #79 re-opening if it cropped up again, so I wanted you to know that it is recurring for at least one other person.

Single key shortcuts

Since shortcuts are only active once you click on the menubar and there is no text input that would require non-modifier keys, requiring prefix seems excessive

Is it possible to just use single-key shortcuts? So R would refresh without any modifiers

Does not work with location when quit & opened

If I quit the app and open it, or if I reboot the computer, using location fails with "Location error". However, if I set it to lat-long, put in my lat-long, then switch it back to the location, it will work on location (properly, and it will update the weather if I move out of that location) until I next quit the app or reboot.

Anyway, I still love the app! It is very helpful.

bug report and suggestion

Thank you for the new update. being able to hide the unit of the temperature is definitely helpful to save space on the already cramped menu bar.

However, there is one issue that hasn’t been fixed in this new update. unlike all other macOS new apps if you make changes in the configuration window changes don’t apply unless you press done and close the configure window. moreover, the configuration window won’t go away when you click on the free space on the desktop and you must click on the done button to close the window. it’s very annoying and gives me the feeling that it’s an outdated app that hasn’t been updated since OSX Yosemite.

plus, the short weather description should be after the temperature not the other way around, and there is no need for a comma.

in

also, can you add the version number configuration window?

thank you again,
P.S. I'm not sure what the separate the value with does?
P.S.2 Why the version 4.00 is not available on brew?

If Location is set manually (using Zip code) then "See Full Weather" doesn't work

I noticed that if I configure DatWeatherDoe with my zipcode e.g. 10021,us then it successfully retreives the conditions for the menubar, but choosing See Full Weather results in a browser URL of https://openweathermap.org/city/0 which is invalid.

I don't really see anything in the openweather API to map zip codes to city IDs or names, so maybe in lieu of that, adding a config field for manually inputting cityId and then using that here would be a workaround?

Show more info in the dropdown

It'd be great to see more information in the drop down such as:

  • Feels like temperature
  • Weather text (eg "Overcast clouds")
  • Wind speed
  • Humidity

Show complete weather option does not work when weather source is set to postal code

Issue

When Weather source is set to "Postal code", the menu option Show complete weather opens https://openweathermap.org/city/0 in the browser (= London, GB) regardless of the actual postal code set in DatWeatherDoe.

Expected behaviour

OpenWeatherMap site is opened with the location configured in DatWeatherDoe.

Steps to reproduce

  1. Choose Configure menu item
  2. Set Weather source to "Postal code"
  3. Set Postal code to "50769,de"
  4. Choose Show complete weather menu item
  5. Check browser for the location show in the OpenWeatherMap website

Environment

macOS 13.1
DatWeatherDoe 3.2

Version 4 is a downgrade

used this app because it showed the temperature in F° and C° simultaneity on the menu bar. disappointed to see the option disappeared on the version 4 and forced me to switch back to version 3. please add it back.

Feature Request: mph for wind speed

Just discovered this app and am loving it!

That said, could you add the option to display the wind speed in mph as well as m/s? I suppose it could either be a different dropdown (like Fahrenheit) or make that an Imperial/Metric dropdown? Not sure.

Option to display weather advisories

openweathermap provides weather advisories. it would be nice if the menubar icon could flash or change color while an advisory is in effect (until the user views the advisory). or maybe display a notification. the macos weather widget also displays advisories, and supposedly can display notifications, but i've never been able to get them to work.

Fails to get location if WiFi is disabled

macOS Ventura 13.0 (I think this happens on 12.6 also)

If WiFi is disabled, DatWeatherDoe says "Location Error" and can't get the weather/location. As soon as WiFi is turned on, it works. Is that expected behavior?

Translation

I would like to contribute and translate this nice application to French. Can you make the necessary (generic) fr.lproj available and I will gladly help

Network Error

On macOS 11.6.2 (Big Sur), using DWD 3.0.1, the menu bar icon just says "Network Error." I tried trashing the app and removing all preferences. Disabling firewall temporarily doesn't solve the issue. Even manually entering the ZIP code with country code (e.g. 7****,us) doesn't work. DWD 2.2.0 works perfectly.

Incorrect categorisation of weather

Love the app, thanks for the hard work!

just noticed "dust" as reported by TheWeatherMap is showing up as "mist" by the app. cant his be fixed please?

screen shot showing the menubar and the actual weather as reported by TWM

Screen Shot 2022-01-02 at 3 10 14 pm

Screen Shot 2022-01-02 at 3 10 17 pm

Quitting and reopening the app removes the coordinates from the [latitude], [longitude] field

Issue

Quitting and reopening the app removes the coordinates from the [latitude], [longitude] field in Configure. The coordinates do not persist in the UI. It is inconvenient that the user has to re-enter the coordinates whenever they want to change another setting, such as Refresh Interval, Show Weather Icon, or Show Humidity.

lat_long_issue

Steps to Reproduce

  1. Open the app (if it isn't already).
  2. Select Configure.
  3. Enter coordinates in the [latitude], (longitude] field.
  4. Click Done.
  5. The weather information in the menu bar is updated based on the coordinates as expected.
  6. Open the menu and select Quit.
  7. Open the app.
  8. Select Configure.
  9. Observe the [latitude], (longitude] field. You will see that the field is empty.

Expected Behavior

The [latitude], (longitude] field retains the coordinates the user has entered and is not blank when they restart the app.

System

MacBook Air M2
macOS 12.6.1

Cancelled message

Every time I refresh by pressing R or clicking on the Refresh button, it displays the message "Canceled" in place of the temperature for 1-2 seconds, then it shows the new temperature. Can you please fix it?

P.S. Please add the version number to the configure page.
P.S.2 The configure page won't close until you press "Done." It's not a big deal, but it's annoying.

Zipcode fail + Location fail

As of V 3.2.1 you can no longer use any other Zipcode, I.E., only accepts American Zipcodes now, as before i was able to use an Aus/Jpn Zipcode. Hopefully this gets fixed! As, the 'location' feature is also faulty, it's not correctly showing my location (I won't say where for privacy reasons, but it's nowhere close to me) about 1,200km away from my actual location.

New Dropdown UI info is too dim

the new info is too dim; i have to use zoom to make it out. when viewing on a large monitor, this may be ok, but if you're on a 13" retina macbook at full resolution, it's very hard to make out. i normally use dark mode with increased contrast, but also tested with/without increased contrast and reduced transparency in light and dark.

light

light w reduced transparency

light w increased contrast

dark

dark w reduced transparency

dark w increased contrast

Icon disappears

Sometimes the icon disappears and it only shows the temperature. Refreshing or re-configuring with a different location, etc. never get it to display again. Occasionally restarting will get it to show again, but not always. Changed desktop appearance from dark to light to make sure it wasn't a case of black image on black background, but not the case. So it might be a data issue from the api, though pulling up the page on openweathermap.org looks normal. Maybe there should also be a link to the api output, to better help debug.

Brew install how to set API Key?

Forgive the noob question. But if I used brew to install where would I find the Config.xcconfig file exactly?

Developer Setup

Get your personal API key for openweathermap [here](http://openweathermap.org/appid)
Add the following in "Config.xcconfig":

OPENWEATHERMAP_APP_ID = YOUR_KEY

App using location services even when location set to lat,long

First I allowed the app the used of location services and made it determined the location for the forecast from that. Then I found a bit better weather station so I changed the location to manually inputting latitude and longitude.

Now even with the location set to latitude and longitude manually I often see the system icon saying that the app is using location services even though it has no reason to do so.

I had to remove the location services permission from the app to fix this.

Using 3.1.1 on Ventura.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.