Bug 122143 - Wrong command for collecting journalctl info in "Printing troubleshooter" wizard
Summary: Wrong command for collecting journalctl info in "Printing troubleshooter" wizard
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-16 18:33 UTC by Denis
Modified: 2019-01-17 12:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis 2018-12-16 18:33:55 UTC
"Printing troubleshooter" wizard on one step offers to collect information from journalctl and produces a command which it offers to copy and execute from CLI. Here it is:

su -c 'journalctl -u cups.service --since="None" --until="2018-12-16 19:50:37"' > troubleshoot-logs.txt
(Of course, date in "--until" will be different).

However "journalctl --since=" does not accept "None" as an option.
Comment 1 Julien Nabet 2018-12-16 20:11:15 UTC
Where is this option?
Comment 2 Denis 2018-12-17 07:45:35 UTC
(In reply to Julien Nabet from comment #1)
> Where is this option?

In "Printing troubleshooter" wizard. This is connected to another bug that I reported: https://bugs.documentfoundation.org/show_bug.cgi?id=122142. Repeat the steps to reproduce the bug. After them appears "Print error" window with buttons "OK" and "Diagnose". (Note: this window doesn't always appear, you may have to send another document to the printer). Click "Diagnose". "Printing troubleshooter" wizard pops up. Forward -> select the printer -> Forward -> Print test page -> No -> Forward. Here the wizard says "No journal entries were found" and offers a command to copy and execute in CLI. This command is:

su -c 'journalctl -u cups.service --since="None" --until="2018-12-16 19:50:37"' > troubleshoot-logs.txt

See --since="None"

The result of running this command is:

Failed to parse timestamp: None

The man page of journalctl also makes no mention of the option "none" in the section "--since".
Comment 3 Julien Nabet 2018-12-17 08:02:43 UTC
I don't know any "Printing troubleshooter" wizard on LO so can't help here.
Comment 4 Xisco Faulí 2019-01-17 12:25:26 UTC
@Caolán, do you know anything about this printing thoubleshoorter wizard ?
Comment 5 Caolán McNamara 2019-01-17 12:56:51 UTC
I imagine its https://fedoraproject.org/wiki/How_to_debug_printing_problems#Printing_troubleshooter (or something similar) and it belongs to the underlying OS, rather that a specific libreoffice thing