Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2006
    Posts
    1

    Default 2 Warnings on Loading

    Hey guys...

    Im using Ubuntu Dapper Drake 6.06 and the folowing version os xara xtreme:

    Code:
    Xara Xtreme
    Version: 0.7 (1763)
    Build date: 14-Oct-06 21:05
    Built against: wxWidgets 2.6.3
    Usage: xaralx [xar-file...]
    The problem is... when im starting the program, i receive this 2 warnings:
    Code:
    21:15:41: Mailcap file /etc/mailcap, line 42: incomplete entry ignored.
    21:15:41: Mailcap file /etc/mailcap, line 43: incomplete entry ignored.
    And here the line number 42 and 43 of the /etc/mailcap file:
    Code:
    application/x-bzip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
    application/x-bzip-compressed-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/bzip2
    When i click in "ok" the program works, but i dont know what is this 2 warnings in startup.
    IP

  2. #2
    Join Date
    Oct 2006
    Location
    Germany
    Posts
    8

    Default 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.
    IP

  3. #3
    Join Date
    Aug 2006
    Location
    Poland
    Posts
    36

    Default 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
    Hi! I'm Peter!
    All your posts are belong to us.
    IP

  4. #4
    Join Date
    Jan 1970
    Posts
    3,220

    Default Re: 2 Warnings on Loading

    mine is for line 91... says it was ignored... app then opens fine... Musix-knoppix
    IP

  5. #5
    Join Date
    Dec 2005
    Location
    Surrey, BC, Canada
    Posts
    566

    Default 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.
    This signature would be seven words long if it was six words shorter.
    IP

  6. #6
    Join Date
    Dec 2006
    Posts
    1

    Default Re: 2 Warnings on Loading

    Quote Originally Posted by Zamber View Post
    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
    IP

  7. #7
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Posts
    1

    Default Re: 2 Warnings on Loading

    Quote Originally Posted by kelpy2k6 View Post
    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
    Can you elaborate? I don't even see gnumeric-gtk in /usr/lib/mime/packages

    /Kevin
    IP

  8. #8
    Join Date
    Feb 2007
    Posts
    1

    Default 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:
    application/x-sc;
    gnumeric '%s'; edit=gnumeric '%s'; description="SC/XSpread spreadsheet";
    Then edit it into one line like this:
    application/x-sc; gnumeric '%s'; edit=gnumeric '%s'; description="SC/XSpread spreadsheet";
    Then run:
    Code:
    sudo update-mime
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •