Bug#951913: calibre: list command of calibredb cannot be redirected correctly

2020-02-22 Thread Norbert Preining
forwarded 951913 https://bugs.launchpad.net/calibre/+bug/1864340
thanks

> I cannot redirect the output of calibredb list command correctly.

Confirmed and forwarded.

Thanks

Norbert

--
PREINING Norbert  https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#951913: calibre: list command of calibredb cannot be redirected correctly

2020-02-22 Thread Dai Maru
Package: calibre
Version: 4.99.4+dfsg+really4.11.1-1
Severity: normal

Dear Maintainer,

I cannot redirect the output of calibredb list command correctly.

If list command output the following,
  $ calibre list 
  id title  authors
  1  Title1 authorA
  2  Title2 authorB
  3  Title3 authorC
the redirect result is following.
  $ calibre list > output.txt
  $ cat output.txt
  1  Title1 authoA2  Title2 authorB3  Title3 authorBid title  authors
  
  
  
All records are output withoud new line at first and the title header is next,
then the emptly lines are repeated same as the count of the records.

Please confirm.

Regards,
Dai Maru

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), 
LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages calibre depends on:
ii  calibre-bin  4.99.4+dfsg+really4.11.1-1
ii  dpkg 1.19.7
ii  fonts-liberation 1:1.07.4-10
ii  imagemagick  8:6.9.10.23+dfsg-2.1+b2
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.23+dfsg-2.1+b2
ii  libjpeg-turbo-progs  1:1.5.2-2+b1
ii  libjs-mathjax2.7.4+dfsg-1
ii  libjxr-tools 1.1-6+b1
ii  optipng  0.7.7-1+b1
ii  poppler-utils0.71.0-6
ii  python3  3.7.5-3
ii  python3-apsw 3.30.1-r1-1.1
ii  python3-bs4  4.8.2-1
ii  python3-chardet  3.0.4-4
ii  python3-chm  0.8.6-2
ii  python3-css-parser   1.0.4-2
ii  python3-cssselect1.1.0-2
ii  python3-cssutils 1.0.2-3
ii  python3-dateutil 2.7.3-3
ii  python3-dbus 1.2.16-1
ii  python3-feedparser   5.2.1-2
ii  python3-html2text2020.1.16-1
ii  python3-html5-parser 0.4.9-3
ii  python3-html5lib 1.0.1-2
ii  python3-lxml 4.5.0-1
ii  python3-markdown 3.1.1-2
ii  python3-mechanize1:0.4.5-2
ii  python3-msgpack  0.5.6-3
ii  python3-netifaces0.10.9-0.2
ii  python3-pil  7.0.0-4
ii  python3-pkg-resources44.0.0-1
ii  python3-pygments 2.3.1+dfsg-1
ii  python3-pyparsing2.4.6-1
ii  python3-pyqt55.14.1+dfsg-3
ii  python3-pyqt5.qtsvg  5.14.1+dfsg-3
ii  python3-pyqt5.qtwebengine5.14.0-2
ii  python3-regex0.1.20190819-2
ii  python3-routes   2.4.1-2
ii  python3-zeroconf 0.23.0-1
ii  xdg-utils1.1.3-1

Versions of packages calibre recommends:
pn  python3-dnspython  

Versions of packages calibre suggests:
pn  python3-unrardll  

-- no debconf information