Hello again, First thing, I tried adding an image card before patching; with and without unicode, there were no errors and the image was displayed properly.
Secondly, the patch fixed the error but I'm still not getting any sound -- mplayer is (and already was) installed and in my path. I tested mplayer from the command line and there were no problems, so something's wrong with the Python library you're using or Mnemosyne's own code. BTW to fix the unicode audio bug you can probably just change "file:///" to "file://" in the replace function call, instead of commenting out the whole block of code. The problem was that the leading slash was missing, after all! Also, I found yet another bug where Mnemosyne crashes after running 'compact' from the menu. Command line output: QObject::setParent: Cannot set parent, new parent is in a different thread QObject::installEventFilter(): Cannot filter events for objects in a different thread. X Error: BadIDChoice (invalid resource ID chosen for this connection) 14 Major opcode: 1 (X_CreateWindow) Resource id: 0x260002f X Error: BadIDChoice (invalid resource ID chosen for this connection) 14 Extension: 139 (RENDER) Minor opcode: 4 (RenderCreatePicture) Resource id: 0x2600030 python2: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. On Monday, 28 September 2015 22:10:18 UTC+1, David Bailey wrote: > > Hi, just posting here with a detailed version of the bug report that I > gave on the app review. > > The bug occurs when I add new cards and learn them from the desktop app, > then sync from the Android app. Might be worth noting that I usually don't > have any unreviewed cards before adding new cards. > > When I try to sync first, it'll give an error saying that the sync failed > on both the phone and computer. Once this is dismissed and I sync again, > the app asks if I'd like to fetch the remote version (i.e. computer copy) > or cancel the sync. After refetching the whole database/media, the sync > successfully completes. > > I've attached screenshots from the app of the error occurring. At the end > of the Python traceback, there was a UnicodeEncodeError -- I'm studying > Japanese flashcards, not sure if this is part of the cause of the error. > > Also, I have a feeling that if I added new words on the desktop app, then > synced before learning them, learnt them on the computer and synced again, > then the error wouldn't occur. (i.e. same but sync before learning cards) > > Desktop app information (output of pacman -Qi mnemosyne) -- I installed > from the Arch User Repository: > > Name : mnemosyne > Version : 2.3.3-1 > Description : A flash-card tool with a sophisticated card review > algorithm > Architecture : x86_64 > URL : http://www.mnemosyne-proj.org > Licences : GPL > Groups : None > Provides : None > Depends On : python2-pyqt4 python2-matplotlib python2-cherrypy > python2-webob > Optional Deps : texlive-core: support for mathematical formulae in cards > Required By : None > Optional For : None > Conflicts With : mnemosyne-bzr > Replaces : None > Installed Size : 3.52 MiB > Packager : David Bailey <[email protected]> > Build Date : Tue 25 Aug 2015 11:01:39 BST > Install Date : Tue 25 Aug 2015 11:01:52 BST > Install Reason : Explicitly installed > Install Script : Yes > Validated By : None > > Android app information (screenshot from Solid Explorer's application > manager): > > > <https://lh3.googleusercontent.com/-MdiMEcS0GwA/VgmYmAdlNbI/AAAAAAAAGG4/V6ifg228W48/s1600/Screenshot_2015-09-28-20-42-44.png> > > Hope this can help you to fix the problem! > David > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/4bc4d9c3-de05-4fbb-bef2-3565687543c8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
