[BUG] MISSING_MEDIA false positives

34 views
Skip to first unread message

lolil...@gmail.com

unread,
Oct 6, 2013, 2:44:36 AM10/6/13
to mnemosyne-...@googlegroups.com
Hi, I don't have an launchpad account. I suppose it's OK to post bug reports here?
Here we go:

When importing cards with (supposedly) missing media files, Mnemosyne auto-adds
tag MISSING_MEDIA, and changes the "src" attribute of the tag to "src_missing";
one bug and one feature request WRT this:

  - Bug: When the media filename contains "'", and the "src" specified in the
    card URI-encodes it to "%27", Mnemosyne falsely reports MISSING_MEDIA.
    Editing the card by replacing "%27" to "'" in the "src" attribute still
    results in MISSING_MEDIA.
    Likewise, there probably is a similar bug when checking for unused media.
    When checking media presence, Mnemosyne should request the media as a URI,
    not as a file path.
  - Feature request: Add option to disable MISSING_MEDIA check completely. I
    personally dislike the s/src/src_missing/ magic a lot.

Peter Bienstman

unread,
Oct 7, 2013, 3:26:22 AM10/7/13
to mnemosyne-...@googlegroups.com
Hi,

In all likelihood, this is a relic of Mnemosyne 1.x not storing
filenames in a way that is independent of your OS file system
encoding. Since there are many different encodings possible, it is not
possible for Mnemosyne 2.x to guess the correct one, so I'm afraid the
best option is just to rename the file manually.

As for src_missing, that mechanism is needed for the sync mechanism to
pick up that you fixed your media. So I'm afraid it's not going away,
otherwise I would get a lot of bug reports about media files not
wanting to sync.

Thanks for the feedback!

Peter

Citeren lolil...@gmail.com:
> --
> 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/b418d3e5-7032-4096-9d7c-26c1506ed222%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



ytterbi...@gmail.com

unread,
Jan 2, 2014, 11:13:34 PM1/2/14
to mnemosyne-...@googlegroups.com
If you don't think it's wise to disable the missing media messages, how about an option to remove the text from selected cards?

Peter Bienstman

unread,
Jan 3, 2014, 2:06:54 AM1/3/14
to mnemosyne-...@googlegroups.com
Feel free to post this on our uservoice forum, so that people can vote
for this.

Cheers,

Peter

Citeren ytterbi...@gmail.com:
> --
> 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/d4dc753f-8dcb-4a03-8d8c-b08beebe85ed%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages