ApolloZhu / Dynamic-Dark-Mode

The smart, automatic Dark Mode toggle for macOS Mojave+

Home Page:https://apollozhu.github.io/Dynamic-Dark-Mode/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scheduled using previous location..

etrahretep opened this issue · comments

Getting "Scheduled using previous location.." several times after login or restart (up to 6/7times). Also AppleScript error -1751 occasionally.
Running Mojave 14.6 and Catalina dev beta 3.

Occurs on both platforms.

Any idea?

Based on my experience, there are multiple reasons it schedules using previous location:

  • no internet connection and we really need to use cached location
  • has connection but Apple can’t figure out current location, which can be solved by first disconnect then reconnect
  • requesting location while still at the login screen. I might add a delay before scheduling in a future version

About -1751, I’m actually kind of lost. It’s official name is “errOSAInvalidID” but has no description about what that means. Since it never showed up before disabling sandbox, I assume it might be related to returning focus back to the front most application

You could be right about the -1751. Sometimes it states that is can't be started because of FontexplorerX (which is at that moment the front most application.)

I have connection (Wifi & ethernet) so a delay could work.

Returning focus should be fixed in the next release, I'm still researching on the other issue for the best solution