/etc/mailcap file modified by gnumeric is wrong

Bug #61263 reported by Jose Carlos
58
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnumeric (Debian)
Fix Released
Unknown
gnumeric (Ubuntu)
Fix Released
Undecided
Brian Murray

Bug Description

When I try to run some programs, I receive this error message:

"Mailcap file /etc/mailcap, line 86: incomplete entry ignored."

This line is wrong

Related branches

Revision history for this message
Matti Lindell (mlind) wrote :

Thanks for your bug.

Can you post the line 86 of /etc/mailcap file ?

Revision history for this message
Jose Carlos (jcnascimento) wrote : Re: [Bug 61263] Re: /etc/mailcap files is wrong

HI,

Im sorry, but I solved problem removing this line.
The problem is 86 line is malformed.
in mailcap each line is one rule and line 86 is divided in two lines.
then I removed line 86 and 87.

Really sorry, my bad english,, but I dont know how to explain this :(

Regards,
Jose Carlos

2006/9/19, mlind <email address hidden>:
> Thanks for your bug.
>
> Can you post the line 86 of /etc/mailcap file ?
>
>
> ** Changed in: Ubuntu
> Status: Unconfirmed => Needs Info
>
> --
> /etc/mailcap files is wrong
> https://launchpad.net/bugs/61263
>

--
[]'s
José Carlos

Revision history for this message
Anita (a-lewis) wrote : Re: /etc/mailcap files is wrong

I had this too, twice. I edited the line on mine:

application/x-sc; gnumeric '%s'; edit=gnumeric '%s'; description="SC/XSpread spr
eadsheet"; test=test -n "$DISPLAY"; nametemplate=%s.sc

It was like this with the semicolon missing and the remainder of the line dropped to the next line:

application/x-sc
gnumeric '%s'; edit=gnumeric '%s'; description="SC/XSpread spr
eadsheet"; test=test -n "$DISPLAY"; nametemplate=%s.sc

Revision history for this message
sardion (ubuntu-sardion) wrote : [edgy] [gnumeric] Re: /etc/mailcap files is wrong

Confirmed. Line 86-87 of /etc/mailcap reads as

application/x-sc
gnumeric '%s'; edit=gnumeric '%s'; description="SC/XSpread spreadsheet"; test=test -n "$DISPLAY"; nametemplate=%s.sc

i.e., there is a newline after the x-sc that should not be there. Removing the newline fixes the problem.

This bug originates in the file /usr/lib/mime/packages/gnumeric lines 22-23 (should be a single line, remove newline at end of line 22). From package gnumeric.

Please patch accordingly.

Revision history for this message
epe (eric-poscher) wrote : Re: /etc/mailcap files is wrong

found this bug too in ubuntu efty, when using audacity (god knows what it's messing with /reading that file)

Revision history for this message
Gérard Bigot (gerard-bigot) wrote : Re: [Bug 61263] Re: /etc/mailcap files is wrong

It wants to add its own mimetype to this file?

G.

On 11/2/06, epic <email address hidden> wrote:
>
> found this bug too in ubuntu efty, when using audacity (god knows what
> it's messing with /reading that file)
>
> --
> /etc/mailcap files is wrong
> https://launchpad.net/bugs/61263
>
> --
> ubuntu-bugs mailing list
> <email address hidden>
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
>

Revision history for this message
creepstarr (creepstarr) wrote : Re: /etc/mailcap files is wrong

For me it was line 97, but the same place to be sure. It started giving me warning messages after I installed FileZilla3.

Changed in gnumeric:
assignee: nobody → brian-murray
status: Confirmed → Fix Released
status: Fix Released → Fix Committed
Changed in gnumeric:
status: Unknown → Fix Committed
Changed in gnumeric:
status: Fix Committed → Fix Released
Changed in gnumeric:
status: Fix Committed → Fix Released
Revision history for this message
Melanie (melanie-fastwebnet) wrote :

Filezilla 3.2.2.1 on Ubuntu Jaunty 9.04 I386 32 bit start and issue a mailcap warning .
Then seems to works . Every time I run it there is same warnig :

18:07:39: Mailcap file /home/lodewig/.mailcap, line 1: incomplete entry ignored.
18:07:39: Mailcap file /etc/mailcap, line 1: incomplete entry ignored.

Revision history for this message
Brian Murray (brian-murray) wrote :

Melanie - this seems like a separate issue than this bug report, which was caused by gnumeric and which is fixed in Ubuntu for quite some time. I believe filezilla has incorrectly modified your mailcap file and that is what is causing this, subsequently a bug report should be filed about filezilla. You can easily do this using the command 'ubuntu-bug filezilla' on your Ubuntu system. Please also add your mailcap file to the new bug report. Thanks in advance.

summary: - /etc/mailcap files is wrong
+ /etc/mailcap file modified by gnumeric is wrong
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.