You are using a really ancient version.  Please upgrade to 2.2.1.

Cheers, 

Peter 

[email protected] wrote:

>I copied my database folder to a new computer with debian wheezy and
>mnemosyne 2.0-RC1 (No problems with the old computer). Now when I try
>to view a latex card it gives me this error (just for the first times,
>after I preview the card for 1 or 2 times the error disappear and the
>card get rendered, I can't do this for all the possible cards though):
>
>Uncaught exception!
>Traceback (innermost last):
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/pyqt_ui/browse_cards_dlg.py",
>line 449, in menu_preview
>    PreviewCardsDlg(self.component_manager, cards, tag_text, self)
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/pyqt_ui/preview_cards_dlg.py",
>line 42, in __init__
>    self.update_dialog()
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/pyqt_ui/preview_cards_dlg.py",
>line 72, in update_dialog
>    self.set_answer(card.answer())
>File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/card.py",
>line 96, in answer
>    (self, render_chain, **render_args)
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/card_type.py",
>line 74, in render_answer
>    render_answer(card, **render_args)
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/render_chain.py",
>line 142, in render_answer
>    return self._render(card, fact_keys, decorators, **render_args)
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/render_chain.py",
>line 153, in _render
>    card, fact_key, **render_args)
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/filters/latex.py",
>line 102, in run
>    img_tag = self.process_latex_img_tag("$" + match.group(1) + "$")
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/filters/latex.py",
>line 82, in process_latex_img_tag
>    img_file = self.create_latex_img_file(latex_command)
>File
>"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/filters/latex.py",
>line 73, in create_latex_img_file
>    shutil.copy("tmp1.png", img_name)
>  File "/usr/lib/python2.7/shutil.py", line 120, in copy
>    copymode(src, dst)
>  File "/usr/lib/python2.7/shutil.py", line 91, in copymode
>    os.chmod(dst, mode)
>OSError: [Errno 1] Operation not permitted:
>'25a4ba2a7730a9ceb14f5cb82f88f73c.png'
>
>-- 
>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/msg/mnemosyne-proj-users/-/OccybSObTmIJ.
>For more options, visit 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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to