[Libreoffice-bugs] [Bug 125013] Python error 'certificate verify failed (_ssl.c:719)'
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 28 18:39:38 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=125013
Buovjaga <ilmari.lauhakangas at libreoffice.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ilmari.lauhakangas at libreoff
| |ice.org
--- Comment #14 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
(In reply to Leif Lodahl from comment #13)
> I added two scripts to the bug.
> Ipsum.py is a Python module that returns a piece of text from the web with
> urlopen.
> TestAnything.py is a Python script for LibreOffice that calls the function
> in Ipsum.py and inserts the text in a Writer document.
>
> It fails!
I get
com.sun.star.uno.RuntimeException: Error during invoking function insertIpsum
in module
file:///home/user/libreoffice/instdir/share/Scripts/python/TestAnything.py
(<class 'NameError'>: name 'paras' is not defined
File "/home/tonttu/libreoffice/instdir/program/pythonscript.py", line 915, in
invoke
ret = self.func( *args )
File "/home/user/libreoffice/instdir/share/Scripts/python/TestAnything.py",
line 12, in insertIpsum
doc.getText().setString(Ipsum.getLoremipsum(1,paras,yes))
)
Please advise.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200428/bf3467e3/attachment.htm>
More information about the Libreoffice-bugs
mailing list