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

Bug #1193647 reported by Ilya Voronin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libunity-webapps (Ubuntu)
Confirmed
Undecided
Unassigned

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 <email address hidden>
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/*

---

Revision history for this message
Ilya Voronin (ivoronin) wrote :
Ilya Voronin (ivoronin)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in libunity-webapps (Ubuntu):
status: New → Confirmed
Revision history for this message
Knickers Brown (metta-crawler) wrote :

Still happens with unity-webapps-service 2.5.0~+16.04.2016020

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.