Your message dated Sat, 25 Jul 2015 16:19:51 +0000
with message-id <[email protected]>
and subject line Bug#783789: fixed in python-odf 1.3.1+dfsg-1
has caused the Debian Bug report #783789,
regarding python-odf: Regression - cannot open spreadsheet files.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
783789: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783789
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-odf
Version: 1.2.0-6
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Please see the attachment python code. I tried to open an ods file and get
crash. But odt/odp works good.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Please put the two files into /tmp. Run /tmp/test01.py

   * What was the outcome of this action?

Traceback (most recent call last):
  File "./test01.py", line 10, in <module>
    odf.opendocument.load(u'test1.ods')
File "/usr/lib/python2.7/dist-packages/odf/opendocument.py", line 970, in load
    __loadxmlparts(z, manifest, doc, u'')
File "/usr/lib/python2.7/dist-packages/odf/opendocument.py", line 901, in __loadxmlparts
    parser.parse(inpsrc)
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 210, in feed
    self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 341, in start_element_ns
    AttributesNSImpl(newattrs, qnames))
File "/usr/lib/python2.7/dist-packages/odf/load.py", line 78, in startElementNS
    e = Element(qname = tag, qattributes=attrdict, check_grammar=False)
File "/usr/lib/python2.7/dist-packages/odf/element.py", line 318, in __init__
    self.setAttrNS(attr[0], attr[1], value)
File "/usr/lib/python2.7/dist-packages/odf/element.py", line 446, in setAttrNS self.attributes[(namespace, localpart)] = c.convert((namespace, localpart), value, self) File "/usr/lib/python2.7/dist-packages/odf/attrconverters.py", line 1607, in convert
    return conversion(attribute, value, element)
File "/usr/lib/python2.7/dist-packages/odf/attrconverters.py", line 120, in cnv_formula
    return __save_prefix(attribute, arg, element)
File "/usr/lib/python2.7/dist-packages/odf/attrconverters.py", line 106, in __save_prefix
    return str(arg)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

   * What outcome did you expect instead?

It should work good. The code works on 1.2.0-2. I'm not sure why
it doesn't work now for 1.2.0-6.


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to zh_TW.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-odf depends on:
pn  python:any  <none>

Versions of packages python-odf recommends:
ii  python-odf-doc    1.2.0-6
ii  python-odf-tools  1.2.0-6

python-odf suggests no packages.

-- no debconf information

--
                                PaulLiu (劉穎駿)
E-mail: Ying-Chun Liu (PaulLiu) <[email protected]>

Attachment: test1.ods
Description: application/vnd.oasis.opendocument.spreadsheet

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#

import odf
import odf.opendocument
import odf.table
import odf.text

odf.opendocument.load(u'test1.ods')

--- End Message ---
--- Begin Message ---
Source: python-odf
Source-Version: 1.3.1+dfsg-1

We believe that the bug you reported is fixed in the latest version of
python-odf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
W. Martin Borgert <[email protected]> (supplier of updated python-odf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 25 Jul 2015 13:36:45 +0000
Source: python-odf
Binary: python-odf python-odf-tools python3-odf python-odf-doc
Architecture: source all
Version: 1.3.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: W. Martin Borgert <[email protected]>
Description:
 python-odf - Python API and tools to manipulate OpenDocument files
 python-odf-doc - documentation and examples for python-odf and python3-odf
 python-odf-tools - Python API and tools to manipulate OpenDocument files
 python3-odf - Python API and tools to manipulate OpenDocument files
Closes: 777635 783789
Changes:
 python-odf (1.3.1+dfsg-1) unstable; urgency=medium
 .
   * New upstream version, which allowed to remove all previous patches.
   * Set HTML_TIMESTAMP = NO (Closes: #777635).
   * Added patch which (Closes: #783789).
   * Remove doc/ in source, because of uglified JS.
   * Updated watch file.
Checksums-Sha1:
 1c71ef054cb635198fa1f874f7ceb4984e9ec646 2346 python-odf_1.3.1+dfsg-1.dsc
 0a59b29abd6a76087e686badbc32d7500e85e305 2752889 
python-odf_1.3.1+dfsg.orig.tar.gz
 4d9a4abf6c2072eb410b083cb746fbd91ab102d6 5300 
python-odf_1.3.1+dfsg-1.debian.tar.xz
 9ef1543ce9ad9a6187bc65f150666766b82f617c 4543260 
python-odf-doc_1.3.1+dfsg-1_all.deb
 d91c0b06c0f252ff68384233865cdf1c83081d07 28884 
python-odf-tools_1.3.1+dfsg-1_all.deb
 a313128d59d1a71cf2bea9a8a2ac3f9588c9cebb 77328 python-odf_1.3.1+dfsg-1_all.deb
 9ee27802cb55c0ab645ec12cd137976d01cbb26f 77736 python3-odf_1.3.1+dfsg-1_all.deb
Checksums-Sha256:
 7934ad0edaf844b7c29ef149edaa1618ad5114d1a0bcab15fb07cfd5b674f690 2346 
python-odf_1.3.1+dfsg-1.dsc
 dffdc0240aae2aca72d6bfc66fbf7e266a2413ef016be9f79e23cad5704ecc2d 2752889 
python-odf_1.3.1+dfsg.orig.tar.gz
 abc25d873f28cf29726aed8a98bacf484619c3b2b1fab1e575d85eaed87edc25 5300 
python-odf_1.3.1+dfsg-1.debian.tar.xz
 1cb666de73685e50ba866de131a344f6c0a23c681aa026bf6c501b4da2f60615 4543260 
python-odf-doc_1.3.1+dfsg-1_all.deb
 247b11d262e5bb22a14ded253f0173cd6750d5d9ea2cc39f827aa4d51f78b0bd 28884 
python-odf-tools_1.3.1+dfsg-1_all.deb
 5c7334ab8f66ff1dc7e25acd5c231f8a8b1ac97f5112703106370cfe7cdbf72f 77328 
python-odf_1.3.1+dfsg-1_all.deb
 8a2e9bc1f6b18fcf4428acec443c6fb7044459e8d97cc78cdcdcaef00cd0e052 77736 
python3-odf_1.3.1+dfsg-1_all.deb
Files:
 420ee82ac357ee0afe9f3fa891a9f257 2346 python optional 
python-odf_1.3.1+dfsg-1.dsc
 5f43511278b93f5fedb9143d8dc9d943 2752889 python optional 
python-odf_1.3.1+dfsg.orig.tar.gz
 f5cb7dd67f6a9afa5ae3dbe9535b61fd 5300 python optional 
python-odf_1.3.1+dfsg-1.debian.tar.xz
 b3e752969c375863013350061e716468 4543260 doc optional 
python-odf-doc_1.3.1+dfsg-1_all.deb
 1fc790f7a7702107f505b4467fb34397 28884 python optional 
python-odf-tools_1.3.1+dfsg-1_all.deb
 f9c3ffa5adb25caac8f1418abcfd456b 77328 python optional 
python-odf_1.3.1+dfsg-1_all.deb
 d75d0528e01a80b9a760eb68c9707989 77736 python optional 
python3-odf_1.3.1+dfsg-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVs7HWAAoJEOPgocKGuWPq+psQAJtB03jRX560obcrqvo4+Owm
DVT+VTMa5twTrKfnBgATC+RxNQRVrgLKYEgfQoeqdmgMMrZhcKuchjFlfo79tocv
D3kKL/5cWqxBZ2IGlBbzwQ9cnj4Q6EInL7Tewk4iHCPdMflqwqwCiKdYAl/DvfAs
GpI4ejI4jrQ5T3WIqe7LfdyCAMMxrVtt6mPGNuRAv7X+zBV0gM4HKVkYG6TtDNyB
zOK2XeybU3Q746hR8aTJR1a3W61zhoWQEWF+AaI7JMKvdZ6oU7seLpxMSVrOeCV/
zs2KlwA0EMM0uqIy+2u57lubiCXa1BnTcP6h33W05/GV85+RqkuNmOLYrHLVMPnY
gtPtywIL/xq3mmvPSdLVAoqYZFSbNNHPk3DKsDYWi8N953Y2kJjBl8pHgUWJFAwa
D6EgGOIPkVP4mJS6veOkWHr+5GcSezqJYoPXeGItQZMGWPusRrwGW7PGDKg6lzGz
SGKa+1CEQihG0JrLp+3BL8ZtfMEOMa/yMGdEw/bzd5Tp8y2WINBg6oa23u69yEc5
zMUHIbDO62cVC5u+Q2l2qUuPjEs1RiAMvgFdyWMY1npMEkrxY5Udvk0+Z3k+7wSn
efW5EjAeI3NTRyh/YrJr8S7FNlej5wNsQy9r1SmMVc9tAAhy/jglzuAZFo5smnWu
NSczO3rUttd3k9f/c47c
=Xcqa
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to