Hello,
I gave a try to tdf#103363 (MAILMERGE: Outgoing mailserver (set in Tools >
Options > Writer > Mail merge Email) not found), there's some problem with
idna encoding.
I tried to add "import encodings.idna" + replace
self.server = smtplib.SMTP(server, port,timeout=tout)
by
self.server = smtplib.SMTP(encodings.idna.ToUnicode(server),
port,timeout=tout)
but retrieved this error:
Python exception: <class 'ImportError'>: No module named 'unicodedata' (or
'unicodedata.ucd_3_2_0' is unknown), traceback follows
File "/home/julien/lo/libreoffice/instdir/program/pythonloader.py", line
136, in activate
mod = self.getModuleFromUrl( locationUrl )
File "/home/julien/lo/libreoffice/instdir/program/pythonloader.py", line
114, in getModuleFromUrl
mod = __import__( dependent )
File "/home/julien/lo/libreoffice/instdir/program/uno.py", line 347, in
_uno_import
return _builtin_import(name, *optargs, **kwargs)
File "/home/julien/lo/libreoffice/instdir/program/mailmerge.py", line 21,
in <module>
import encodings.idna
So I wonder what Python version should be used for LO master sources?
I used --enable-python=internal but my config.log displays some 2.7 ref, see
https://bugs.documentfoundation.org/show_bug.cgi?id=103363#c15
When reading this link
https://wiki.documentfoundation.org/Development/Linux_Build_Dependencies
I find Python 2 and 3 refs.
I also read that MSVC 2013 needed Python 3.3, for the others 3.5 in
configure.ac (see
http://opengrok.libreoffice.org/xref/core/configure.ac#8266)
Any thoughts?
Julien
--
View this message in context:
http://nabble.documentfoundation.org/About-Python-version-tp4202959.html
Sent from the Dev mailing list archive at Nabble.com.
Context
- About Python version · julien2412
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.