Hi,

Instead of putting your media in

C:\Users\Jack Thro\AppData\Roaming\Mnemosyne\maps\AfricaCountries\Africa.png"

Put them in

C:\Users\Jack Thro\AppData\Roaming\Mnemosyne\default.db_media\maps\AfricaCountries\Africa.png"

Then, edit your card so that it readsreads:

<img src="maps\AfricaCountries\Africa.png">

That should work.

Not sure what you meant by the editing not being saved, but perhaps it's worth pointing out that in the card browser list, images are never displayed.

Hope this helps,

Peter


On 08/02/2013 09:28 AM, Tonde Monai wrote:
Gnome,

I am begging for help again. I tried following your advice as well as I
could to get everything in decent order for using Mnemosyne version
2.2.1. Most tagged groups of cards are working well, but I am not able
to get graphical images to appear---all I get is a question mark
surrounded by a small blue box where I want to see an image. Much of the
work that I did before involved learning the names of countries and
states from an outline map, and I want to continue reviewing this
information with Mnemosyne.

I have backups of the data that I was using from v1.x; everything works
except for those categories (now "tags") that use images. My old data,
including graphic images, is now in the following v2.x location:
C:\Users\Jack Thro\AppData\Roaming\Mnemosyne

To keep things simple while focusing on the problem, I have isolated
just two "map-type" cards out of the large pile and given them the tag
"Africatest" and tried to work with them. These two cards are for
Algeria and Lesotho. Both have "Recognition" and "Production" versions,
giving a total of four cards with the "Africatest" tag.

For example, when the system shows me the word "Algeria" and a question
mark (probably for the map of Africa with the country Algeria painted in
red),
I click the "Show answer" bar and then get the word "Algeria" above a
larger rectangle with the same small question mark in the center. I next
press "Ctrl+E" to edit this card.

The "Edit card" display then pops up. The "Blank map" box in the "Edit
card" display shows:
<img src="Africa_22_.png">
(The map that I want to display is labeled simply "Africa.png" However,
every time I try to improve the situation, I get the above line with a
number surrounded by underbars, like the _22_ above, and the number is
increased by one every time I try it.) Apparently I have tried to edit
this card 22 times by now, but still no luck!

I edit that box to show the path to the Windows folder where the map
file is located and the correct name of the file, so that it now reads
as follows:
<img src="C:\Users\Jack
Thro\AppData\Roaming\Mnemosyne\maps\AfricaCountries\Africa.png">

When I next click the "Preview" box on the "Edit card" display, I see on
the "Preview cards" display only the rectangles surrounding the same
question mark for both "Question" and "Answer." However, when I click
the "Next sister card" box on the "Edit card" display, I see the map of
Africa correctly displayed with the word "Algeria" above it as the
Question. Aha, I think, this is at least some progress, so I want to
save the editing that I have done. I click the "OK" box on the "Preview
cards" display to return to the "Edit card" display, which is just as I
have changed it. Now I click the "OK" box on the "Edit card" display to
return to the flash cards, but the results are just as before.

To see what the data on my cards looks like now, I click "Ctrl+B" to
browse the cards with an "Africatest" flag and find that the results of
my editing have not been saved. The results are the same when I try
editing the "Marked map" as well as, or instead of, the "Blank map"
fields on the "Edit card" display.

How can I get the cards to retain my editing when I have pointed them to
the proper image file to be displayed? And is there a simpler way to do
the editing and point to the proper folder that holds the images for a
group of cards, e.g., all cards with the same tag, or do I have to edit
the "Question" and "Answer" fields for each card individually. I am
willing to edit each card one-by-one if that is the only way, but I want
my editing work to be saved with the other data on the cards.

I hope that you can help me with this problem. I am holding my breath
waiting for your kind answer.

Thank you,

Jack Thro


On Wednesday, July 24, 2013 11:28:12 PM UTC+9, Gnome wrote:

    No problem, glad to help.

    kl. 09:34:12 UTC+2 onsdag 24. juli 2013 skrev Tonde Monai følgende:

        Gnome,

        Thank you for your help!
        After sleeping on the problem, this morning I tried
        right-clicking on the Mnemosyne icon on my desktop and choosing
        the "Troubleshoot compatibility" option on the pull-down menu.
        This alone sorted out most of the problem for me, and I'm now
        running on v2.2.1. Thanks again!

        Jack Thro in Tokyo

        On Wednesday, July 24, 2013 3:35:10 AM UTC+9, Gnome wrote:

            I forgot to mention remove the 1.x data from the 2.x folder.

            kl. 20:31:04 UTC+2 tirsdag 23. juli 2013 skrev Gnome følgende:

                Normally the 1.x files should be imported to 2.x the
                first time mnemosyne stats.

                This should work:
                1. Make sure you have a backed up copy of the 1.x data.
                2. Make sure the 1.x data is in it's orginal location
                (where mnemosyne 1.x accessed it)
                3. Delete your database in the mnemosyne 2.x folder,
                it's normally located here:
                C:\Users\User\AppData\Roaming\Mnemosyne
                make sure you delete 'default.db_media', 'default.db'
                and 'default.db-journal'
                and the corresponding files to the database if you
                created a new database (by default it's named default.db)
                4. Start mnemosyne hope that it will import the 1.x files

                Good luck!

                kl. 08:14:44 UTC+2 tirsdag 23. juli 2013 skrev Tonde
                Monai følgende:

                    On Thursday, April 18, 2013 1:03:11 AM UTC+9,
                     > In case you downloaded the Mac version, you might
                    want to try again,
                     >
                     > as there has been a small confusion in version
                    numbers.
                     >
                     >
                     >
                     > Cheers,
                     >
                     >
                     >
                     > Peter

                    I have been using a Version 1.xxx of Mnemosyne
                    almost daily for more than a year and loved it.
                    Today I noticed that a newer version was available
                    and decided it was time to upgrade. AArrrrggghhh!

                    I am running Windows System 7.
                    Next I uninstalled the previous version of
                    Mnemosyne. Sad to say goodbye -- it was working so well!

                    Then I downloaded mnemosyne-2.1.1-setup.exe
                    and executed the installation.

                    The program opened successfully the first time, but
                    it wasn't accessing my database.

                    I added one simple card and tried the "Save As"
                    command, to see where the program would be looking
                    for data. It pointed me to:
                    C: Computer\Local Disk (C:)\Users\Jack Thro\mnemosyne

                    I exited the program, then moved all of my backup
                    data into the above folder and tried to re-start the
                    program.

                    At first I received many "unexpected error" warning
                    messages, all pointing to plugins in my old
                    database. I removed all of the plugin filess and
                    then tried again to re-start the program. Since
                    then, I continue to get only one "unexpected error"
                    message, as follows:

                    An unexpected error has occurred.
                    Please forward the following info to the developers:

                    Traceback (innermost last):
                    File "mnemosyne", line 155, in <module>
                    File "mnemosyne\libmnemosyne\__init__.pyo", line
                    179, in initialise
                    File "mnemosyne\libmnemosyne\__init__.pyo", line
                    295, in load_database
                    File "mnemosyne\libmnemosyne\databases\SQLite.pyo",
                    line 351, in load
                    File
                    "mnemosyne\libmnemosyne\databases\SQLite_media.pyo",
                    line 39, in create_media_dir_if_needed
                    File "os.pyo", line 150, in makedirs
                    File "os.pyo", line 157, in makedirs
                    WindowsError:[Error5]Access is denied:u'backups'

                    End of error message.

                    Please give me some suggestions on what to do. I'm
                    quite willing to go back to a Version 1.xxx of the
                    software if that is the only way.
                    Thanks!
                    Jack Thro (aka Tonde Monai)
                    [email protected]
                    Tokyo, Japan
                     >
                     >
                     > Quoting Peter Bienstman
                     >
                     >
                     >
                     > >
                    http://mnemosyne-proj.org/download-mnemosyne.php
                    <http://mnemosyne-proj.org/download-mnemosyne.php>
                     >
                     > >
                     >
                     > > Mnemosyne 2.2.1 : 2013-04-15
                     >
                     > >
                     >
                     > > (Note that for Windows users we recommend
                    uninstalling the previous
                     >
                     > > version before installing the new one.)
                     >
                     > >
                     >
                     > > -The premade cards from the old 1.x website
                    have now all been
                     >
                     > > converted to the
                     >
                     > >  new 2.x cards format and put on the new
                    website. This will make importing
                     >
                     > >  much easier, as graphics are bundled (thanks
                    to Patrick Kenny for the
                     >
                     > >  conversion).
                     >
                     > > -For txt import, a text file can now contain a
                    fourth column which will be
                     >
                     > >  mapped to the 'notes' field of a Vocabulary card.
                     >
                     > > -When editing or browsing cards, don't reset
                    the state of the scheduler such
                     >
                     > >  that you need to press 'show answer' again or
                    such that a new card appears
                     >
                     > >  (reported by Gnome).
                     >
                     > > -Remember which tags where expanded/collapsed
                    in the tag tree (requested a.o
                     >
                     > >  by Troy Guze).
                     >
                     > > -Correctly update flag 'hide pronunciation' in
                    the popup menu (reported by
                     >
                     > >  Tom Cato Amundsen).
                     >
                     > > -When merging duplicate cards, merge tags also
                    (requested by Stephan
                     >
                     > > Maseizik).
                     >
                     > > -Fix regression where all the dialogs would
                    have generic names ('mnemosyne')
                     >
                     > >  as opposed to e.g. 'Add cards'.
                     >
                     > > -Correctly format clozes in latex, e.g.
                    [Lorentz force law]
                     >
                     > >
                      
<$>[\mathbf{F}]=[q]([\mathbf{E}]+[\mathbf{v}\times\mathbf{B}]</$>
                     >
                     > >  ()requested by acdenh). If you want literal []
                    in latex, use \left[
                     >
                     > >  and \right].
                     >
                     > > -Fix crash when converting multiple cards at
                    the same time between e.g.
                     >
                     > >  Vocabulary card type and Map card type
                    (reported by Gnome).
                     >
                     > > -No longer allow mass converting of cards to
                    Cloze card types, as this
                     >
                     > >  requires editing of the card content for each
                    card anyhow (reported by Scott
                     >
                     > >  Youngman).
                     >
                     > > -Fix browser crash occuring after deleting a
                    card type which had custom
                     >
                     > >  formatting (reported by Tom Zerlau).
                     >
                     > > -Unless the 'Prefill tag behaviour' plugin is
                    active, changing card
                     >
                     > > types will
                     >
                     > >  never change the tag you already filled in,
                    even if it's different from the
                     >
                     > >  last used tag (reported by Gnome).
                     >
                     > > -When changing the font for '<all card types>',
                    make a more neutral choice
                     >
                     > >  for default font in case currently different
                    card types have different
                     >
                     > >  fonts (reported by Gnome).
                     >
                     > > -Make sync and sync error handling more robust.
                     >
                     > > -In case you don't explicitly select a
                    background colour, use your theme's
                     >
                     > >  background colour as opposed to white for
                    empty cards (reported by
                     >
                     > > ialectum).
                     >
                     > > -The quote key to left of 1 (`) can now also be
                    used as a short cut
                     >
                     > > for grade 0
                     >
                     > >  (requested by Kent Stearman).
                     >
                     > > -In the card browser, CTRL+F can be used to
                    focus the input on the search
                     >
                     > >  field (requested by abacus).
                     >
                     > > -Improve the position of dialogs popping up
                    from the card browser,
                     >
                     > >  sync window, ... .
                     >
                     > > -Fix crash pressing the 'Delete' key in the
                    'Activate cards' dialog (reported
                     >
                     > >  by Gnome).
                     >
                     > > -When changing card types, only warn about
                    losing history when there
                     >
                     > > is actual
                     >
                     > >  history present (reported by Gnome).
                     >
                     > > -In case you are not using saved sets and
                    create a new tag whose parent is
                     >
                     > >  inactive, make the new tag inactive too. (If
                    you have a saved set active,
                     >
                     > >  you'll get a dialog box asking whether you
                    want to activate that tag or not,
                     >
                     > >  just like before) (reported by Gnome).
                     >
                     > > -Fix bug in interaction between Latex system
                    and exporting to the 'cards'
                     >
                     > >  format (reported by Gwern).
                     >
                     > > -More tweaks for RTL languages like Arabic and
                    Hebrew (bug report by
                     >
                     > >  Ansgar Bohmann).
                     >
                     > > -No more superfluous empty lines for cards with
                    RTL languages.
                     >
                     > > -When changing languagues, translate the window
                    title immediately, instead
                     >
                     > >  of after reboot.
                     >
                     > > -On a Thai system, don't use Thai numerals in
                    the card browser if
                     >
                     > > the language
                     >
                     > >  is set to English (requested by Mark).
                     >
                     > > -Take time zone information into account when
                    displaying creation date of
                     >
                     > >  card in browser.
                     >
                     > > -When renaming a saved set, prefill the name
                    field with the previous name of
                     >
                     > >  the set.
                     >
                     > > -Don't reset selected plugin when importing a
                    new plugin (reported by Gnome).
                     >
                     > > -When trying to deactivate a card type in use,
                    show name of the card type in
                     >
                     > >  the error message.
                     >
                     > > -Fix CTRL+F shortcut for inserting flash,
                    CTRL+D for inserting video, and
                     >
                     > >  CTRL+C for copying (reported by Gnome).
                     >
                     > > -Tab key now cycles through all the grade
                    buttons (reported by Gnome).
                     >
                     > > -Fix grading shortcuts R and W for 'right' and
                    'wrong' in the cramming
                     >
                     > >  scheduler.
                     >
                     > > -Backspace and delete shortcuts to delete the
                    current card work again
                     >
                     > >  (reported by Dylan Gordhan).
                     >
                     > >
                     >
                     > > --
                     >
                     > > 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].
                     >
                     > > For more options, visit
                    https://groups.google.com/groups/opt_out
                    <https://groups.google.com/groups/opt_out>.

--
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/3139d22e-eb67-47e7-9be7-beea8b2d35a9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Peter Bienstman
Ghent University, Dept. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 46, fax: +32 9 264 35 93
WWW: http://photonics.intec.UGent.be
email: [email protected]

--
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/51FB8078.4080508%40UGent.be.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to