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

             Bug #: 52637
           Summary: CONFIGURATION: Regression: SAXReaderNotAvailable
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.5.5.3 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
 Status Whiteboard: BSA
          Severity: normal
          Priority: medium
         Component: Installation
        AssignedTo: libreoffice-bugs@lists.freedesktop.org
        ReportedBy: pbronline-freedesk...@yahoo.co.uk


Problem description:  Python Script that uses the pyuno bridge successfully
with LibO 3.5.2 fails with Lib0 3.5.5

No issue with LibO 3.5.2.  Problem with 3.5.5 and also 3.5.4.  Reading on the
web suggests the Python xml libraries are not built correctly.

Comparison of contents under python-core-2.6.1 shows that 3.5.5 is 'missing'
_elementtree.so and pyexpat.so, which support the hypothesis.

Steps to reproduce:
1. Install Lib0 3.5.5 using:
  LibO_3.5.5_Linux_x86-64_install-deb_en-US.tar.gz
  LibO_3.5.5_Linux_x86-64_langpack-deb_en-GB.tar.gz
  LibO_3.5.5_Linux_x86-64_helppack-deb_en-GB.tar.gz
(downloaded 21 July, installed 28 July)

2. Create simple test program:
debian:tmp$ cat > botheration.py 
# -*- coding: utf-8 -*-
from xml.sax import make_parser
saxparser = make_parser()
# EOF

3. Run simple test program:
PYTHONPATH=./:/opt/libreoffice3.5/program/ /opt/libreoffice3.5/program/python
botheration.py

Current behaviour (3.5.5):
@maple:tmp$ PYTHONPATH=./:/opt/libreoffice3.5/program/
/opt/libreoffice3.5/program/python botheration.py
Traceback (most recent call last):
  File "botheration.py", line 3, in <module>
    saxparser = make_parser()
  File "/opt/libreoffice3.5/program/python-core-2.6.1/lib/xml/sax/__init__.py",
line 93, in make_parser
    raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
@maple:tmp$

Expected behaviour: (3.5.2)
@aspen:tmp$ PYTHONPATH=./:/opt/libreoffice3.5/program/
/opt/libreoffice3.5/program/python botheration.py                               
@aspen:tmp$                                                                     
Platform (if different from the browser): 
As for browser

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Iceweasel/14.0.1
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Iceweasel/14.0.1
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Iceweasel/14.0.1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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