← Back to team overview

dx-packages team mailing list archive

[Bug 1193647] Re: ubuntu-webapps-update-index fails to parse multiline fields

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: libunity-webapps (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libunity-webapps in Ubuntu.
https://bugs.launchpad.net/bugs/1193647

Title:
  ubuntu-webapps-update-index fails to parse multiline fields

Status in libunity-webapps package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 13.04, unity-webapps-service 2.5.0~daily13.03.18-0ubuntu1

  I've packaged my webapp for http://www.rememberthemilk.com/. It is available through one of configured repositories.
  I'm expecting ubuntu-webapps-update-index to update available webapps database, but it fails to do it:

  ---
  $ /usr/bin/ubuntu-webapps-update-index
  ...
  ** Message: Investigating webapp: unity-webapps-rmilk

  ** (process:7279): WARNING **: Failed to parse metadata line ( Remember The Milk Webapp for Unity
  ), skipping package
  ---

  This happens because package description field is multi-line:

  ---
  $ apt-cache dumpavail
  ...
  Package: unity-webapps-rmilk
  Priority: extra
  Section: web
  Installed-Size: 38
  Maintainer: Ilya Voronin <ivoronin@xxxxxxxxx>
  Architecture: all
  Version: 1.0-3
  Depends: unity-webapps-common, xdg-utils
  Filename: pool/main/u/unity-webapps-rmilk/unity-webapps-rmilk_1.0-3_all.deb
  Size: 2134
  MD5sum: af87b1c06c7b2fb2751dc2e6e72161b2
  SHA1: c9a14fdda9d7ae85ee2c276a5fbd963af6462624
  SHA256: 807d2b060e61341dd9f752bfc06aecfe6653d20a9b2a1cf8f85e71ea8937bd29
  Description: Unity Webapp for Remember The Milk
   Remember The Milk Webapp for Unity
  Ubuntu-Webapps-Domain: rememberthemilk.com
  Ubuntu-Webapps-Name: Remember The Milk
  Ubuntu-Webapps-Includes: https://*.rememberthemilk.com/*;https://rememberthemilk.com/*

  ---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunity-webapps/+bug/1193647/+subscriptions