{"action":"opened","issue":{"url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3636","labels_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3636/labels{/name}","comments_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3636/comments","events_url":"https://api.github.com/repos/ankidroid/Anki-Android/issues/3636/events","html_url":"https://github.com/ankidroid/Anki-Android/issues/3636","id":105046817,"number":3636,"title":"problem in exporting ","user":{"login":"andishehkis","id":14142186,"avatar_url":"https://avatars.githubusercontent.com/u/14142186?v=3","gravatar_id":"","url":"https://api.github.com/users/andishehkis","html_url":"https://github.com/andishehkis","followers_url":"https://api.github.com/users/andishehkis/followers","following_url":"https://api.github.com/users/andishehkis/following{/other_user}","gists_url":"https://api.github.com/users/andishehkis/gists{/gist_id}","starred_url":"https://api.github.com/users/andishehkis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andishehkis/subscriptions","organizations_url":"https://api.github.com/users/andishehkis/orgs","repos_url":"https://api.github.com/users/andishehkis/repos","events_url":"https://api.github.com/users/andishehkis/events{/privacy}","received_events_url":"https://api.github.com/users/andishehkis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-05T20:20:50Z","updated_at":"2015-09-05T20:20:50Z","closed_at":null,"body":"hi\r\ni used the latest version  AnkiDroid-2.5alpha54\r\nthe issue is about exporting a deck from ankidroid when this deck includes media file.\r\nat first you import a deck which includes media file into ankidroid\r\nthen try to export this deck. in the export page please check the \"include media\"\r\nunfortunately the media doesn't includes in exported file(the size of exported file is much less than the base file because it doesn't include media files).\r\nthis problem also occurred in the previous versions like AnkiDroid-2.4.3. in this version the size of exported apkg file shows that the media was exported but when I reloaded this file into desktop version this problem occurred.\r\n---------------------------------------------------------------------------------------------------------------------\r\nImport failed.\r\nTraceback (most recent call last):\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/aqt.importing\", line 327, in importFile\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/anki.importing.apkg\", line 25, in run\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/anki.importing.anki2\", line 30, in run\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/anki.importing.anki2\", line 45, in _import\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/anki.importing.anki2\", line 86, in _importNotes\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/anki.importing.anki2\", line 392, in _mungeMedia\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/anki.media\", line 216, in transformNames\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/re\", line 151, in sub\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/anki.importing.anki2\", line 372, in repl\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/anki.importing.apkg\", line 37, in _srcMediaData\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/zipfile\", line 869, in read\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/zipfile\", line 892, in open\r\n  File \"C:\\cygwin\\home\\dae\\win\\build\\pyi.win32\\anki\\outPYZ1.pyz/zipfile\", line 859, in getinfo\r\nKeyError: \"There is no item named u'176' in the archive\"\r\n---------------------------------------------------------------------------------------------------------------------\r\n"}}