{"action":"created","issue":{"url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/140","labels_url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/140/comments","events_url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/140/events","html_url":"https://github.com/mayan-edms/mayan-edms/issues/140","id":54185075,"number":140,"title":"Thumbnail creation for ods crashing","user":{"login":"mbehrle","id":304732,"avatar_url":"https://avatars.githubusercontent.com/u/304732?v=3","gravatar_id":"","url":"https://api.github.com/users/mbehrle","html_url":"https://github.com/mbehrle","followers_url":"https://api.github.com/users/mbehrle/followers","following_url":"https://api.github.com/users/mbehrle/following{/other_user}","gists_url":"https://api.github.com/users/mbehrle/gists{/gist_id}","starred_url":"https://api.github.com/users/mbehrle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbehrle/subscriptions","organizations_url":"https://api.github.com/users/mbehrle/orgs","repos_url":"https://api.github.com/users/mbehrle/repos","events_url":"https://api.github.com/users/mbehrle/events{/privacy}","received_events_url":"https://api.github.com/users/mbehrle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mayan-edms/mayan-edms/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mayan-edms/mayan-edms/milestones/1","labels_url":"https://api.github.com/repos/mayan-edms/mayan-edms/milestones/1/labels","id":765630,"number":1,"title":"1.1","description":"","creator":{"login":"rosarior","id":413955,"avatar_url":"https://avatars.githubusercontent.com/u/413955?v=3","gravatar_id":"","url":"https://api.github.com/users/rosarior","html_url":"https://github.com/rosarior","followers_url":"https://api.github.com/users/rosarior/followers","following_url":"https://api.github.com/users/rosarior/following{/other_user}","gists_url":"https://api.github.com/users/rosarior/gists{/gist_id}","starred_url":"https://api.github.com/users/rosarior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosarior/subscriptions","organizations_url":"https://api.github.com/users/rosarior/orgs","repos_url":"https://api.github.com/users/rosarior/repos","events_url":"https://api.github.com/users/rosarior/events{/privacy}","received_events_url":"https://api.github.com/users/rosarior/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":36,"state":"open","created_at":"2014-08-26T05:25:19Z","updated_at":"2015-01-16T13:04:11Z","due_on":"2015-03-01T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-01-13T12:12:25Z","updated_at":"2015-01-16T13:04:11Z","closed_at":"2015-01-16T13:04:11Z","body":"Only for ods documents:\r\n\r\n[2015-01-13 13:10:58,638: ERROR/MainProcess] Task documents.tasks.task_get_document_image[3d9b5aab-3439-4610-a60d-5aa89b2ccfb1] raised unexpected: UnknownFileFormat()\r\nTraceback (most recent call last):\r\n  File \"/home/mathiasb/.virtualenvs/mayan_10/local/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\r\n    R = retval = fun(*args, **kwargs)\r\n  File \"/home/mathiasb/.virtualenvs/mayan_10/local/lib/python2.7/site-packages/celery/app/trace.py\", line 438, in __protected_call__\r\n    return self.run(*args, **kwargs)\r\n  File \"/home/mathiasb/projects/mayan_10/mayan/mayan/apps/documents/tasks.py\", line 22, in task_get_document_image\r\n    raise self.retry(exc=exception)\r\n  File \"/home/mathiasb/.virtualenvs/mayan_10/local/lib/python2.7/site-packages/celery/app/task.py\", line 660, in retry\r\n    maybe_reraise()\r\n  File \"/home/mathiasb/.virtualenvs/mayan_10/local/lib/python2.7/site-packages/celery/utils/__init__.py\", line 242, in maybe_reraise\r\n    reraise(exc_info[0], exc_info[1], exc_info[2])\r\n  File \"/home/mathiasb/projects/mayan_10/mayan/mayan/apps/documents/tasks.py\", line 20, in task_get_document_image\r\n    return document.get_image(*args, **kwargs)\r\n  File \"/home/mathiasb/projects/mayan_10/mayan/mayan/apps/documents/models.py\", line 161, in get_image\r\n    file_path = self.get_valid_image(size=size, page=page, zoom=zoom, rotation=rotation, version=version)\r\n  File \"/home/mathiasb/projects/mayan_10/mayan/mayan/apps/documents/models.py\", line 146, in get_valid_image\r\n    image_cache_name = self.get_image_cache_name(page=page, version=version)\r\n  File \"/home/mathiasb/projects/mayan_10/mayan/mayan/apps/documents/models.py\", line 141, in get_image_cache_name\r\n    return convert(input_filepath=document_file, output_filepath=cache_file_path, page=page, transformations=transformations, mimetype=self.file_mimetype)\r\n  File \"/home/mathiasb/projects/mayan_10/mayan/mayan/apps/converter/api.py\", line 95, in convert\r\n    backend.convert_file(input_filepath=input_filepath, output_filepath=output_filepath, transformations=transformations, page=page, file_format=file_format, mimetype=mimetype)\r\n  File \"/home/mathiasb/projects/mayan_10/mayan/mayan/apps/converter/backends/graphicsmagick.py\", line 80, in convert_file\r\n    raise UnknownFileFormat\r\nUnknownFileFormat\r\n"},"comment":{"url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/comments/70250613","html_url":"https://github.com/mayan-edms/mayan-edms/issues/140#issuecomment-70250613","issue_url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/140","id":70250613,"user":{"login":"mbehrle","id":304732,"avatar_url":"https://avatars.githubusercontent.com/u/304732?v=3","gravatar_id":"","url":"https://api.github.com/users/mbehrle","html_url":"https://github.com/mbehrle","followers_url":"https://api.github.com/users/mbehrle/followers","following_url":"https://api.github.com/users/mbehrle/following{/other_user}","gists_url":"https://api.github.com/users/mbehrle/gists{/gist_id}","starred_url":"https://api.github.com/users/mbehrle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbehrle/subscriptions","organizations_url":"https://api.github.com/users/mbehrle/orgs","repos_url":"https://api.github.com/users/mbehrle/repos","events_url":"https://api.github.com/users/mbehrle/events{/privacy}","received_events_url":"https://api.github.com/users/mbehrle/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T13:04:11Z","updated_at":"2015-01-16T13:04:11Z","body":"file returns \"Zip archive data, at least v2.0 to extract\" for this document. The document opens without problems in libreoffice calc. After saving again from libreoffice file returns in \"OpenDocument Spreadsheet\".\r\n\r\nVery strange, how this can/could happen. Certainly not an issue, that can behandled by Mayan."}}