https://bugs.freedesktop.org/show_bug.cgi?id=77354

--- Comment #1 from r...@emm.org ---
Note what happens when attempting to import the ssl module for the included
Python:

C:\Users\Test>"\Program Files (x86)\LibreOffice 4\program\python.exe"
Python 3.3.3 (default, Apr  8 2014, 14:59:24) [MSC v.1600 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):

   File "<stdin>", line 1, in <module>

   File "C:\Program Files (x86)\LibreOffice
4\program\python-core-3.3.3\lib\ssl.py", line 6
0, in <module>

     import _ssl             # if we can't import it, let the error propagate
ImportError: DLL load failed: The operating system cannot run %1.
>>>

---------------------------------------

For testing, I renamed the included _ssl.pyd (dll) and copied _ssl.pyd from a
standalone Python 3.3.3 for Windows (x86):

C:\Users\Test>ren "\Program Files (x86)\LibreOffice
4\program\python-core-3.3.3\lib\_ssl.p
yd" _ssl.pyd.original

C:\Users\Test>copy \\host\c$\Python33\DLLs\_ssl.pyd "\Program Files
(x86)\LibreOf
fice 4\program\python-core-3.3.3\lib"

            1 file(s) copied.

---------------------------------------

Note the difference in file size between the original _ssl.pyd and the
replacement:

C:\Users\Test>dir "\Program Files (x86)\LibreOffice
4\program\python-core-3.3.3\lib\_ssl.p
yd*"

Directory of C:\Program Files (x86)\LibreOffice 4\program\python-core-3.3.3\lib

11/18/2013  09:19 PM         1,190,400 _ssl.pyd
04/08/2014  09:21 PM            49,152 _ssl.pyd.original

---------------------------------------

After replacing _ssl.pyd, importing the ssl module succeeds with no errors and
Merge E-mails work as expected.

C:\Users\Test>"\Program Files (x86)\LibreOffice 4\program\python.exe"
Python 3.3.3 (default, Apr  8 2014, 14:59:24) [MSC v.1600 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to