Subject: Bug#654978 closed by Ryan Kavanagh <[email-masked]> (Bug#654978: fixed in pyxdg 0.19-4)

From: [email-masked] (Debian Bug Tracking System)
Date: Fri, 09 Mar 2012 17:21:07 +0000

This is an automatic notification regarding your Bug report
which was filed against the python-xdg package:

#654978: default for xdg.Menu.parse causes ParsingError: File not found

It has been closed by Ryan Kavanagh <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Ryan Kavanagh <[email-masked]> by
replying to this email.

-- 
654978: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654978
Debian Bug Tracking System
Contact [email-masked] with problems

Subject: Bug#654978: fixed in pyxdg 0.19-4
From: Ryan Kavanagh <[email-masked]>
To: [email-masked]
Date: Fri, 09 Mar 2012 17:18:56 +0000

Source: pyxdg
Source-Version: 0.19-4

We believe that the bug you reported is fixed in the latest version of
pyxdg, which is due to be installed in the Debian FTP archive:

python-xdg_0.19-4_all.deb
  to main/p/pyxdg/python-xdg_0.19-4_all.deb
pyxdg_0.19-4.debian.tar.gz
  to main/p/pyxdg/pyxdg_0.19-4.debian.tar.gz
pyxdg_0.19-4.dsc
  to main/p/pyxdg/pyxdg_0.19-4.dsc

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email-masked],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ryan Kavanagh <[email-masked]> (supplier of updated pyxdg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email-masked])

Format: 1.8
Date: Fri, 09 Mar 2012 07:12:58 -0500
Source: pyxdg
Binary: python-xdg
Architecture: source all
Version: 0.19-4
Distribution: unstable
Urgency: low
Maintainer: Ryan Kavanagh <[email-masked]>
Changed-By: Ryan Kavanagh <[email-masked]>
Description: 
 python-xdg - Python library to access freedesktop.org standards
Closes: 654978
Changes: 
 pyxdg (0.19-4) unstable; urgency=low
 .
   * Team upload
   * Set debian-menu.menu as a fallback menu to be parsed when the default
     (applications.menu) doesn't exist to avoid ParsingErrors (Closes: #654978)
     + Added menu-xdg as a Depends
   * Bump standards version to 3.9.3 (no changes needed)
Checksums-Sha1: 
 90221050b91fa623230aa79daa4028a853b983dc 2992 pyxdg_0.19-4.dsc
 25de9681142e3de5ec142775f5373c6e0cbc725f 5791 pyxdg_0.19-4.debian.tar.gz
 7c48f4748ed7877b39f1de389a21abd612ac2d2f 35540 python-xdg_0.19-4_all.deb
Checksums-Sha256: 
 b3b37b214146d951ad76e7833aebf121675306caeb86153ee841dc620b2bfb80 2992 pyxdg_0.19-4.dsc
 70b38a04cc05382d24bf467d40994cfda4b57ee5c16c97201eb10b881fc4ba69 5791 pyxdg_0.19-4.debian.tar.gz
 02cbcda1406f5d73fe00ca4f92a6fb0db4fc347b7de26f3309dadde23e3b1b3c 35540 python-xdg_0.19-4_all.deb
Files: 
 bd37c5bc9813caf89cad7bec1b28e14b 2992 python optional pyxdg_0.19-4.dsc
 fd956b7d432722460381cb94a2f33ad2 5791 python optional pyxdg_0.19-4.debian.tar.gz
 a174afbd29944fda3bd4bafaaba4c8d0 35540 python optional python-xdg_0.19-4_all.deb

Subject: default for xdg.Menu.parse causes ParsingError: File not found
From: Ryan Kavanagh <[email-masked]>
To: Debian Bug Tracking System <[email-masked]>
Date: Sat, 7 Jan 2012 11:59:38 -0500

Package: python-xdg
Version: 0.19-3
Severity: normal

Hi,

The default menu parsed by xdg.Menu.parse
(/etc/xdg/menus/applications.menu) is not provided by any Debian
package. Some applications, such as xmenud, rely on python-xdg's default
when trying to parse menus. I recommend changing the default menu parsed
to /etc/xdg/menus/debian-menu.menu (this would require adding menu-xdg
as a Depends), or to some other existing menu file.

Best wishes,
Ryan

Python 2.7.2+ (default, Dec 18 2011, 00:33:35)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xdg.Menu
>>> xdg.Menu.parse()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/xdg/Menu.py", line 506, in parse
    raise ParsingError('File not found', "/etc/xdg/menus/%s" % candidate)
xdg.Exceptions.ParsingError: ParsingError in file '/etc/xdg/menus/applications.menu', File not found
>>> xdg.Menu.parse('/etc/xdg/menus/debian-menu.menu')
<xdg.Menu.Menu instance at 0xb6dd73cc>

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to es_ES.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-xdg depends on:
ii  python          2.7.2-9
ii  python-support  1.0.14

python-xdg recommends no packages.

python-xdg suggests no packages.

-- no debconf information

-- 
|_)|_/  Ryan Kavanagh             |  GnuPG key
| \| \  http://ryanak.ca/         |  4A11C97A