unity-place-applications.menu has double-hyphen in XML comment, causing "cxmenu:error: unable to parse '/etc/xdg/menus/unity-place-applications.menu': Invalid string in comment field [Ln: 157, Col: 8]"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Low
|
Mikkel Kamstrup Erlandsen | ||
unity-lens-applications |
Fix Released
|
Low
|
Mikkel Kamstrup Erlandsen | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Won't Fix
|
Undecided
|
Unassigned | ||
unity-place-applications (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Install unity-place-
Check that the output is sane now (see below for the steps)
STEPS TO REPRODUCE:
1. Obtain an .deb for some crossover product. e.g. here's the demo for crossover-games: (32 and 64 bit)
http://
http://
2. Install the .deb with dpkg:
sudo dpkg -i crossover-
ACTUAL RESULTS: This output:
Selecting previously deselected package crossover-
(Reading database ... 166164 files and directories currently installed.)
Unpacking crossover-
Setting up crossover-
cxmenu:error: unable to parse '/etc/xdg/
Processing triggers for menu ...
EXPECTED RESULTS: No "cxmenu:error" line for unity-place-
From hand-tweaking unity-place-
<!-- Note: Software Center uses an OnlyUnallocated clause to generate
-- the System section. We can't do that because we have the All Apps
-- section. Let's cross fingers and hope we match somewhat
-->
Those stray "--" markers are bad XML*, and if I remove them, this issue goes away. (crossover products install without any such warning.)
*From https:/
For compatibility, the string "--" (double-hyphen) must not occur within comments.
Related branches
- Andrea Cimitan (community): Approve
-
Diff: 14 lines (+2/-2)1 file modifieddata/unity-place-applications.menu.in (+2/-2)
tags: | added: patch |
Changed in unity: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Low |
milestone: | none → 3.8.14 |
status: | New → In Progress |
Changed in unity-place-applications: | |
assignee: | nobody → Mikkel Kamstrup Erlandsen (kamstrup) |
importance: | Undecided → Low |
milestone: | none → 0.2.48 |
status: | New → In Progress |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity-place-applications: | |
status: | In Progress → Fix Committed |
Changed in unity-place-applications (Ubuntu): | |
status: | New → Fix Committed |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
Here's a patch. When I cd to "/" and apply this with "patch -p1", it fixes the problem for me.
(Please advise on how best to get this patch reviewed / committed - I'm not familiar with the process here.)