Bug#350134: mime-support: It is trying to use some not-installed programs for some mime-types

2006-01-27 Thread Emil Nowak
Package: mime-support
Version: 3.35-1
Severity: normal

I just received some f**ing *.doc file from my friend, but thats a different
story.
So I was trying to open the *.doc file
of course first thing was:
$ see filename.doc
and I saw a blank screen. With two line of text in the bottom sayin:
Could not find required program 'latex'
Could not translate into Postscript
And I'm not reallly suprised with that because I don't have latex installed.

And take a look at this:
~$ see --debug=10 elen7b.doc 
 - parsing parameter elen7b.doc
 - Reading mime.types file /home/emil/.mime.types...
 - Reading mime.types file /etc/mime.types...
 - extension doc maps to mime-type application/msword
 - Reading mailcap file /home/emil/.mailcap...
 - Reading mailcap file /etc/mailcap...
Processing file elen7b.doc of type application/msword (encoding=none)...
 - checking mailcap entry application/msword; wvMime '%s'; copiousoutput; 
description=Microsoft Word Document; test=test -n $DISPLAY; print=wvWare 
--nographics -x /usr/share/wv/wvHtml.xml '%s' | lynx -dump -force_html -nolist 
/dev/stdin | print text/plain:-
 - program to execute: wvMime '%s'
 - running test: test -n $DISPLAY  (result=0=true)
 - executing: wvMime 'elen7b.doc' | /usr/bin/see --action=view text/plain:-
~$ 

And I dont have crappy lynx. Why the hell it is trying to use not installed
programs for displaying this *.doc
I have OpenOffice, I have AbiWrod that can open *.doc


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

mime-support depends on no packages.

Versions of packages mime-support recommends:
ii  file  4.15-2 Determines file type using magic

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350134: mime-support: It is trying to use some not-installed programs for some mime-types

2006-01-27 Thread Brian White

And take a look at this:
~$ see --debug=10 elen7b.doc 
 - parsing parameter elen7b.doc

 - Reading mime.types file /home/emil/.mime.types...
 - Reading mime.types file /etc/mime.types...
 - extension doc maps to mime-type application/msword
 - Reading mailcap file /home/emil/.mailcap...
 - Reading mailcap file /etc/mailcap...
Processing file elen7b.doc of type application/msword (encoding=none)...
 - checking mailcap entry application/msword; wvMime '%s'; copiousoutput; 
description=Microsoft Word Document; test=test -n $DISPLAY; print=wvWare --nographics 
-x /usr/share/wv/wvHtml.xml '%s' | lynx -dump -force_html -nolist /dev/stdin | print 
text/plain:-
 - program to execute: wvMime '%s'
 - running test: test -n $DISPLAY  (result=0=true)
 - executing: wvMime 'elen7b.doc' | /usr/bin/see --action=view text/plain:-


Some package other than mime-support has installed this rule.  Try

  grep wvMime /usr/lib/mime/packages/*

Then reassign this bug against that package.



And I dont have crappy lynx. Why the hell it is trying to use not installed
programs for displaying this *.doc


It shouldn't be calling lynx.  It should instead pipe it to

print text/html:-

and let that rule determine how to convert text/html to text/plain for 
printing.


  Brian
  ( [EMAIL PROTECTED] )

---
A bend in the road is not the end of the road unless you fail to make 
the turn.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]