Package: xlsx2csv
Version: 0.20+20130606+git4f82f31-2
Severity: important

Expected behaviour: xlsx is converted to csv

Resulted behaviour: conversion doesn't happen, error is thrown:

Traceback (most recent call last):
  File "/usr/bin/xlsx2csv", line 464, in <module>
    xlsx2csv(args[0], sys.stdout, **kwargs)
  File "/usr/bin/xlsx2csv", line 143, in xlsx2csv
    sheet.to_csv(writer)
  File "/usr/bin/xlsx2csv", line 295, in to_csv
    self.parser.ParseFile(self.filehandle)
  File "/usr/lib/python2.7/zipfile.py", line 632, in read
    data = self.read1(n - len(buf))
  File "/usr/lib/python2.7/zipfile.py", line 665, in read1
    data = self._fileobj.read(nbytes)
ValueError: I/O operation on closed file

Tested on many xlsx.

Workaround: downgrading to xlsx2csv_0.20+20121013+gitfa44ba6-1_all.deb solves 
the issue.



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

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

xlsx2csv recommends no packages.

xlsx2csv suggests no packages.

-- debconf-show failed

Reply via email to