Closed taketwo closed 12 months ago
@taketwo Thank you for the detailed information. If you can, please try the latest version in the repository and let me know if it works.
Works on my side; thanks for the prompt fix!
@taketwo Good to hear. This change is now available in the latest release version 7.7.1.
I have a systemd unit that periodically runs
nb sync --all
to keep my notebooks in sync. This worked fine for a long time, but recently I bumpednb
version from7.2.0
to7.7.0
and it stopped working. The unit still printsAnd exits with
0
status, however in reality nothing gets pulled/pushed. When I run this command interactively from terminal, it behaves as expected.I bisected the changes and found that commit https://github.com/xwmx/nb/commit/92fff4148e145b90d392f086399c9ba8ae0f0897 broke non-interactive sync. Removing the
&& ! _piped_input
condition fixes the issue for me. However, I assume it's there for a reason and simply dropping it breaks something else, so a more subtle fix is necessary.