[Bug 973173] Re: /etc/mailcap syntax problem

2012-10-26 Thread Daniel Hahler
This also affects midnight commander, which uses /usr/bin/see (from mime-support) to open images. ** Changed in: mime-support (Ubuntu) Importance: Undecided = Medium ** Changed in: mime-support (Ubuntu) Status: Confirmed = Triaged -- You received this bug notification because you are

[Bug 973173] Re: /etc/mailcap syntax problem

2012-10-26 Thread Daniel Hahler
** Also affects: imagemagick (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/973173 Title: /etc/mailcap syntax problem To manage notifications

[Bug 973173] Re: /etc/mailcap syntax problem

2012-10-26 Thread Daniel Hahler
The problem is caused by the following substitution in update-mime: s/([^\s;]\s+)(?![\'\])([^\s;]*)%s([^\s;]*)/$1'$2%s$3'/g; This is probably meant to escape/protect any %s instances which are not surrounded by quotes yet, using single quotes. This is fixed in Debian unstable, where

[Bug 973173] Re: /etc/mailcap syntax problem

2012-10-26 Thread Daniel Hahler
This is not a bug with ImageMagick itself - the debian/imagemagick.mime file is being added by Debian/Ubuntu. ** Changed in: imagemagick Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 973173] Re: /etc/mailcap syntax problem

2012-10-26 Thread Daniel Hahler
Fixed via imagemagick in Ubuntu Quantal, therefore closing this bug task. ** Changed in: imagemagick (Ubuntu) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/973173

[Bug 973173] Re: /etc/mailcap syntax problem

2012-10-26 Thread Daniel Hahler
I am closing the mime-support task as Won't fix. While the update-mime might fail here, it is probably a better idea to be more restrictive than permissive when trying to handle unescaped %s instances. ** Changed in: mime-support (Ubuntu) Status: Triaged = Won't Fix -- You received this

[Bug 973173] Re: /etc/mailcap syntax problem

2012-04-23 Thread kapetr
As I have understand later, the /etc/mailcap is obsolete. Imagemagic should not use it and mc too. see https://bugs.launchpad.net/ubuntu/+source/eog/+bug/973176 But - the reason why I have thing the problem is rather in MIME then in Imagemagic (about the syntax problem) is, that the ' are added

[Bug 973173] Re: /etc/mailcap syntax problem

2012-04-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: mime-support (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/973173 Title:

[Bug 973173] Re: /etc/mailcap syntax problem

2012-04-22 Thread Jim Cheetham
The edit you should have made to /etc/mailcap was to remove the single quotes around the %s part of the display command ... broken mailcap line :- image/png; display 'png:'%s''; test=test -n $DISPLAY fixed mailcap line :- image/png; display 'png:%s'; test=test -n $DISPLAY I suspect that this