Bug#370645: shared-mime-info: The type `application/x-gnucash' (gnucash gnc xac) is wrongly detected

Marco marcodefreitas at gmail.com
Tue Jun 6 07:17:10 UTC 2006


Package: shared-mime-info
Version: 0.17-2
Severity: normal
X-Reportbug-Version: 3.20
X-Debbugs-Cc: marcodefreitas at gmail.com

 The type `application/x-gnucash' (gnucash gnc xac) is wrongly detected
when selected at Nautilus window. The type `application/xml' is reported
instead.
 As result of it, double click the file doesn't open it with the right
application.
 A GNUCash file looks like it:

<?xml version="1.0"?>
<gnc-v2>
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
<book:id type="guid">42b6a407c78269535ef7f56b2967c6ef</book:id>
<gnc:count-data cd:type="account">64</gnc:count-data>
<gnc:count-data cd:type="transaction">63</gnc:count-data>
<gnc:account version="2.0.0">
  <act:name>Ativos</act:name>
  <act:id type="guid">5d1016416286718a69b59e52eb3d302a</act:id>
  <act:type>ASSET</act:type>
  <act:commodity>
    <cmdty:space>ISO4217</cmdty:space>
     [...]

 Always this first two lines are present:

<?xml version="1.0"?>
<gnc-v2>

 The following commands has empty results:

$ grep x-gnucash /usr/share/mime/magic
$ grep gnucash /usr/share/mime/magic
$ grep gnc /usr/share/mime/magic
$ grep xac /usr/share/mime/magic
$ grep cash /usr/share/mime/magic

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages shared-mime-info depends on:
ii  libc6            2.3.6-7       GNU C Library: Shared libraries
ii  libglib2.0-0     2.10.2-1      The GLib library of C routines
ii  libxml2          2.6.24.dfsg-1 GNOME XML library
ii  zlib1g           1:1.2.3-11    compression library - runtime

shared-mime-info recommends no packages.

-- no debconf information








More information about the Pkg-gnome-maintainers mailing list