Errors or crashes pasting a 404 image link

Aleksej's Avatar


21 Apr, 2013 08:42 AM

Anki 2.0.8 on Debian GNU/Linux squeeze,

When I paste an image link that is 404, like , Anki shows an error and/or crashes:

Traceback (most recent call last):
File "/usr/share/anki/aqt/", line 898, in keyPressEvent self.onPaste() File "/usr/share/anki/aqt/", line 917, in onPaste mime = self.prepareClip() File "/usr/share/anki/aqt/", line 979, in prepareClip mime = self._processMime(mime) File "/usr/share/anki/aqt/", line 1013, in _processMime return self._processText(mime) File "/usr/share/anki/aqt/", line 1050, in _processText new.setText(mime.text()) RuntimeError: wrapped C/C++ object of %S has been deleted
Segmentation fault

  1. 1 Posted by Aleksej on 21 Apr, 2013 08:45 AM

    Aleksej's Avatar

    At first, a urllib error about the 404 appears.

    If I paste
    1600/spp4.JPG — which a line break — a msgbox appears with "An error occured while opening "; when I click the button, Anki crashes.

  2. 2 Posted by Soren Bjornstad on 21 Apr, 2013 10:50 PM

    Soren Bjornstad's Avatar

    Added to the todo, thanks.

  3. Soren Bjornstad closed this discussion on 21 Apr, 2013 10:50 PM.

  4. Damien Elmes closed this discussion on 17 May, 2013 01:32 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac