Public bug reported:

Binary package hint: clamz


It seems like the mime type for this file isn't being properly registered for 
some reason.

j...@geist:~$ XDG_UTILS_DEBUG_LEVEL=100 xdg-mime query filetype 
~/Downloads/AmazonMP3-1288404256.amz
Running file -i "/home/jro/Downloads/AmazonMP3-1288404256.amz"
text/plain; charset=us-ascii

So as you might expect the browser opens up gedit rather than
downloading the file via clamz.  I tried adding the mime type manually
to no avail.

j...@geist:~$ xdg-mime install --novendor /usr/share/mime/packages/clamz.xml 
(complains if I don't use --novendor

j...@geist:~$ XDG_UTILS_DEBUG_LEVEL=100 xdg-mime query filetype 
~/Downloads/AmazonMP3-1288404256.amz
Running file -i "/home/jro/Downloads/AmazonMP3-1288404256.amz"
text/plain; charset=us-ascii

j...@geist:~$ cat /usr/share/mime/packages/clamz.xml
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
  <mime-type type="audio/x-amzxml">
    <sub-class-of type="text/plain"/>
    <comment>AmazonMP3 Download Queue</comment>
    <glob pattern="*.amz"/>
    <magic>
      <match type="string" offset="0" value="gtBcZ7b78K" />
    </magic>
  </mime-type>
</mime-info>

# System info

j...@geist:~$ lsb_release -rd
Description:    Ubuntu 10.10
Release:        10.10
(upgraded from 10.04)

j...@geist:~$ apt-cache policy clamz
clamz:
  Installed: 0.4-2
  Candidate: 0.4-2
  Version table:
 *** 0.4-2 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64 
Packages
        100 /var/lib/dpkg/status

** Affects: clamz (Ubuntu)
     Importance: Undecided
         Status: New

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to