On 09/06/2010 11:20, Timothy Bourke wrote:
On Jun  9 at 10:21 +0100, Dougie Nisbet wrote:
I decided to give mnemogogo a try and it all appeared to install without
many problems. However, when I try and 'export' from mnemosyne I always
get the same error in a pop-up. I have experimented with different
cards, categories, export locations and whether it's to Android or Java,
and the error is unchanged. I am running mnemosyne version 1.2.2.

The error is on a pop-up so I can't paste the message. I'll try adding a
screenshot as an attachment to this email. The error includes:

Traceback (most recent call last):
  File "/home/dougie/.mnemosyne/plugins/mnemogogo/gogo_dlg.py" line 130,
in doExport
  self.settings["max_size"]

.
then 2 other lines then

  File " asabove/core.py" line 462, in get_fresh_id
  r = num_suffix_re.match(id)

TypeError: expected string or buffer
That's very strange. I can't replicate the error but that's because it
depends on the types of the id values in the card database.

Could you please try the following:

1. Backup your Mnemosyne home directory
    (by zipping it or otherwise making a copy).

2. Download and install this update to the Mnemogogo plugin:
    http://www.tbrk.org/distfiles/mnemogogo-1.2.1.zip

3. Try the export again.

4. Open the .mnemosyne/log.txt file in a text editor and look for
    lines of the forms:
        Converting id to string ...
        Fixing duplicate id...
    I would be interested to know what you find!

Tim.


Aha! User Error!

I had several missing image links in my database where I'd renamed filenames.

Thanks for the fix.

Dougie

LOG FILE
-----------
2010-06-09 11:28:28 : Program started : Mnemosyne 1.2.2 posix linux2
2010-06-09 11:28:28 : mnemogogo: version 1.2.1
2010-06-09 11:28:28 : Loaded database 0 0 1288
2010-06-09 11:28:43 : mnemogogo: Converting id to string: 0
2010-06-09 11:30:48 : Saved database 0 0 1288
2010-06-09 11:30:48 : Program stopped
2010-06-09 11:31:05 : Program started : Mnemosyne 1.2.2 posix linux2
2010-06-09 11:31:05 : mnemogogo: version 1.2.1
2010-06-09 11:31:05 : Loaded database 0 0 1288
2010-06-09 11:31:09 : mnemogogo: Converting id to string: 0
2010-06-09 11:31:09 : mnemogogo: Fixing duplicate id: 0 -> 1
2010-06-09 11:31:09 : mnemogogo: Converting id to string: 0
2010-06-09 11:31:09 : mnemogogo: Fixing duplicate id: 0 -> 2

<lines removed>


2010-06-09 11:31:09 : mnemogogo: Fixing duplicate id: 0 -> 345
2010-06-09 11:31:09 : mnemogogo: Converting id to string: 0
2010-06-09 11:31:09 : mnemogogo: Fixing duplicate id: 0 -> 346
2010-06-09 11:31:09 : mnemogogo: Converting id to string: 0
2010-06-09 11:31:09 : mnemogogo: Fixing duplicate id: 0 -> 347
2010-06-09 11:31:09 : mnemogogo: Converting id to string: 0
2010-06-09 11:31:09 : mnemogogo: Fixing duplicate id: 0 -> 348
2010-06-09 11:31:09 : mnemogogo: Converting id to string: 0
2010-06-09 11:31:09 : mnemogogo: Fixing duplicate id: 0 -> 349
2010-06-09 11:31:13 : mnemogogo: image not found: /home/dougie/.mnemosyne/images/Acanthosama/Wed 01 Jul 2009 13-08-15 BST -- Plas Tan Y Bwlch -- Wales -- Acanthosoma haemorrhoidale -- Hawthorn Shieldbug -- Coedydd Aber.jpg
2010-06-09 11:36:47 : Saved database 0 0 1288
2010-06-09 11:36:47 : Program stopped



--
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mnemosyne-proj-users?hl=en.

Reply via email to