https://bugs.freedesktop.org/show_bug.cgi?id=66761
--- Comment #5 from Alex Thurgood <[email protected]> --- If I try and run your code in Version 4.0.3.3 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539) from the Basic IDE via a new module in a Writer document, I get the following error : Erreur d'exécution BASIC. Une exception s'est produite : Type: com.sun.star.uno.RuntimeException Message: <class 'socket.gaierror'>: (8, 'nodename nor servname provided, or not known'), traceback follows /Applications/LibreOffice.app/Contents/program/LibreOfficePython.framework/Versions/Current/lib/python3.3/socket.py:406 in function create_connection() [for res in getaddrinfo(host, port, 0, SOCK_STREAM):] /Applications/LibreOffice.app/Contents/program/LibreOfficePython.framework/Versions/Current/lib/python3.3/smtplib.py:288 in function _get_socket() [self.source_address)] /Applications/LibreOffice.app/Contents/program/LibreOfficePython.framework/Versions/Current/lib/python3.3/smtplib.py:317 in function connect() [self.sock = self._get_socket(host, port, self.timeout)] /Applications/LibreOffice.app/Contents/program/LibreOfficePython.framework/Versions/Current/lib/python3.3/smtplib.py:238 in function __init__() [(code, msg) = self.connect(host, port)] /Applications/LibreOffice.app/Contents/program/mailmerge.py:99 in function connect() [self.server = smtplib.SMTP(server, port,timeout=tout)] How is this code supposed to be run ? From within a document or from the command line ? Alex -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
