id

195

publisher

goffi@goffi.org/d08fc2c8-30c5-4081-bff7-2f0f733436e8

title
jp crash when trying to edit blog from https link
reporter
Goffi
created
15/03/2017, 15:28
updated
15/03/2017, 15:28
labels
jp
type
bug
status
queued
priority
normal
milestone
0.7
severity
normal
body

when using https link with jp/blog/edit, it crashes. e.g.: % jp blog edit -cp goffi.org -- 'https://www.goffi.org/blog/goffi/9c1eccb5-9ad3-47bf-9cbd-065640337e2f' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 604, in msg_reply_handler reply_handler(*message.get_args_list(**get_args_opts)) File "/home/goffi/lib/sat_frontends/jp/base.py", line 524, in <lambda> self.bridge.connect(self.profile, self.args.pwd, {}, lambda dummy: callback(), cant_connect) File "/home/goffi/lib/sat_frontends/jp/base.py", line 822, in connected self.start() File "/home/goffi/lib/sat_frontends/jp/cmd_blog.py", line 567, in start root = etree.parse(url, parser) File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:81117) File "src/lxml/parser.pxi", line 1811, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:117848) File "src/lxml/parser.pxi", line 1837, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:118195) File "src/lxml/parser.pxi", line 1741, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:117107) File "src/lxml/parser.pxi", line 1138, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:111653) File "src/lxml/parser.pxi", line 595, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:105109) File "src/lxml/parser.pxi", line 706, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:106817) File "src/lxml/parser.pxi", line 633, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:105628) IOError: Error reading file 'https://www.goffi.org/blog/goffi/9c1eccb5-9ad3-47bf-9cbd-065640337e2f': failed to load external entity "https://www.goffi.org/blog/goffi/9c1eccb5-9ad3-47bf-9cbd-065640337e2f" It works OK with http link.

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_195

You are not logged. You need to log in to comment.