{"action":"created","issue":{"url":"https://api.github.com/repos/sk1project/uniconvertor/issues/4","labels_url":"https://api.github.com/repos/sk1project/uniconvertor/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/sk1project/uniconvertor/issues/4/comments","events_url":"https://api.github.com/repos/sk1project/uniconvertor/issues/4/events","html_url":"https://github.com/sk1project/uniconvertor/issues/4","id":116149529,"number":4,"title":"Converting a .cdr fails: NoneType' object has no attribute 'PageSize'","user":{"login":"htgoebel","id":784161,"avatar_url":"https://avatars.githubusercontent.com/u/784161?v=3","gravatar_id":"","url":"https://api.github.com/users/htgoebel","html_url":"https://github.com/htgoebel","followers_url":"https://api.github.com/users/htgoebel/followers","following_url":"https://api.github.com/users/htgoebel/following{/other_user}","gists_url":"https://api.github.com/users/htgoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/htgoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htgoebel/subscriptions","organizations_url":"https://api.github.com/users/htgoebel/orgs","repos_url":"https://api.github.com/users/htgoebel/repos","events_url":"https://api.github.com/users/htgoebel/events{/privacy}","received_events_url":"https://api.github.com/users/htgoebel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-10T16:52:53Z","updated_at":"2015-11-26T14:45:28Z","closed_at":null,"body":"This happens for both .pdf and svg output.\r\n```\r\n$ python src/script/uniconvertor page1.cdr page1.pdf\r\nTraceback (most recent call last):\r\n  File \"src/script/uniconvertor\", line 13, in <module>\r\n    uniconv_run()\r\n  File \".../src/uniconvertor/__init__.py\", line 83, in uniconv_run\r\n    convert(input_file, output_file, options)\r\n  File \".../src/uniconvertor/__init__.py\", line 106, in convert\r\n    saver(doc, output_file)\r\n  File \".../src/uniconvertor/filters/__init__.py\", line 212, in __call__\r\n    module.save(document, file, filename, options)\r\n  File \".../src/uniconvertor/filters/export/pdfgensaver.py\", line 437, in save\r\n    saver = PDFGenSaver(file, filename, document, options)\r\n  File \".../src/uniconvertor/filters/export/pdfgensaver.py\", line 185, in __init__\r\n    self.pdf.setPageSize(document.PageSize())\r\nAttributeError: 'NoneType' object has no attribute 'PageSize'\r\n´``\r\nHow can I help debugging this?\r\n\r\nBTW: unittests pass."},"comment":{"url":"https://api.github.com/repos/sk1project/uniconvertor/issues/comments/159930597","html_url":"https://github.com/sk1project/uniconvertor/issues/4#issuecomment-159930597","issue_url":"https://api.github.com/repos/sk1project/uniconvertor/issues/4","id":159930597,"user":{"login":"mscke","id":15781517,"avatar_url":"https://avatars.githubusercontent.com/u/15781517?v=3","gravatar_id":"","url":"https://api.github.com/users/mscke","html_url":"https://github.com/mscke","followers_url":"https://api.github.com/users/mscke/followers","following_url":"https://api.github.com/users/mscke/following{/other_user}","gists_url":"https://api.github.com/users/mscke/gists{/gist_id}","starred_url":"https://api.github.com/users/mscke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscke/subscriptions","organizations_url":"https://api.github.com/users/mscke/orgs","repos_url":"https://api.github.com/users/mscke/repos","events_url":"https://api.github.com/users/mscke/events{/privacy}","received_events_url":"https://api.github.com/users/mscke/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T14:45:28Z","updated_at":"2015-11-26T14:45:28Z","body":"I've the same issue with CorelDRAW X7 files"}}