Bug 52118 - ms word doc files do not show up in supported files
Summary: ms word doc files do not show up in supported files
Status: CLOSED NOT A BUG
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: 1.5 or before
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-19 22:39 UTC by Ferdinand Gassauer
Modified: 2004-05-17 21:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Gassauer 2002-12-19 22:39:35 UTC
Version:           1.2post (using KDE 3.1.9)
Compiler:          gcc version 3.2
OS:          Linux (i686) release 2.4.19-4GB

Hi
Trying to open a *.doc file with kword is not possible because these files do not show up in the supported files.
(i use the msword filter)
the doc files are correctly recognized in konqueror as MSword documents.
cu ferdinand
Comment 1 David Faure 2002-12-20 10:06:19 UTC
Subject: Re:  New: ms word doc files do not show up in supported files

On Thursday 19 December 2002 22:39, you wrote:
> Trying to open a *.doc file with kword is not possible because these files do not show up in the supported files.
> (i use the msword filter)
> the doc files are correctly recognized in konqueror as MSword documents.

Installation problem.
Please run this script to find out more.
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/~checkout~/koffice/tools/scripts/check_msword_import.sh?content-type=text/plain

Comment 2 Ferdinand Gassauer 2002-12-20 23:40:05 UTC
IMHO everything looks good 
sh check_msword_import.sh 
KDE prefixes: /d2/opt/kde3 
kword found in /d2/opt/kde3/bin/ 
Found: /d2/opt/kde3/share/mimelnk/application/msword.desktop... 
Found: /d2/opt/kde3/share/mimelnk/application/msword2.desktop... 
Relevant mimetypes found: application/msword:application/vnd.ms-word 
/d2/opt/kde3/share/mimelnk//magic says: 
2080    string          Microsoft\ Word\ 6.0\ Document  application/msword 
2112    string          Microsoft\ Word\ document\ data application/msword 
Services dir /home/gassauer/.kde3/share/services/ 
Services dir /d2/opt/kde3/share/services/ 
/d2/opt/kde3/share/services//kword_msword_import.desktop:X-KDE-Import=application/msword 
 
Comment 3 Ferdinand Gassauer 2002-12-23 18:37:51 UTC
does this help? 
rpm -q libxml2 
libxml2-2.4.30-2 
 
checking for wv2-config... /usr/local/bin/wv2-config 
checking for xml2-config... /d2/opt/kde3/bin/xml2-config 
checking for xmllint... /d2/opt/kde3/bin/xmllint 
checking for xslt-config... /d2/opt/kde3/bin/xslt-config 
 
kword Asp_Anforderungen.doc 
kio (KTrader): KServiceTypeProfile::offers( KOfficePart, ) 
kio (KTrader): Returning 13 offers 
koffice (lib kofficecore): KoDocument::openURL 
url=file:/d2/dokumente/ASP/Asp_Anforderungen.doc 
koffice (lib kofficecore): KoDocument::openFile 
/d2/dokumente/ASP/Asp_Anforderungen.doc type:application/x-msword 
kio (KTrader): KServiceTypeProfile::offers( KOfficePart, ) 
kio (KTrader): Returning 13 offers 
koffice (filter manager): KoFilterEntry::query(  ) 
kio (KTrader): KServiceTypeProfile::offers( KOfficeFilter, ) 
kio (KTrader): Returning 58 offers 
koffice (filter manager): Checking whether KOffice XSLT Export Filter is available. 
koffice (filter manager): Not cached, checking... 
kword: Now I'm here... now I'm there 
koffice (filter manager): Filter: KOffice XSLT Export Filter not available. 
koffice (filter manager): ERROR: Couldn't create a valid graph for this source 
mimetype: application/x-msword 
kword: WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) 
\x08 
  Major opcode:  * 
kparts: Part::~Part 0x8117da0 
kparts: 0x8163710 emitting activePartChanged (nil) 
kdecore (KLibLoader): The KLibLoader contains the library libxsltexport 
(0x81b1380) 
kdecore (KLibLoader): The KLibLoader contains the library libkwordpart 
(0x8101b28) 
gassauer@linuxfg3:/d2/dokumente/ASP> 
Comment 4 David Faure 2002-12-23 20:51:38 UTC
Subject: Re:  ms word doc files do not show up in supported files

> mimetype: application/x-msword 

Packaging bug (SuSE IIRC? I think it was fixed in later packages, too. If not, mail adrian@suse.de).

Go to the "File types association" module, and remove *.doc from the list of
extensions for this mimetype - or delete the entire mimetype.
Note that KOffice knows about application/msword, NOT application/x-msword.