[Libreoffice-bugs] [Bug 116412] New: Bundled python fails to import bz2 on Windows
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 15 02:36:07 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116412
Bug ID: 116412
Summary: Bundled python fails to import bz2 on Windows
Product: LibreOffice
Version: 6.0.2.1 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: tabe at fixedpoint.jp
Description:
Importing bz2 module of Python fails with the following error message:
ImportError: No module named '__bz2'
Steps to Reproduce:
1. Start Command Prompt
2. > cd "C:\Program Files\LibreOffice\program"
3. > python
4. >>> import bz2
Actual Results:
Got an ImportError:
---
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\LibreOffice\program\python-core-3.5.4\lib\bz2.py",
line 22, in <module>
from _bz2 import BZ2Compressor, BZ2Decompressor
ImportError: No module named '_bz2'
>>>
---
Expected Results:
Module bz2 is imported successfully.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 6.0.2.1 (x64)
Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU threads: 8; OS: Windows 10.0; UI render: default;
Locale: en-US (en_US); Calc: group
On the other hand, importing bz2 succeeds with python of macOS version of LibO
6.0.2.
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0
--
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/20180315/1ac65e46/attachment.html>
More information about the Libreoffice-bugs
mailing list