{"action":"created","issue":{"url":"https://api.github.com/repos/textext/textext/issues/10","repository_url":"https://api.github.com/repos/textext/textext","labels_url":"https://api.github.com/repos/textext/textext/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/textext/textext/issues/10/comments","events_url":"https://api.github.com/repos/textext/textext/issues/10/events","html_url":"https://github.com/textext/textext/issues/10","id":307179495,"number":10,"title":"Error occurred while converting text from LaTeX to SVG","user":{"login":"BorisMonth","id":1309272,"avatar_url":"https://avatars2.githubusercontent.com/u/1309272?v=4","gravatar_id":"","url":"https://api.github.com/users/BorisMonth","html_url":"https://github.com/BorisMonth","followers_url":"https://api.github.com/users/BorisMonth/followers","following_url":"https://api.github.com/users/BorisMonth/following{/other_user}","gists_url":"https://api.github.com/users/BorisMonth/gists{/gist_id}","starred_url":"https://api.github.com/users/BorisMonth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BorisMonth/subscriptions","organizations_url":"https://api.github.com/users/BorisMonth/orgs","repos_url":"https://api.github.com/users/BorisMonth/repos","events_url":"https://api.github.com/users/BorisMonth/events{/privacy}","received_events_url":"https://api.github.com/users/BorisMonth/received_events","type":"User","site_admin":false},"labels":[{"id":809762848,"url":"https://api.github.com/repos/textext/textext/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-21T09:59:08Z","updated_at":"2018-03-25T16:37:57Z","closed_at":null,"author_association":"NONE","body":"I have installed\r\nInkscape 0.92.1 r15371\r\nghostscript 9.06\r\npstoedit 3.62 \r\n\r\nWhen type something in the textext gui and click \"preview\" I get a preview as expected. When I click \"save\" a window with the heading \"Error occurred while converting text from LaTeX to SVG:\" opens, containing the following message:\r\n`u'{http://www.inkscape.org/namespaces/inkscape}version'\r\nTraceback (most recent call last):\r\n  File \"/home/boris/.config/inkscape/extensions/asktext.py\", line 491, in cb_ok\r\n    self.callback(self.text, self.preamble_file, self.global_scale_factor)\r\n  File \"textext.py\", line 224, in <lambda>\r\n    old_node),\r\n  File \"textext.py\", line 337, in do_convert\r\n    self.document.getroot().attrib['{%s}version' % inkex.NSS[\"inkscape\"]].split(' ')[0]).encode('string-escape')\r\n  File \"lxml.etree.pyx\", line 2355, in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:62354)\r\nKeyError: u'{http://www.inkscape.org/namespaces/inkscape}version'\r\n`"},"comment":{"url":"https://api.github.com/repos/textext/textext/issues/comments/375984068","html_url":"https://github.com/textext/textext/issues/10#issuecomment-375984068","issue_url":"https://api.github.com/repos/textext/textext/issues/10","id":375984068,"user":{"login":"toktan","id":37777331,"avatar_url":"https://avatars1.githubusercontent.com/u/37777331?v=4","gravatar_id":"","url":"https://api.github.com/users/toktan","html_url":"https://github.com/toktan","followers_url":"https://api.github.com/users/toktan/followers","following_url":"https://api.github.com/users/toktan/following{/other_user}","gists_url":"https://api.github.com/users/toktan/gists{/gist_id}","starred_url":"https://api.github.com/users/toktan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toktan/subscriptions","organizations_url":"https://api.github.com/users/toktan/orgs","repos_url":"https://api.github.com/users/toktan/repos","events_url":"https://api.github.com/users/toktan/events{/privacy}","received_events_url":"https://api.github.com/users/toktan/received_events","type":"User","site_admin":false},"created_at":"2018-03-25T16:37:57Z","updated_at":"2018-03-25T16:37:57Z","author_association":"NONE","body":"I wished to install TeXtext with inkscape and texlive.  I installed the followings in order using installers with default setting.  1)\tInkscape 0.92.2.exe (Python 2.7 interpreter checked) 2)\tTexText-Windows-0.7.1.exe\r\n3)Install-PyGTK-2.24-Inkscape-0.92.2-64bit.exe 4)pstoeditsetup_x64.exe(.h,.lib, as well as plugins SVG,…checked) 5)ImageMagick-6.9.9-39-Q16-x64-static.exe(ImageMagick-6.9.7-x-Q16-x64-static.exe can no longer obtained from ftp://ftp.imagemagick.org/pub/ImageMagick/ and I could only get ImageMagick-6.9.7-10.zip from there.) 6) gs920w64.exe The result is the same with Boris; Preview ok but error in svg save. The message is :u'{http://www.inkscape.org/namespaces/inkscape}version'\r\nTraceback (most recent call last):\r\n  File \"asktext.py\", line 491, in cb_ok\r\n    self.callback(self.text, self.preamble_file, self.global_scale_factor)\r\n  File \"textext.py\", line 224, in <lambda>\r\n    old_node),\r\n  File \"textext.py\", line 337, in do_convert\r\n    self.document.getroot().attrib['{%s}version' % inkex.NSS[\"inkscape\"]].split(' ')[0]).encode('string-escape')\r\n  File \"src/lxml/lxml.etree.pyx\", line 2467, in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:70679)\r\nKeyError: u'{http://www.inkscape.org/namespaces/inkscape}version'\r\nIf this information is a duplicate annoyance please accept my apology. TeXText is wonderful tool for me to write figures for a physics paper and I have quit portable version  after switching to texlive. Thank you. "}}
{"actor":{"display_login":"toktan"}}