LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-28-2005, 01:26 PM   #1
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Rep: Reputation: 15
Can't find Mime Type


Hi, i keep getting this really annoying error but don't where it is coming form!

When i run an application the following error pops up before the application opens.

Quote:
could not find mime type
application/octet-stream
I have tried running applications from a terminal to see if i get any output there but i don't. The mime type octet-stream.desktop file is there, it's in directory /opt/kde3/share/mimelnk/application/ and it's also in my home directory under .kde/share/mimelnk/application/

This isn't happening for any other users, no others users have this file in there home dir. Maybe it's the format of my octet-stream file. Here is the file content for both files,

/opt/kde3/share/mimelnk/application/

Type=MimeType
Encoding=UTF-8
MimeType=application/octet-stream
Comment=Unknown
Comment[af]=Onbekende
Comment[ar]=غير معروف
Comment[az]=Namə'lum
Comment[be]=Невядомы
Comment[bg]=Неизвестен
Comment[bn]=অজ্ঞাত
Comment[br]=Dianav
Comment[bs]=Nepoznat
Comment[ca]=Desconegut
Comment[cs]=Neznámý
Comment[cy]=Anhysbys
Comment[da]=Ukendt
Comment[de]=Unbekannt
Comment[el]=Άγνωστο
Comment[eo]=Nekonata
Comment[es]=Desconocido
Comment[et]=Tundmatu
Comment[eu]=Ezezaguna
Comment[fa]=ناشناخته
Comment[fi]=Tuntematon
Comment[fr]=Inconnu
Comment[ga]=Neamhaitheanta
Comment[gl]=Descońecido
Comment[he]=לא ידוע
Comment[hi]=अज्ञात
Comment[hr]=Nepoznat
Comment[hu]=Ismeretlen
Comment[id]=Tidak Diketahui
Comment[is]=Óţekkt
Comment[it]=Sconosciuto
Comment[ja]=未知
Comment[ko]=모름
Comment[lt]=Nežinomas
Comment[lv]=Nezināms
Comment[mi]=Kaore i te Mohio
Comment[mk]=Непознато
Comment[mn]=Мэдэгдэхгүй
Comment[ms]=Tidak Diketahui
Comment[mt]=Mhux magħruf
Comment[nb]=Ukjent
Comment[nds]=nich bekannt
Comment[nl]=Onbekend
Comment[nn]=Ukjend
Comment[nso]=Ga e tsebje
Comment[oc]=Desconegut
Comment[pa]=ਅਣਪਛਾਤਾ
Comment[pl]=Nieznany
Comment[pt]=Desconhecido
Comment[pt_BR]=Desconhecido
Comment[ro]=Necunoscut
Comment[ru]=Неизвестный
Comment[se]=Amas
Comment[sk]=Neznámy
Comment[sl]=Neznano
Comment[sq]=I Identifikuar
Comment[sr]=Непознат
Comment[sr@Latn]=Nepoznat
Comment[ss]=Ngatiwa
Comment[sv]=Okänt filformat
Comment[ta]=தெரியாத
Comment[tg]=Номуайян
Comment[th]=ไม่รู้จัก
Comment[tr]=Bilinmeyen
Comment[uk]=Невідомий
Comment[uz]=Номаълум
Comment[ven]=Zwisadivhei
Comment[vi]=Không biết
Comment[wa]=Nén cnoxhou
Comment[xh]=Engaziwayo
Comment[zh_CN]=未知
Comment[zh_TW]=未知
Comment[zu]=Okungaziwa

.kde/share/mimelnk/application/

[Desktop Entry]
Hidden=true
MimeType=application/octet-stream
Type=MimeType

How come it's not being found? Maybe it's not looking in the right place? Anyone know anything i can try to resolve this coz i can't seem to find any info on it.
 
Old 02-28-2005, 01:38 PM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
A long time ago I had the same problem. Unfortunately I don't remember how I solved it. Try to delete (better:rename or move) the file octet-stream.desktop in your homedirectory. I think that was it...
 
Old 02-28-2005, 01:50 PM   #3
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
Ok, i have tried deleting the file in my home. Then I tried deleting file in /opt then I tried it with both deleted. None of it worked so have got both files back now!

Anymore thoughts abisko00?
 
Old 02-28-2005, 02:03 PM   #4
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
delete /tmp/kde-user/ksyscoca (kde-user = kde-yourusername)
I got alot of these once when updating KDE. I spit out like 30 or so of the errors you have. Removing /tmp/kde-user/ksyscoca solved the problem and sped up KDE.
 
Old 02-28-2005, 03:06 PM   #5
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
Thanks tormented_one thats done the trick, strange huh!

/tmp/kde-user/ksycoca was a sim link on my computer so i had to then delete the ksyscoca and ksyscocastamp dirs from /var/tmp/kdecache-user/

How u ever found out the answer to that is beyond me but glad u did.
 
Old 02-28-2005, 06:01 PM   #6
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
O dear, i just logged back into kde and for some reason the files i deleted are back and so are the error messages! How come the files come back? How can i get rid of them completely?
 
Old 02-28-2005, 07:48 PM   #7
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
I don't know mine never came back. I also deleted the dir kde-otheruser/ kde-root/ ksocket-*/ and gconf-*/ all in /tmp dir.. Then ran kbuildsyscoca. Problem never returned. At the time that was the only error my machine had, and took me about a week to figure it out.
 
Old 03-01-2005, 08:00 AM   #8
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
It appears if i delete only /var/tmp/kdecache-user/ksycoca and the sim link to it in /tmp/kde-user then i don't get the errors but my k menu reverts back to it's default number of programs!

As soon as i run kbuildsycoca or edit the k menu in the control centre the menu returns to how it was before deleting ksycoca but also the error comes back. So when it creates the menu again it must be using some data somewhere otherwise how would it remember how the k menu looked.
 
Old 03-07-2005, 05:10 AM   #9
Lars2
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
could not find mime type application/octet-stream

Tom, did you finally solve the above problem? I get the same error message right now. Browsing several discussion groups, nobody seems to understand what is going on.
Regards

Lars
 
Old 03-07-2005, 06:55 AM   #10
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
No i never did solve it. I can't find any information as to what the file is or does either?

I stopped trying because i messed my system up big time when messing around re-compiling the kernel and so i decided to re-install linux, so the problem went.

If you find any information as to what the file is etc or how the problem is solved then please post it because i would like to know anyway.

Other than that kde 3.4 will probably be made easily available for each distro soon so maybe the problem will go away when upgrading to that. I checked out the liveCD of it that you can get from kde.org and it's nice.
 
Old 03-07-2005, 05:07 PM   #11
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
This happens only when updating to kde 3.3, for some reason. Has nothing to do with the kernel. I had the same problem but I did the above steps, then updatedb && ldconfig, and something else don't remember what it was and that solved my problem.
 
Old 03-11-2005, 04:55 PM   #12
muzhogg
LQ Newbie
 
Registered: Mar 2005
Location: Melbourne, Australia
Posts: 6

Rep: Reputation: 0
Hi all,

I also had the same problem - it seems to be rather common!

I have so far found two ways of solving the immediate problem both involving the file;

~/.kde/share/share/mimelnk/application/octet-stream.desktop

My first solution was to delete the file altogether.

The second was to edit the file;

Original listing

Hidden=true
MimeType=application/octet-stream
Type=MimeType

Altered listing (note change in first line only)

Hidden=false
MimeType=application/octet-stream
Type=MimeType

I can't explain this, but it did prevent the error message from showing. I am trying to find a proper fix to the problem and would be intrigued to know (1) whether the file octet-stream.desktop exists under your reinstillation and (2) whether it includes the line "Hidden=true/false" and (if so) the set value

Regards,
MH
 
Old 03-12-2005, 11:50 AM   #13
cootetom
Member
 
Registered: May 2004
Location: UK
Distribution: Ubuntu
Posts: 96

Original Poster
Rep: Reputation: 15
With my re-installation the file doesn't exist in my home dir .kde/share/mimelink/application but it does exist in the /opt/kde3/share/mimelnk/application/

In the /opt directory the the file looks exactly as i posted in my very first post on this topic.

So it would be interesting to know what creates and needs the file to be in your home directory and of course why the error exists.
 
Old 03-14-2005, 06:58 AM   #14
Lars2
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
RPM package manager, reinstall kdelibs3

Following earlier advice, I had simply deleted both the local and global copy of octet-stream.desktop.

That didn't work for me. So I created a dummy file octet-stream.desktop in 'Configure Konqueror/ File Association', which was of course empty and not the original one. With

rpm -q --file octet-stream.desktop

I checked who owned octed-stream.desktop. That was kdelibs3-3.3.0-34.3 in my case. I delted that package in YAST and then immediately reinstalled it. After a reboot the error message did not reappear.
Regards

Lars
 
Old 03-17-2005, 10:40 AM   #15
yorches
LQ Newbie
 
Registered: Mar 2005
Location: Guadalajara, Mexico
Distribution: Slackware 11.0
Posts: 4

Rep: Reputation: 0
could not find mime type application/octet-stream

Hi,

It happend to me too when I upgraded my system (I use Slackware). The solution was to create a new MIME type named "octet-stream" using KDE's control center.

In the control center select "KDE Componentes" then "File Associations". In the window that appears click on the Add... button. A small dialog box will appear. Select "application" fom the drop down box, and type "octet-stream" (without the quotes) in the blank labeled Type name. Click OK to add the new MIME type. After you click OK another window appears. I had to type something in the "Filename Patterns" box so that my new MIME type would be actually saved. Because if I left it all blank, it would not be saved. So I just typed "octet-stream" (again, without the quotes). Make sure you don't use an already existent filename pattern or any wildcards. Make sure to click Apply before clicking OK. That's it. I hope it helps.

Jorge.
 
  


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
Could not find mime type application/octet-stream jon rouse Mandriva 11 02-14-2007 01:18 AM
could not find mime type application/octet-stream WhiteTornado Fedora 7 04-12-2006 12:52 PM
Could not find mime type - application/octet-stream EuroJovi Linux - Software 4 01-26-2006 01:30 PM
Could not find mime type application/octet-stream ERROR CyberDoc Mandriva 10 10-17-2005 08:18 PM
Missing MIME type odat Programming 1 08-16-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration