Re: 2 Warnings on Loading
does it work if u change the lines in:
Code:
application/x-bzip; /usr/bin/file-roller %s
application/x-bzip-compressed-tar; /usr/bin/file-roller %s
You can also try to comment out with # for testing.
Re: 2 Warnings on Loading
I have a simmilar error going on but on line 69 of etc/mailcap:
That line:
application/x-sc
Dunno what's makeing it. Anybody has some hints about it? Adding # before the line ofcourse solves the problem but in a brute way. I have xubuntu 6.10.
Xara LX 0.7
Re: 2 Warnings on Loading
mine is for line 91... says it was ignored... app then opens fine... Musix-knoppix
Re: 2 Warnings on Loading
The mailcap file is used by applications to tell them how they should display files of various types. It was introduced for the purpose of helping mail programs display attachments of various types. Basically it works by associating file types with the commands that would be used to execute them, altthough there is a bit more going on.
I'm not sure if the problem is caused by the autopackage update somehow mangling the mailcap file during install, or if it is perhaps a problem that manifests itself for other reasons, such as the file always being broken but the selection of software that uses it is failrly limited, or even if the cause of the error is the mailcap library determining that the program it's been told to use doesn't exist.
In any case, the error is pretty harmless in itself. Any lines that are incorrectly formatted seem to be dropped after a warning is issued, so at worst it's just a minor inconvenience.
As others have mentioned, you can just comment out the offending lines by putting a # in the first line. If you don't want to do that to the main mailcap file, you can copy /etc/mailcap to $HOME/.mailcap and then modify the version in your home directory instead. That file should be used in preference to the one in /etc/, so you can stop the problem from occuring but still have a clean copy of the file in case it ever becomes an issue.
Re: 2 Warnings on Loading
Quote:
Originally Posted by
Zamber
I have a simmilar error going on but on line 69 of etc/mailcap:
That line:
application/x-sc
Dunno what's makeing it. Anybody has some hints about it? Adding # before the line ofcourse solves the problem but in a brute way. I have xubuntu 6.10.
Xara LX 0.7
The problem is a malformed entry in /usr/lib/mime/packages/gnumeric-gtk :)
It's easy to spot and fix if you edit the file, after that run sudo update-mime and problem is solved :D
Re: 2 Warnings on Loading
Quote:
Originally Posted by
kelpy2k6
The problem is a malformed entry in /usr/lib/mime/packages/gnumeric-gtk :)
It's easy to spot and fix if you edit the file, after that run sudo update-mime and problem is solved :D
Can you elaborate? I don't even see gnumeric-gtk in /usr/lib/mime/packages
/Kevin
Re: 2 Warnings on Loading
I'm using Ubuntu Edgy (6.10). This is how I fix my problem. Thanks you kelpy2k6.
First, edit the gnumeric OR gnumeric-gtk. (depends on which version of gnumeric is installed, the one I'm using is plain gnumeric):
Code:
sudo gedit /usr/lib/mime/packages/gnumeric
Go to the two lines that looks like this:
Quote:
application/x-sc;
gnumeric '%s'; edit=gnumeric '%s'; description="SC/XSpread spreadsheet";
Then edit it into one line like this:
Quote:
application/x-sc; gnumeric '%s'; edit=gnumeric '%s'; description="SC/XSpread spreadsheet";
Then run: