"Profile" dropdown in "Error Log View" not working

Bug #1478219 reported by Akki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released
Medium
Germar

Bug Description

The "profile" dropdown in the "Error Log View" opened via "View Snapshot Log" does not work in BiT rev. 1120.

(Other than the preselected filter, this "profile" dropdown seems to be the only difference to the "Error Log View" opened via "View Last Log"?)

And something for the wishlist:
If you do include a function to choose between multiple logs within the "View Snapshot Log[s]" window, I think it would be helpful if you could choose between different snapshots (in addition to (or: instead of) switching between different profiles).

Finally: maybe such dialog window should be titled "Snapshot Log View" (as in the menu: "View Snapshot Log")?

Germar (germar)
Changed in backintime:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 1.1.8
assignee: nobody → Germar (germar)
Revision history for this message
Germar (germar) wrote :

'View Snapshot Log' will open the log from the current selected snapshot. This is stored inside the snapshot path.
'View Last Log' will show the log of the last run which is stored in ~/.local/backintime/takesnapshot_X.log. So even if there was no new snapshot (e.g. there where no changes) you can view the last log.

This both different log-viewers make sense. But I think, the 'Profile' dopdown is hidden in the wrong log-viewer. Changing profiles doesn't make sense in 'View Snapshot Log' as other profiles will never have the exact same snapshot-id. Instead it would be useful to switch between snapshots in here.
But in 'View Last Log' it would make sense to switch profiles as you might want to check the last logs from all profiles without closing the dialog, change profile and go back into the dialog...

I'll change it in this way.

Germar (germar)
Changed in backintime:
status: Triaged → Fix Committed
Revision history for this message
Akki (akki.42) wrote :

Thanks for that explanation, which makes sense...

Just one thing regarding your fix:

when the currently selected profile does not have a (local) 'last log', 'View last log' simply does 'nothing' (neither error message nor (empty) pop-up window 'Last Log View'; for traceback please see attached file).

Finally, a somewhat different issue (could open a new bug for that, if you prefer):

with regard to a 'remote encrypted' profile, activating 'Decode Paths' in either 'Snapshot Log View' or 'Last Log View' freezes BiT and the Log View window. 'ps -auxfww | grep backintime' returns:

akki 8215 0.0 0.1 13064 2916 pts/0 S+ 19:44 0:00 | \_ /bin/sh /usr/bin/backintime-qt4
akki 8220 0.5 4.1 1025544 82612 pts/0 Sl+ 19:44 0:04 | \_ python3 /usr/share/backintime/qt4/app.py
akki 8221 0.0 0.0 12932 332 ? Ss 19:44 0:00 | \_ ssh-agent python3 /usr/share/backintime/qt4/app.py
akki 8337 0.6 0.3 36616 6160 pts/0 SL+ 19:57 0:00 | \_ encfsctl decode --extpass=backintime-askpass /home/akki/.local/share/backintime/mnt/6B0CA066/mountpoint

Killing the last mentioned process (8337) 'reawakens' BiT (though then the paths remain undecoded).

Any ideas?

And as usual: many thanks!

Revision history for this message
Germar (germar) wrote :

Thanks, that was caused by the debug message I added for next version.

The other one is the same reason as in bug #1455925 but this time for the decode function. Fixed this, too.

Revision history for this message
Akki (akki.42) wrote :

Both now work like a charm, thanks again!

I do have one more, minor issue, though, with the refurbished Last Log View:
BiT shows the 'Decode Paths' checkbox only when the profile selected in the main window (before opening the Last Log View) is a 'remote encrypted' profile, but not when switching profiles to such a profile from within the Last Log View via the new Profiles drop down list...

Best regards!

Revision history for this message
Germar (germar) wrote :

Hmm, wasn't that minor as I needed to synchronize Log Viewers profiles with Main Windows profiles. Otherwise the profile wouldn't mount and the decode process wouldn't find the .encfs6.xml. But this should do it now.

Revision history for this message
Akki (akki.42) wrote :

Oops, sorry about that!

Everything's fine now - thanks!

Revision history for this message
Germar (germar) wrote :

No worries. I love to tinker until I find a good solution.

Germar (germar)
Changed in backintime:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.