{"action":"closed","issue":{"url":"https://api.github.com/repos/CERNDocumentServer/cds-videos/issues/1343","repository_url":"https://api.github.com/repos/CERNDocumentServer/cds-videos","labels_url":"https://api.github.com/repos/CERNDocumentServer/cds-videos/issues/1343/labels{/name}","comments_url":"https://api.github.com/repos/CERNDocumentServer/cds-videos/issues/1343/comments","events_url":"https://api.github.com/repos/CERNDocumentServer/cds-videos/issues/1343/events","html_url":"https://github.com/CERNDocumentServer/cds-videos/issues/1343","id":275630690,"number":1343,"title":"import record error: can't create gif","user":{"login":"egabancho","id":582735,"avatar_url":"https://avatars2.githubusercontent.com/u/582735?v=4","gravatar_id":"","url":"https://api.github.com/users/egabancho","html_url":"https://github.com/egabancho","followers_url":"https://api.github.com/users/egabancho/followers","following_url":"https://api.github.com/users/egabancho/following{/other_user}","gists_url":"https://api.github.com/users/egabancho/gists{/gist_id}","starred_url":"https://api.github.com/users/egabancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egabancho/subscriptions","organizations_url":"https://api.github.com/users/egabancho/orgs","repos_url":"https://api.github.com/users/egabancho/repos","events_url":"https://api.github.com/users/egabancho/events{/privacy}","received_events_url":"https://api.github.com/users/egabancho/received_events","type":"User","site_admin":false},"labels":[{"id":97247539,"url":"https://api.github.com/repos/CERNDocumentServer/cds-videos/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"drjova","id":4287772,"avatar_url":"https://avatars3.githubusercontent.com/u/4287772?v=4","gravatar_id":"","url":"https://api.github.com/users/drjova","html_url":"https://github.com/drjova","followers_url":"https://api.github.com/users/drjova/followers","following_url":"https://api.github.com/users/drjova/following{/other_user}","gists_url":"https://api.github.com/users/drjova/gists{/gist_id}","starred_url":"https://api.github.com/users/drjova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drjova/subscriptions","organizations_url":"https://api.github.com/users/drjova/orgs","repos_url":"https://api.github.com/users/drjova/repos","events_url":"https://api.github.com/users/drjova/events{/privacy}","received_events_url":"https://api.github.com/users/drjova/received_events","type":"User","site_admin":false},"assignees":[{"login":"drjova","id":4287772,"avatar_url":"https://avatars3.githubusercontent.com/u/4287772?v=4","gravatar_id":"","url":"https://api.github.com/users/drjova","html_url":"https://github.com/drjova","followers_url":"https://api.github.com/users/drjova/followers","following_url":"https://api.github.com/users/drjova/following{/other_user}","gists_url":"https://api.github.com/users/drjova/gists{/gist_id}","starred_url":"https://api.github.com/users/drjova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drjova/subscriptions","organizations_url":"https://api.github.com/users/drjova/orgs","repos_url":"https://api.github.com/users/drjova/repos","events_url":"https://api.github.com/users/drjova/events{/privacy}","received_events_url":"https://api.github.com/users/drjova/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CERNDocumentServer/cds-videos/milestones/4","html_url":"https://github.com/CERNDocumentServer/cds-videos/milestone/4","labels_url":"https://api.github.com/repos/CERNDocumentServer/cds-videos/milestones/4/labels","id":1543822,"number":4,"title":"Videos-v1.0","description":"Goal: Videos on CDSLabs for the public\r\n* Submission form\r\n* UI for home page, search page, channel page, video page\r\n* Migration ","creator":{"login":"egabancho","id":582735,"avatar_url":"https://avatars2.githubusercontent.com/u/582735?v=4","gravatar_id":"","url":"https://api.github.com/users/egabancho","html_url":"https://github.com/egabancho","followers_url":"https://api.github.com/users/egabancho/followers","following_url":"https://api.github.com/users/egabancho/following{/other_user}","gists_url":"https://api.github.com/users/egabancho/gists{/gist_id}","starred_url":"https://api.github.com/users/egabancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egabancho/subscriptions","organizations_url":"https://api.github.com/users/egabancho/orgs","repos_url":"https://api.github.com/users/egabancho/repos","events_url":"https://api.github.com/users/egabancho/events{/privacy}","received_events_url":"https://api.github.com/users/egabancho/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":134,"state":"open","created_at":"2016-01-26T10:39:42Z","updated_at":"2017-11-22T17:04:43Z","due_on":"2017-08-02T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-11-21T08:53:31Z","updated_at":"2017-11-22T17:04:43Z","closed_at":"2017-11-22T17:04:43Z","author_association":"OWNER","body":"```\r\nTraceback (most recent call last):\r\n  File \"/opt/cds/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\r\n    R = retval = fun(*args, **kwargs)\r\n  File \"/opt/cds/src/flask-celeryext/flask_celeryext/app.py\", line 78, in __call__\r\n    return Task.__call__(self, *args, **kwargs)\r\n  File \"/opt/cds/lib/python2.7/site-packages/celery/app/trace.py\", line 438, in __protected_call__\r\n    return self.run(*args, **kwargs)\r\n  File \"/opt/cds/src/invenio-migrator/invenio_migrator/tasks/records.py\", line 53, in import_record\r\n    current_migrator.records_dumploader_cls.create(recorddump)\r\n  File \"/opt/cds/src/cds/cds/modules/migrator/records.py\", line 199, in create\r\n    record, deposit = cls._create_deposit(record=record)\r\n  File \"/opt/cds/src/cds/cds/modules/migrator/records.py\", line 365, in _create_deposit\r\n    cls._resolve_files(deposit=deposit, record=record)\r\n  File \"/opt/cds/src/cds/cds/modules/migrator/records.py\", line 543, in _resolve_files\r\n    cls._create_gif(video=deposit)\r\n  File \"/opt/cds/src/cds/cds/modules/migrator/records.py\", line 331, in _create_gif\r\n    master_id=master_video['version_id'])\r\n  File \"/opt/cds/src/cds/cds/modules/webhooks/tasks.py\", line 499, in _create_gif\r\n    gif_image = create_gif_from_frames(images)\r\n  File \"/opt/cds/src/flask-iiif/flask_iiif/utils.py\", line 84, in create_gif_from_frames\r\n    assert gif_image.is_animated\r\nAssertionError\r\n```\r\n\r\n- [x] Task ID 18ff3bb3-226a-4c6c-97f5-9a6b483560fc]\r\ncern-movie-1995-001: 43700\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/cds/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\r\n    R = retval = fun(*args, **kwargs)\r\n  File \"/opt/cds/src/flask-celeryext/flask_celeryext/app.py\", line 78, in __call__\r\n    return Task.__call__(self, *args, **kwargs)\r\n  File \"/opt/cds/lib/python2.7/site-packages/celery/app/trace.py\", line 438, in __protected_call__\r\n    return self.run(*args, **kwargs)\r\n  File \"/opt/cds/src/invenio-migrator/invenio_migrator/tasks/records.py\", line 53, in import_record\r\n    current_migrator.records_dumploader_cls.create(recorddump)\r\n  File \"/opt/cds/src/cds/cds/modules/migrator/records.py\", line 199, in create\r\n    record, deposit = cls._create_deposit(record=record)\r\n  File \"/opt/cds/src/cds/cds/modules/migrator/records.py\", line 365, in _create_deposit\r\n    cls._resolve_files(deposit=deposit, record=record)\r\n  File \"/opt/cds/src/cds/cds/modules/migrator/records.py\", line 543, in _resolve_files\r\n    cls._create_gif(video=deposit)\r\n  File \"/opt/cds/src/cds/cds/modules/migrator/records.py\", line 331, in _create_gif\r\n    master_id=master_video['version_id'])\r\n  File \"/opt/cds/src/cds/cds/modules/webhooks/tasks.py\", line 493, in _create_gif\r\n    image = Image.open(file_opener_xrootd(f, 'rb'))\r\n  File \"/opt/cds/lib/python2.7/site-packages/PIL/Image.py\", line 2519, in open\r\n    % (filename if filename else fp))\r\nIOError: cannot identify image file <xrootdpyfs.xrdfile.XRootDPyFile object at 0x8d01710>\r\n```\r\n\r\n- [x] Task ID 7d642a2c-c2fb-46e9-bcff-52b539d13c0f\r\nCERN-MOVIE-1996-003: 42908\r\n\r\n- [x] Task ID aa275be7-ee0c-4d91-a28c-4c8b0e77ff49\r\ncern-movie-1999-001: 43757"}}
{"actor":{"display_login":"drjova"}}