Trailing message box that can't be closed after sync

Bug #1649973 reported by Kienan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Mnemosyne Project
Won't Fix
Undecided
Unassigned

Bug Description

Mnemosyne: 2.4 (downloaded from the the project website) running Debian Sid (most packages from regular sources, python3-pyqt5 from pip since QtWebEngine isn't packaged in debian)

After I run a sync, there's a dialog that has a small bit of text and can't seemingly be closed. See attached screenshot (it starts small, I had dragged it out to see if I could see more of the text there). The dialog can be moved out of the way, or alt-tabbed around - it's not blocking any operation.

 ~/.local/share/mnemosyne/log.txt doesn't seem to contain any information other than repetition information and database saves. This is the output of when run from terminal :

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[1214/123300:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open
[1214/123300:ERROR:nss_util.cc(839)] After loading Root Certs, loaded==false: NSS error code: -8018
QIODevice::write (QProcess): device not open
/usr/lib/python3/dist-packages/matplotlib/font_manager.py:1288: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
QIODevice::write (QProcess): device not open
pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian)
kpathsea version 6.2.2
Copyright 2016 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.26; using libpng 1.6.26
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.48.0

Revision history for this message
Kienan (viashimo) wrote :
Revision history for this message
Peter Bienstman (peter-bienstman) wrote :

Can you try with the latest PyQt5 installed through pip3 and see if that makes a difference?

Changed in mnemosyne-proj:
status: New → Incomplete
Revision history for this message
Peter Bienstman (peter-bienstman) wrote :

Closing due to lack of feedback

Changed in mnemosyne-proj:
status: Incomplete → Invalid
Revision history for this message
Kienan (viashimo) wrote :

Still see it: mnemosyne 2.4.1, pyqt5 (5.7.1 from pip3),

Revision history for this message
Peter Bienstman (peter-bienstman) wrote :

Just to be sure: this dialog box that remains open is on the sync client, right?

Revision history for this message
Kienan (viashimo) wrote :

Yup. The server synced to is running headless.

Revision history for this message
Peter Bienstman (peter-bienstman) wrote :

I've made a new version which sends out an extra 'close progress' signal just to be on the safe side.

You can find it here: https://www.dropbox.com/s/84e6hbde1idfsvn/Mnemosyne-2.4.1-sync-progress-bar.tar.gz?dl=0

It will also print out some extra debug statements. In my case, this is the output:

Warning: Could not import OpenGL. Might cause a black screen on some Linux distributions. Try installing python3-opengl in that case.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open
emitting set_progress_text signal
set_progress_text Creating backup...
emitting set_progress_text signal
set_progress_text Dynamically creating media files...
closing previous progress bar
MiKTeX-pdfTeX 2.9.6050 (1.40.17) (MiKTeX 2.9 64-bit)
Copyright (C) 1982 D. E. Knuth, (C) 1996-2016 Han The Thanh
TeX is a trademark of the American Mathematical Society.
compiled with zlib version 1.2.8; using 1.2.8
compiled with libpng version 1.6.24; using 1.6.24
compiled with poppler version 0.46.0
compiled with jpeg version 8.4
emitting set_progress_text signal
set_progress_text Logging in...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Asking server to check for updated media files...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Getting list of media files to download...
closing previous progress bar
emitting set_progress_text signal
emitting set_progress_text signal
set_progress_text Getting list of archive files to download...
closing previous progress bar
set_progress_text Getting entire binary database...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Finishing sync...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Logging in...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Getting settings...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Getting log entries...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Finishing sync...
closing previous progress bar
emitting close_progress signal
showing: sync finished
close_progress
emitting close_progress signal
close_progress
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open
b'Waiting for uploader thread to stop...'
b'Done!'

Changed in mnemosyne-proj:
status: Invalid → Fix Committed
Revision history for this message
Kienan (viashimo) wrote :

Tried the build from the the dropbox dl, no change for me. Do you get the

QIODevice::write (QProcess): device not open
b'Waiting for uploader thread to stop...'
b'Done!'

before you close mnemosyne? I see the debug code.

Here's the output up to the end of the sync, but before mnemosyne is closed.

[... cut a bit ...]
Compiled with libpng 1.6.28; using libpng 1.6.28
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.48.0
emitting set_progress_text signal
set_progress_text Logging in...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Asking server to check for updated media files...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Sending log entries...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Sending media files...
closing previous progress bar
emitting close_progress signal
emitting set_progress_text signal
close_progress
set_progress_text Getting list of media files to download...
emitting set_progress_text signal
set_progress_text Getting log entries...
closing previous progress bar
emitting set_progress_text signal
set_progress_text Finishing sync...
closing previous progress bar
emitting close_progress signal
showing: sync finished
close_progress
emitting close_progress signal
close_progress

Revision history for this message
Peter Bienstman (peter-bienstman) wrote :

Your debug output looks perfectly OK: all the necessary calls to close the progress bars are being executed. So, it must be a Qt specific problem on your installation. Perhaps you can try with upgrading to PyQt 5.8, but I'm afraid there's nothing more I can do about this on my end...

Changed in mnemosyne-proj:
status: Fix Committed → Won't Fix
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.