Dark Night is no longer automatically switching...how can I troubleshoot it?

33 views
Skip to first unread message

J Fine

unread,
Feb 12, 2021, 10:18:58 AM2/12/21
to Hobbyist Software Forum
Problem summary:
Dark Night no longer automatically switches dark mode using the Sunrise/Sunset schedule.  It used to work before.

What are the steps to produce the issue?
Wait until it's well past sunrise (e.g. noon) or sunset (e.g. midnight).  Looked up official sunrise/sunset times as well.  I uninstalled Dark Night at one point; and since reinstalling it (including reboots), the automatic switching hasn't worked.  Location Services and Automation/System Events are enabled.  (Also see log at bottom.)

What did you expect to happen?
Mojave's Dark Mode to automatically switch to light or dark based on sunrise/sunset.  Manual switching works.

What actually happens?
Nothing.  Dark Mode retains its current setting, so I have to manually switch.

Which version of the app are you using?
macOS 1.65 from App Store (Mojave 10.14.6)

Which helper version are you using?
N/A

From the logfile I see this:

2021/02/11 00:01:37:337  logging started. Level:DDLogLevel - 2021-02-11 05:01:37 +0000
2021/02/11 00:01:37:341  app: DarkNight, version: 1.65 (19)
2021/02/11 00:01:37:377  location status authorised
2021/02/11 00:01:37:377  starting location updates
2021/02/11 00:01:37:393  location status authorised
2021/02/11 00:01:37:413  Updating now - 2021-02-11 05:01:37 +0000
2021/02/11 00:01:37:413  No Schedule Available

2021/02/11 00:01:37:500  Location failed with error: Error Domain=kCLErrorDomain Code=0 "(null)"
2021/02/11 00:01:53:017  location status authorised
2021/02/11 00:01:53:079  location status authorised
2021/02/11 00:01:53:081  Prepare Controls Schedule light: 2021-02-11 11:00:00 +0000 dark: 2021-02-11 23:00:00 +0000

but I don't know how to interpret that.  Obviously the "Location failed with error" is concerning; is that the problem, and how do I fix it?

Confused Vorlon

unread,
Feb 12, 2021, 12:03:05 PM2/12/21
to Hobbyist Software Forum
can you confirm in a day or so whether it is still broken. For some reason, the OS clearly denied location permission to the app - but it looks like that has been fixed now.

J Fine

unread,
Feb 12, 2021, 6:06:33 PM2/12/21
to Hobbyist Software Forum
This has already been the behavior for the past 2-3 days, but I will follow-up again tomorrow.  That log message is typical for previous days as well.

J Fine

unread,
Feb 13, 2021, 8:48:46 PM2/13/21
to Hobbyist Software Forum
Still having the same issue:  Dark Night didn't automatically switch this morning, and didn't switch this evening:

2021/02/13 12:50:58:320  location status authorised
2021/02/13 12:50:58:385  location status authorised
2021/02/13 12:50:58:387  Prepare Controls Schedule light: 2021-02-13 11:00:00 +0000 dark: 2021-02-13 23:00:00 +0000
2021/02/13 12:50:58:387  location status authorised
2021/02/13 20:28:08:337  location status authorised
2021/02/13 20:28:08:391  location status authorised
2021/02/13 20:28:08:393  Prepare Controls Schedule light: 2021-02-13 11:00:00 +0000 dark: 2021-02-13 23:00:00 +0000
2021/02/13 20:28:08:393  location status authorised

Screen Shot 2021-02-13 at 8.36.15 PM.pngScreen Shot 2021-02-13 at 8.36.37 PM.png

Screen Shot 2021-02-13 at 8.42.29 PM.png

Screen Shot 2021-02-13 at 8.38.58 PM.png

On Friday, February 12, 2021 at 12:03:05 PM UTC-5 Confused Vorlon wrote:
Reply all
Reply to author
Forward
0 new messages