bad bug number, pasting manually:

unity-place-applications (0.2.46-0ubuntu4) oneiric; urgency=low

  * Cherry-pick some fixes:
    - Allow the Core category to be included under All Applications (and hence
      show up in Dash searches as well). This means that one can now find Help,
      Home Folder, Computer, and Network. The ommision of this xdg category was
      probably a relic of our netbook launcher past (LP: #758042)
    - Fix illegal XML in unity-place-applications.menu.in. xmllint is happy now.
      Patch courtesy Daniel Holbert (LP: #772152)
    - trim the alt + F2 command line (LP: #767750)
    - ensure we are matching files as files (no space in the command). This
      enables to launch gvim rrr:rrr.txt which is matched (LP: #776731)

** Changed in: unity
       Status: Fix Committed => Fix Released

** Changed in: unity-place-applications
       Status: Fix Committed => Fix Released

** Also affects: unity-place-applications (Ubuntu Natty)
   Importance: Undecided
       Status: New

** Changed in: unity-place-applications (Ubuntu)
       Status: Fix Committed => Fix Released

** Description changed:

+ Install unity-place-applications 0.2.46-0ubuntu3.1 from natty-proposed. Then 
logout and login again in the session.
+ 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://media.codeweavers.com/pub/crossover/cxgames/demo/crossover-games-demo_10.1.0-1_i386.deb
  
http://media.codeweavers.com/pub/crossover/cxgames/demo/ia32-crossover-games-demo_10.1.0-1_amd64.deb
  
   2. Install the .deb with dpkg:
-       sudo dpkg -i crossover-games-demo_10.1.0-1_i386.deb
+       sudo dpkg -i crossover-games-demo_10.1.0-1_i386.deb
  
  ACTUAL RESULTS: This output:
  Selecting previously deselected package crossover-games-demo.
  (Reading database ... 166164 files and directories currently installed.)
  Unpacking crossover-games-demo (from crossover-games-demo_10.1.0-1_i386.deb) 
...
  Setting up crossover-games-demo (10.1.0-1) ...
  cxmenu:error: unable to parse '/etc/xdg/menus/unity-place-applications.menu': 
Invalid string in comment field [Ln: 157, Col: 8]
  Processing triggers for menu ...
  
  EXPECTED RESULTS: No "cxmenu:error" line for unity-place-
  applications.menu.
  
  From hand-tweaking unity-place-applications.menu, I've discovered it's due to 
this chunk of the file:
    <!-- 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://developer.mozilla.org/en/The_Importance_of_Correct_HTML_Commenting#XML :
       For compatibility, the string "--" (double-hyphen) must not occur within 
comments.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/772152

Title:
  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]"

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to