Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maestral stops running when the system goes to sleep and/or a display is disconnected #1101

Open
lgarron opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lgarron
Copy link

lgarron commented Dec 18, 2024

For much of the last few months, Maestral seems to never be running, no matter how much I restart it. Here's my attempt to file a bug with at least one specific repro.

Describe the bug
Maestral stops if a display is disconnected.

To Reproduce

  1. Close the clamshell and connect to an external monitor
  2. Disconnect the external monitor.

Expected behaviour
Maestral resumes when the system wakes.

System:

  • Maestral version: 1.9.4
  • Python version: The system version is 3.13, although I'm not sure that's relevant.
  • OS: macOS 51.1.1
  • Desktop environment: [e.g. Gnome 3.32]
  • PyQt version (for Linux GUI): N/A

Additional context
Here are logs from Console.app for "maestral":

default	06:02:05.076184-0800	Maestral	nw_path_libinfo_path_check [7D8796C2-B9CB-4C0B-8C8A-F9A5D3DECB17 Hostname#ca50d025:0 tcp, legacy-socket, attribution: developer]
	libinfo check path: satisfied (Path is satisfied), interface: en17, ipv4, ipv6, dns
default	06:02:05.076328-0800	mDNSResponder	[R261938] DNSServiceQueryRecord START -- qname: <mask.hash: '/C2y78VwVLtrxUPDKbRndw=='>, qtype: A, flags: 0x1D000, interface index: 0, client pid: 65931 (Maestral), name hash: 14d712c8
default	06:02:05.078421-0800	Maestral	nw_path_libinfo_path_check [4D2BF5BA-6520-451E-B3A4-E275705EADB2 Hostname#ca50d025:443 tcp, legacy-socket, attribution: developer]
	libinfo check path: satisfied (Path is satisfied), interface: en17, ipv4, ipv6, dns
default	06:02:05.078505-0800	mDNSResponder	[R261939] DNSServiceQueryRecord START -- qname: <mask.hash: '/C2y78VwVLtrxUPDKbRndw=='>, qtype: A, flags: 0x1D000, interface index: 0, client pid: 65931 (Maestral), name hash: 14d712c8
default	06:02:05.079680-0800	mDNSResponder	[R261940] DNSServiceQueryRecord START -- qname: <mask.hash: '/C2y78VwVLtrxUPDKbRndw=='>, qtype: AAAA, flags: 0x1D000, interface index: 0, client pid: 65931 (Maestral), name hash: 14d712c8
default	06:02:06.972589-0800	runningboardd	Invalidating assertion 412-403-151045 (target:[app<application.com.samschott.maestral.138206978.138207169(501)>:65929]) from originator [osservice<com.apple.WindowServer(88)>:403]
default	06:02:08.386912-0800	runningboardd	[app<application.com.samschott.maestral.138206978.138207169(501)>:65929] Ignoring memory limit update because this process is not memory-managed
default	06:02:08.405642-0800	NotificationCenter	Will not show com.samschott.maestral:DF2A539A on locked-shield: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:08.405663-0800	NotificationCenter	Will not show com.samschott.maestral:ABB394B0 on locked-shield: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:08.405735-0800	NotificationCenter	Will not show com.samschott.maestral:E7975020 on locked-shield: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:08.407751-0800	runningboardd	Calculated state for app<application.com.samschott.maestral.138206978.138207169(501)>: running-active (role: UserInteractive) (endowments: <private>)
default	06:02:08.645745-0800	runningboardd	Acquiring assertion targeting [app<application.com.samschott.maestral.138206978.138207169(501)>:65929] from originator [osservice<com.apple.WindowServer(88)>:403] with description <RBSAssertionDescriptor| "AppVisible" ID:412-403-151093 target:65929 attributes:[
	<RBSDomainAttribute| domain:"com.apple.appnap" name:"AppVisible" sourceEnvironment:"(null)">,
	<RBSAcquisitionCompletionAttribute| policy:AfterApplication>
	]>
default	06:02:08.646014-0800	runningboardd	Assertion 412-403-151093 (target:[app<application.com.samschott.maestral.138206978.138207169(501)>:65929]) will be created as active
default	06:02:08.658977-0800	gamepolicyd	Received state update for 65929 (app<application.com.samschott.maestral.138206978.138207169(501)>, running-active-NotVisible
default	06:02:08.680696-0800	runningboardd	Calculated state for app<application.com.samschott.maestral.138206978.138207169(501)>: running-active (role: UserInteractive) (endowments: <private>)
default	06:02:08.716752-0800	runningboardd	[app<application.com.samschott.maestral.138206978.138207169(501)>:65929] Ignoring jetsam update because this process is not memory-managed
default	06:02:08.716945-0800	runningboardd	[app<application.com.samschott.maestral.138206978.138207169(501)>:65929] Ignoring suspend because this process is not lifecycle managed
default	06:02:08.717017-0800	runningboardd	[app<application.com.samschott.maestral.138206978.138207169(501)>:65929] Ignoring GPU update because this process is not GPU managed
default	06:02:08.717262-0800	runningboardd	[app<application.com.samschott.maestral.138206978.138207169(501)>:65929] Ignoring memory limit update because this process is not memory-managed
default	06:02:08.857126-0800	runningboardd	[app<application.com.samschott.maestral.138206978.138207169(501)>:65929] Ignoring jetsam update because this process is not memory-managed
default	06:02:08.857217-0800	runningboardd	[app<application.com.samschott.maestral.138206978.138207169(501)>:65929] Ignoring suspend because this process is not lifecycle managed
default	06:02:08.919287-0800	gamepolicyd	Received state update for 65929 (app<application.com.samschott.maestral.138206978.138207169(501)>, running-active-NotVisible
default	06:02:08.981259-0800	NotificationCenter	Will not show com.samschott.maestral:210466C6 on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:08.981455-0800	NotificationCenter	Will not show com.samschott.maestral:ABB394B0 on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:08.981707-0800	NotificationCenter	Will not show com.samschott.maestral:B65B801C on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:09.510494-0800	gamepolicyd	Received state update for 65929 (app<application.com.samschott.maestral.138206978.138207169(501)>, running-active-NotVisible
default	06:02:10.911818-0800	NotificationCenter	Will not show com.samschott.maestral:BE5DC9BA on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.911998-0800	NotificationCenter	Will not show com.samschott.maestral:DF2A539A on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.912385-0800	NotificationCenter	Will not show com.samschott.maestral:B7A6E204 on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.912630-0800	NotificationCenter	Will not show com.samschott.maestral:36BF0753 on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.912750-0800	NotificationCenter	Will not show com.samschott.maestral:E7975020 on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.912946-0800	NotificationCenter	Will not show com.samschott.maestral:B65B801C on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.913238-0800	NotificationCenter	Will not show com.samschott.maestral:2A36BE6D on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.913896-0800	NotificationCenter	Will not show com.samschott.maestral:418F59DA on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.914676-0800	NotificationCenter	Will not show com.samschott.maestral:FCDCDAA0 on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.914956-0800	NotificationCenter	Will not show com.samschott.maestral:7589D71C on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.915093-0800	NotificationCenter	Will not show com.samschott.maestral:ABB394B0 on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
default	06:02:10.915169-0800	NotificationCenter	Will not show com.samschott.maestral:210466C6 on locked-login: canShow: false, shouldAlert: false, visibility: [], shouldAlertEvenIfShown: true, notShownBefore: true, moreRecentThanLockedDate: false, ignoreLockedDate: false.
@lgarron lgarron added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant