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

Extra date, count info printed every time command is run #75

Open
rileykav opened this issue Jan 23, 2024 · 5 comments
Open

Extra date, count info printed every time command is run #75

rileykav opened this issue Jan 23, 2024 · 5 comments

Comments

@rileykav
Copy link

When I run reminders <anything> it prints a date-time and info line, with 'Store' and 'Account' counts, unlike all the examples which give a bare output. This is not helpful and just bogs up the screen. Here is the line that prints (I don't know what the no./.s in the [] are, but they seem very random each time, only matching a few of the initial numbers on a repeated command):

$ preview show-all
2024-01-23 21:45:35.390 reminders[potentially-private-no.s] XXX: countOfStores: 1, countOfAccounts: 1
ToDo: 0: Homework
.
.
.

I also tried to reach through the code database for a print statement of some sort, but couldn't find one/am not proficient with this code, and as it happens with every command (even --help), it seems like some deeper logic.

@keith
Copy link
Owner

keith commented Jan 23, 2024

Interesting, I don't see this one, I assume this is some output from macOS based on your settings / version, what's your macOS version? (I don't see it on 14.2.1)

@rileykav
Copy link
Author

I am on 12.6.8

@keith
Copy link
Owner

keith commented Jan 23, 2024

we could try to poke around macOS internals to see if there's a default that we could flip to silence this. in the meantime you can probably wrap your reminders invocations with reminders "$@" 2>/dev/null to silence this

@ap
Copy link

ap commented Jun 10, 2024

Same issue here (on 12.7.5).

@keith
Copy link
Owner

keith commented Jun 11, 2024

might be an old OS version thing only. If someone who can repro wants to debug i assume we could dup the stderr file descriptor and just swallow those errors, potentially printing them if we fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants