2.4 Ubuntu: Update progress bar does not disappear after update is finished

30 views
Skip to first unread message

Jan Egil Hagen

unread,
Dec 8, 2016, 3:23:34 PM12/8/16
to mnemosyne-...@googlegroups.com
Hi.

I had trouble syncing between my laptop and android. Think I figured out that the problem was that the android app had been automatically updated to support 2.4, and wouldn't sync with the older version on my laptop. So I downloaded the tarball and installed 2.4 on my laptop (with Ubuntu).

Luckily the sync went through perfectly afterwards, but I have a few problems:

After syncing the progress bar doesn't disappear. I currently have 3 old progress bars hanging around my screen. 

pasted2


On the desktop, the answer-"field" seems to sometimes not be cleared. I press space to move on to the next question, and a new question appears, but instead of a blank space below it, the old answer is shown. 

Sometimes the application don't respond at all to keyboard input (ie space), but works when using the mouse to click "show answer" and the "score" of the card. 

That's all I found so far. Thank you again for your great work.

Peter Bienstman

unread,
Dec 9, 2016, 2:57:47 AM12/9/16
to mnemosyne-...@googlegroups.com

Hi,

 

Are these things reproducible, or do they only occur from time to time? I’ve only seen issues 3 sometimes myself, where the window loses focus and you need to press a key again to restore the focus. Unfortunately, all of these issues seems to related to Qt itself, so I’m not sure how much I can do about it…

 

Thanks for the report, do keep on mentioning any issues you find!

 

Cheers,

 

Peter

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/CAPkWX_B-bdVD6AyjGpaMForDPwuvGAUfoEzhc%3DjzJwQ1CkB2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Jan Egil Hagen

unread,
Dec 11, 2016, 6:06:06 AM12/11/16
to mnemosyne-...@googlegroups.com
Hi Peter. Unfortunately they are reproducible. 

Some more observations:

When I start menmosyne, I get these messages:

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
[1211/113722: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

For each card I review on the desktop, the terminal writes out this message in the terminal: QIODevice::write (QProcess): device not open

Sometimes when I finish a card, it takes about 10 seconds before the question appears. I do not see a pattern in why or how often this happens yet. I thought it happened mostly with images, but then I saw that it happened with other cards as well.

When reviewing images, I sometimes, but not always get messages like this in the terminal "Missing path home/me/mnemosyne/default.db_media/maps/1018_Sogne.gif"  But reviewing the card seems to work fine, and mnemosyne finds the image.

Another problem I've had for a while is that latex cards aren't always synced with the mobile app. I mentioned that on the mailing list before, and the answer was to delete everything on the mobile device and sync again. That didn't work. One strange thing I seem to observe is that when I sync between my windows box (client) and my ubuntu box (server), the windows box seem to want to generate all the latex images (it takes a while), but when syncing between my mnemosyne server (ubuntu) and the android app, mnemosyne doesn't seem to be generating any images (of course, it might be that it's so quick that I'm not noticing it) Output to the terminal indicates that pdfTeX is being run.

Something funny with the hanging progress bars after sync is that they seem to multiply. First time I sync I get 2. Second time 3. Third time 4.

pasted2
As you say, most of this is probably related to QT, and not mnemosyne. 

Regards,
Jan Egil


image001.png
image001.png

Peter Bienstman

unread,
Dec 12, 2016, 4:20:47 AM12/12/16
to mnemosyne-...@googlegroups.com
>When I start menmosyne, I get these messages:
..
>For each card I review on the desktop, the terminal writes out this message in the terminal: QIODevice::write (QProcess): device not open

These should be harmless.

>Sometimes when I finish a card, it takes about 10 seconds before the question appears. I do not see a pattern in why or how often this happens yet. I >thought it happened mostly with images, but then I saw that it happened with other cards as well.

That's a bit strange.... I noticed that qtwebengine is a bit slower than the previous qtwebkit, but it typically renders in < 0.5 sec on my machine.

>When reviewing images, I sometimes, but not always get messages like this in the terminal "Missing path >/home/me/mnemosyne/default.db_media/maps/1018_Sogne.gif"  But reviewing the card seems to work fine, and mnemosyne finds the image.

Does that file actually exist or is Mnemosyne getting it from somewhere else?

What happens if you add

optimise_Q_A_split = False

to your config.py? Does that impact the speed issues?

>Another problem I've had for a while is that latex cards aren't always synced with the mobile app. I mentioned that on the mailing list before, and the >answer was to delete everything on the mobile device and sync again. That didn't work. One strange thing I seem to observe is that when I sync >between my windows box (client) and my ubuntu box (server), the windows box seem to want to generate all the latex images (it takes a while), but >when syncing between my mnemosyne server (ubuntu) and the android app, mnemosyne doesn't seem to be generating any images (of course, it >might be that it's so quick that I'm not noticing it) Output to the terminal indicates that pdfTeX is being run.

On your Ubuntu server, the best way to check if the latex images are being generated is to delete the contents of default.db_media/_latex and then do the initial sync again. This should result in the png files being created in that directory. The directory will also contain the latex log files, which perhaps contain useful info.

>Something funny with the hanging progress bars after sync is that they seem to multiply. First time I sync I get 2. Second time 3. Third time 4.

Seems Qt is not executing the calls to close the progress bar correctly...

Thanks for the feedback!

Peter


Reply all
Reply to author
Forward
0 new messages