LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-31-2006, 10:35 AM   #1
kinematic
LQ Newbie
 
Registered: Dec 2005
Location: behind you
Distribution: Debian testing
Posts: 18

Rep: Reputation: 0
Python warning:incomplete entry line 43 /etc/mailcap


Hi all.
For torrent downloading i use Bittornado-gui wich has never given me a problem until today.
I wanted to start a download and got this message:Python warning:incomplete entry line 43 /etc/mailcap ignored.
i took a look at it but i don't know what wrong with line 43.
this is the /etc/mailcap file so if anyone can take a look i would appreciate it.
Quote:
###############################################################################
#
# MIME types and programs that process those types
#
# Much of this file is generated automatically by the program "update-mime".
# Please see the "update-mime" man page for more information.
#
# Users can add their own rules if they wish by creating a ".mailcap"
# file in their home directory. Entries included there will take
# precedence over those listed here.
#
###############################################################################


###############################################################################
#
# User section follows: Any entries included in this section will take
# precedence over those created by "update-mime". DO NOT CHANGE the
# "User Section Begins" and "User Section Ends" lines, or anything outside
# of this section!
#

# ----- User Section Begins ----- #
# ----- User Section Ends ----- #

###############################################################################

text/plain; less '%s'; needsterminal
application/vnd.sun.xml.calc; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Spreadsheet"; nametemplate=%s.sxc
application/vnd.sun.xml.calc.template; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Spreadsheet Template"; nametemplate=%s.stc
application/vnd.sun.xml.draw; soffice -draw '%s'; edit=soffice -draw '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Drawing"; nametemplate=%s.sxd
application/vnd.sun.xml.draw.template; soffice -draw '%s'; edit=soffice -draw '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Drawing Template"; nametemplate=%s.std
application/vnd.sun.xml.impress; soffice -impress '%s'; edit=soffice -impress '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Presentation"; nametemplate=%s.sxi
application/vnd.sun.xml.impress.template; soffice -impress '%s'; edit=soffice -impress '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Presentation Template"; nametemplate=%s.sti
application/vnd.sun.xml.writer; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Text Document"; nametemplate=%s.sxw
application/vnd.sun.xml.writer.global; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Master Document"; nametemplate=%s.sxg
application/vnd.sun.xml.writer.template; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org Text Document Template"; nametemplate=%s.stw
video/mpeg; xine '%s'; description="MPEG Video"; test=test -n "$DISPLAY"
application/x-bittorrent; /usr/bin/btdownloadgui --responsefile '%s'; test=test -n "$DISPLAY"
application/x-bittorrent; /usr/bin/btdownloadcurses --responsefile '%s'; test=test -z "$DISPLAY"; needsterminal
application/x-bittorrent; /usr/bin/btdownloadcurses --responsefile '%s'; test=test -z "$DISPLAY"; needsterminal
application/x-emerald-theme
ext: emerald
application/pdf; evince '%s'; test=test -n "$DISPLAY" ; nametemplate=%s.pdf
application/postscript; evince '%s'; test=test -n "$DISPLAY" ; nametemplate=%s.ps
application/x-arj; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/arj
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
application/x-compress; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-compressed-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-gzip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-java-archive; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-lha; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/lha
application/x-lzop; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /bin/lzop
application/x-lzop-compressed-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /bin/lzop
application/x-rar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/unrar -o -e /usr/bin/rar
application/x-rar-compressed; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/unrar -o -e /usr/bin/rar
application/x-stuffit; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/x-tar; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY"
application/zip; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/unzip
application/x-zoo; /usr/bin/file-roller '%s'; test=test -n "$DISPLAY" -a -e /usr/bin/zoo
text/html; /usr/bin/firefox '%s'; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html
text/xml; /usr/bin/firefox '%s'; description=XML Text; test=test -n "$DISPLAY"; nametemplate=%s.xml
application/x-bittorrent; /usr/bin/gnome-btdownload '%s'; test=test -n "$DISPLAY"
application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
application/x-ogg; /usr/bin/gmplayer '%s'; description="OggVorbis Audio"
application/ogg; /usr/bin/gmplayer '%s'; description="OggVorbis Audio"
audio/mpeg; /usr/bin/gmplayer '%s'; description="MPEG Audio Format"
audio/x-mpegurl; /usr/bin/gmplayer '%s'; description="Icecast Playlists"
audio/x-ms-wax; /usr/bin/gmplayer '%s'; description="Audio Format"
audio/x-ms-wma; /usr/bin/gmplayer '%s'; description="Audio Format"
audio/x-pls; /usr/bin/gmplayer '%s'; description="MP3 ShoutCast/IceCast Playlist"
audio/x-scpls; /usr/bin/gmplayer '%s'; description="Shoutcast Playlists"
audio/x-wav; /usr/bin/gmplayer '%s'; description="Waveform Microsoft Wave/RIFF"
video/mpeg; /usr/bin/gmplayer '%s'; description="MPEG Video Format"; test=test -n "$DISPLAY"
video/quicktime; /usr/bin/gmplayer '%s'; description="Apple Quicktime Video"; test=test -n "$DISPLAY"
video/x-mpeg2; /usr/bin/gmplayer '%s'; description="MPEG Video"; test=test -n "$DISPLAY"
video/x-mpeg; /usr/bin/gmplayer '%s'; description="MPEG 2 Video"; test=test -n "$DISPLAY"
video/x-ms-afs; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-asf; /usr/bin/gmplayer '%s'; description="MS ASF video"; test=test -n "$DISPLAY"
video/x-msvideo; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wma; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wmv; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wmx; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
video/x-ms-wvx; /usr/bin/gmplayer '%s'; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"
application/vnd.oasis.opendocument.database; soffice -base '%s'; edit=soffice -base '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Database"; nametemplate=%s.odb
application/vnd.oasis.opendocument.spreadsheet; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Spreadsheet"; nametemplate=%s.ods
application/vnd.oasis.opendocument.spreadsheet-template; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Spreadsheet Template"; nametemplate=%s.ots
application/vnd.oasis.opendocument.chart; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Chart"; nametemplate=%s.odc
application/vnd.stardivision.calc; soffice -calc '%s';edit=soffice -calc '%s';test=test "$DISPLAY" != "" ;description="StarCalc 5.0"; nametemplate=%s.sdc
application/vnd.stardivision.chart; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != "" ; description="StarChart 5.0"; nametemplate=%s.sds
application/vnd.oasis.opendocument.graphics; soffice -draw '%s'; edit=soffice -draw '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Drawing"; nametemplate=%s.odg
application/vnd.oasis.opendocument.graphics-template; soffice -draw '%s'; edit=soffice -draw '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Drawing Template"; nametemplate=%s.otg
application/vnd.stardivision.draw; soffice -draw '%s'; edit=soffice -draw '%s'; test=test "$DISPLAY" != "" ; description="StarDraw 5.0"; nametemplate=%s.sda
application/vnd.oasis.opendocument.presentation; soffice -impress '%s'; edit=soffice -impress '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Presentation"; nametemplate=%s.odp
application/vnd.oasis.opendocument.presentation-template; soffice -impress '%s'; edit=soffice -impress '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Presentation Template"; nametemplate=%s.otp
application/vnd.stardivision.impress; soffice -impress '%s'; edit=soffice -impress '%s'; test=test "$DISPLAY" != "" ; description="StarImpress 5.0"; nametemplate=%s.sdd
application/vnd.oasis.opendocument.formula; soffice -math '%s'; edit=soffice -math '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Formula"; nametemplate=%s.odf
application/vnd.stardivision.math; soffice -math '%s'; edit=soffice -math '%s'; test=test "$DISPLAY" != "" ; description="StarMath 5.0"; nametemplate=%s.sdf
application/vnd.oasis.opendocument.text; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Text"; nametemplate=%s.odt
application/vnd.oasis.opendocument.text-template; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Text Template"; nametemplate=%s.ott
application/vnd.oasis.opendocument.text-web; ooweb '%s'; edit=ooweb '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument HTML Document Template"; nametemplate=%s.oth
application/vnd.oasis.opendocument.text-master; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != "" ;description="OpenDocument Master Document"; nametemplate=%s.odm
application/vnd.stardivision.writer-global; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != "" ; description="StarWriter 5.0 Master Document"; nametemplate=%s.sgl
application/vnd.stardivision.writer; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != "" ; description="StarWriter 5.0"; nametemplate=%s.sdw
application/x-ogg; rhythmbox '%s'; description="Ogg Vorbis audio"; test=test -n "$DISPLAY"; nametemplate=%s.ogg
application/ogg; rhythmbox '%s'; description="Ogg Media"; test=test -n "$DISPLAY"
audio/x-mp3; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY"; nametemplate=%s.mp3
audio/x-scpls; rhythmbox '%s'; description="MP3 ShoutCast playlist"; test=test -n "$DISPLAY"; nametemplate=%s.pls
audio/x-mpeg; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY"
audio/mpeg; rhythmbox '%s'; description="MP3 audio"; test=test -n "$DISPLAY"
audio/x-mpegurl; rhythmbox '%s'; description="Playlist"; test=test -n "$DISPLAY"; nametemplate=%s.m3u
application/x-flac; rhythmbox '%s'; description="FLAC audio"; test=test -n "$DISPLAY"; nametemplate=%s.flac
application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; copiousoutput
application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print text/plain:-; copiousoutput
text/plain; more '%s'; needsterminal
text/plain; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
text/html; /usr/bin/w3m -T text/html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
video/mpeg; aaxine '%s'; needsterminal; description="MPEG Video"
video/x-msvideo; xine '%s'; description="MS Video (AVI)"; test=test -n "$DISPLAY"
video/x-ms-wmv; xine '%s'; description="MS Video (WMV)"; test=test -n "$DISPLAY"
video/quicktime; xine '%s'; description="Apple Quicktime Video"; test=test -n "$DISPLAY"
application/msexcel; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"
application/vnd.ms-excel; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"
application/x-msexcel; soffice -calc '%s'; edit=soffice -calc '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.xls; description="Microsoft Excel Document"
application/mspowerpoint; soffice -impress '%s'; edit=soffice -impress '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document"
application/vnd.ms-powerpoint; soffice -impress '%s'; edit=soffice -impress '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document"
application/x-mspowerpoint; soffice -impress '%s'; edit=soffice -impress '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.ppt; description="Microsoft PowerPoint Document"
application/msword; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"
application/vnd.ms-word; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"
application/rtf; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.rtf; description="Rich Text Format"
text/rtf; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.rtf; description="Rich Text Format"
application/x-msword; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.doc; description="Microsoft Word Document"
application/wordperfect; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document"
application/wordperfect5.1; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document"
application/vnd.wordperfect; soffice -writer '%s'; edit=soffice -writer '%s'; test=test "$DISPLAY" != ""; nametemplate=%s.wpd; description="WordPerfect Document"
text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
video/x-msvideo; aaxine '%s'; needsterminal; description="MS Video (AVI)"
video/x-ms-wmv; aaxine '%s'; needsterminal; description="MS Video (WMV)"
video/quicktime; aaxine '%s'; needsterminal; description="Apple Quicktime Video"
image/png; /usr/bin/firefox '%s'; description=PNG Image; test=test -n "$DISPLAY"; nametemplate=%s.png
image/jpeg; /usr/bin/firefox '%s'; description=JPEG Image; test=test -n "$DISPLAY"; nametemplate=%s.jpeg
image/gif; /usr/bin/firefox '%s'; description=GIF Image; test=test -n "$DISPLAY"; nametemplate=%s.gif
text/*; less '%s'; needsterminal
text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
text/html; /usr/bin/sensible-browser '%s'; description=HTML Text; nametemplate=%s.html
text/*; more '%s'; needsterminal
application/x-debian-package; /usr/lib/mime/debian-view '%s'; needsterminal; description=Debian GNU/Linux Package; nametemplate=%s.deb
audio/basic; /usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; nametemplate=%s.au
 
Old 01-22-2007, 02:56 AM   #2
bizzz
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
I have encountered a problem with wxDesigner as it relates to /etc/mailcap.
> In my case, a warning window popped up on startup that said:
>
> Mailcap file /etc/mailcap, line 45: incomplete entry ignored
>
> upon dismissing it, everything was fine until the next time.
>
> So, looking at /etc/mailcap, line 45, I noticed that the line
> was
>
> application/pdf: xpdf %s
>
> Mmm... All other lines have a ';' instead of the ':', so upon changing
> it, the warning went away. The interesting thing is that I never touched
> the /etc/mailcap file, so it must have come this way with the distribution.

----------------------------

sudo vim /etc/mailcap

42gg
application/x-emerald-theme --> application/x-emerald-theme;

43gg
ext: emerald --> ext; emerald -->

Last edited by bizzz; 01-22-2007 at 03:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 08048184 ravig Programming 5 11-01-2010 08:22 AM
getmail/python 2.4 warning - after upgrade Andy Alkaline Slackware 3 04-13-2005 09:13 AM
Capture command line entry with timestamp moxshax Linux - Newbie 3 03-26-2004 03:31 AM
Incomplete terminfo entry cpinyit Linux - Networking 1 05-10-2002 11:11 AM
Incomplete terminfo entry cpinyit Linux - General 0 05-10-2002 09:55 AM


All times are GMT -5. The time now is 11:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration