Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Opening files in OO 2.0.1
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1008

PostPosted: Sat Feb 11, 2006 10:04 am    Post subject: Opening files in OO 2.0.1 Reply with quote

Emerged openoffice 2.01 with nbo problems, when I try to open a files in ANY of the applications I get the following warning in a dialog:
"COuld not find mime type
application/octet-stream"

When this dialog is up, my mouse does not work, I must press enter or hit the tab bar. WHen I do that, I get another dialog box:
"No MIME TYpes INstalled"

Again, mouse still doesn't work until I press enter, after that everything returns to normal and the file open dialog appears.

Anyone know:
1. what this error is about,
2. How to get rid of it?

Cheers,
John
Back to top
View user's profile Send private message
Kurt Steiner
Bodhisattva
Bodhisattva


Joined: 01 Apr 2005
Posts: 1050
Location: Ostroleka, Polska

PostPosted: Sat Feb 11, 2006 10:37 am    Post subject: Reply with quote

Try to recompile kdelibs - it should help. :)
Back to top
View user's profile Send private message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1008

PostPosted: Mon Feb 13, 2006 1:52 am    Post subject: Reply with quote

Kurt Steiner wrote:
Try to recompile kdelibs - it should help. :)


KDElibraries affect Open Office?
Really?
Back to top
View user's profile Send private message
mlebek
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 125

PostPosted: Tue Feb 21, 2006 12:41 am    Post subject: Reply with quote

i think the problem are the missing mime types for opendocuments. they are not installed in my kde 3.3. i imported them manually in /kde/share/mimelnk/application/ and in /kde/share/mimelnk/magic but the error message remains.
Back to top
View user's profile Send private message
mlebek
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 125

PostPosted: Fri Feb 24, 2006 9:46 am    Post subject: Reply with quote

i recompiled kdelibs, same error.

On openoffice.org someone gave me the following advise:
You may need to run the installation files, including desktop-integration again, possibly with the additional switches --replacepkgs and --replacefiles.

How can i do this in gentoo ?

(yesterday i installed OO 2.0.2, same error message)
Back to top
View user's profile Send private message
mlebek
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 125

PostPosted: Fri Feb 24, 2006 7:47 pm    Post subject: Reply with quote

i changed the following entry in OO2 preferences: open/safe: 'use OpenOffice dialogs' (??) to get rid of this error message:

(in german version: Extras/Optionen/OpenOffice.org/Allgemein:
Oeffnen/Speichern-Dialoge: OpenOffice.org Dialoge verwenden)
Back to top
View user's profile Send private message
mlebek
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 125

PostPosted: Sat Feb 25, 2006 8:59 am    Post subject: Reply with quote

and an
Code:
emerge mime-types
should be calming too.
Back to top
View user's profile Send private message
mlebek
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 125

PostPosted: Sun Feb 26, 2006 5:39 pm    Post subject: Reply with quote

after the oo2 installation v2.0.2 [hard masked] i had the following new mime types in /etc/mime.types:

Code:
application/vnd.oasis.opendocument.chart        odc
application/vnd.oasis.opendocument.database     odb
application/vnd.oasis.opendocument.formula      odf
application/vnd.oasis.opendocument.graphics     odg
application/vnd.oasis.opendocument.graphics-template otg
application/vnd.oasis.opendocument.image        odi
application/vnd.oasis.opendocument.presentation odp
application/vnd.oasis.opendocument.presentation-template otp
application/vnd.oasis.opendocument.spreadsheet  ods
application/vnd.oasis.opendocument.spreadsheet-template ots
application/vnd.oasis.opendocument.text         odt
application/vnd.oasis.opendocument.text-master  odm
application/vnd.oasis.opendocument.text-template ott
application/vnd.oasis.opendocument.text-web     oth
Back to top
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Wed Jun 07, 2006 12:18 pm    Post subject: Reply with quote

Well, I got the same error after upgrading to KDE 3.5.

After trying the possible solutions in this thread and in other threads ('emerge mime-types') without luck, I found out, that I forgot to change in

/etc/rc.conf

the XSESSION-variable to

Code:
XSESSION="kde-3.5"
.

After doing this, the error went away.
_________________
Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians.
Back to top
View user's profile Send private message
imsdunn
n00b
n00b


Joined: 06 Sep 2003
Posts: 19

PostPosted: Tue Jul 18, 2006 10:24 pm    Post subject: Reply with quote

I had the same problem
Quote:
COuld not find mime type
application/octet-stream"

When this dialog is up, my mouse does not work, I must press enter or hit the tab bar. WHen I do that, I get another dialog box:
"No MIME TYpes INstalled"


and was able to fix it by going to the Tools menu and selecting the Options menu. Next select the General tab and in the middle of the screen there is a checkbox under Open/Save Dialogs. Check this box - Use OpenOffice.org dialogs.
My problem went away after this and I was able to 'Save As'.
_________________
---------------------
s.dunn
Back to top
View user's profile Send private message
nadamsieee
Guru
Guru


Joined: 30 May 2003
Posts: 340
Location: Atlanta, GA, USA

PostPosted: Wed Jul 19, 2006 12:23 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=140979

I have:
    OpenOffice 2.0.3 installed
    the "Use Openoffice.org dialogs" options is unchecked
    XSESSION="kde-3.4" in /etc/rc.confg
    kde-base/kdelibs-3.5.2-r6 installed

But I can't reproduce the bug. :?:
_________________
nadams (at) ieee (dot) org
Back to top
View user's profile Send private message
eis
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 161
Location: Stuttgart, Germany

PostPosted: Wed Aug 09, 2006 11:16 pm    Post subject: Reply with quote

hm...

I am having this same silly issue.

right now I am remerging your kdelibs, and I also emerged the simple and very small "mime-types" (which didn't help of course).

then I will do a reboot and then lets see.

But there is a little issue.
My KDE Kontrollcenter says, I am using KDE 3.4.3. portage says 3.5.2 is the latest installed. what's that?

thx, Ice
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Tue Aug 15, 2006 8:59 pm    Post subject: Reply with quote

I have exactly the same problem as eis. My KDE Control center says kde 3.4.3 and portage says 3.5.
I also experience the "Could not find mime type application/octet-stream" when I try to save a document in OO.
I recently had my system upgraded with emerge -uDp world.

What would be the correct action to solve the root casue of this problem?
_________________
/Phil
Back to top
View user's profile Send private message
eis
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 161
Location: Stuttgart, Germany

PostPosted: Sun Aug 20, 2006 4:46 pm    Post subject: Reply with quote

Hm..

since nobody seems to answer this question, we appear either very stupid or it is just an error of contemporary KDE... But I can live with these MIME TYPE ERRORS for now.

And besides re-emerging kde-libs and openoffice I dont know what to do. But I doubt that remerging openoffice helps so don't do it. Oh, and if zou want to not solve the problem but work around it, do:

"The workaround for this is to:
Select the Tools menu, then Options->General. check the box Use OpenOffice
dialogs (located under the Open/Save Dialogs)."

---

But whats that about the VERSION of KDE??

have a good one,

eis
Back to top
View user's profile Send private message
Modula
n00b
n00b


Joined: 02 Dec 2004
Posts: 9

PostPosted: Mon Aug 21, 2006 8:19 pm    Post subject: Reply with quote

eis wrote:

But whats that about the VERSION of KDE??


I had the same problem. Found out, that I hat installed KDE 3.5 but in fact was running 3.4.

I found that I had selected KDE 3.4 and not KDE 3.5 in the kdm Session-Type menu.

I selected KDE 3.5 in kdm and my next KDE-session was 3.5. This also solved the mime-type error with openoffice.

Hope this helps
Modula
Back to top
View user's profile Send private message
eis
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 161
Location: Stuttgart, Germany

PostPosted: Tue Aug 22, 2006 1:02 am    Post subject: Reply with quote

definitely makes sense!

I will double check..
Back to top
View user's profile Send private message
eis
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 161
Location: Stuttgart, Germany

PostPosted: Tue Aug 22, 2006 6:04 pm    Post subject: Reply with quote

Ahhhhh!

KDE Kontrollcenter says:

KDE Version 3.4.3

---

/etc/rc.conf says:
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps

XSESSION="kde-3.5.2"

---

so now?

gr, eis
Back to top
View user's profile Send private message
FantomKnight
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2006
Posts: 135
Location: USA

PostPosted: Wed Aug 23, 2006 8:38 pm    Post subject: Reply with quote

Hey, thanks for the tip. Checking the "OpenOffice dialogs" checbox allows me to save my documents again. I don't know how this broke. I haven't updated my system recently or installed anything new that I can think of. I am running KDE 3.4, and my XSESSION line in /etc/rc.conf is commented out. I did look at all of my installed KDE packages. Everything was 3.4 except for kdelibs, which is 3.5.2-r6. I have no idea how that got a later version than everything else.
_________________
Windows = a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
eis
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 161
Location: Stuttgart, Germany

PostPosted: Thu Aug 31, 2006 10:04 pm    Post subject: Reply with quote

OK> The simple and ridiculous answer to MY KDE Version problem above WAS:

I set the right version in rc.config and my system was up to date, BUT I FORGOT TO SET VERSION 3.5 IN THE LOGIN MANAGER.

that was a little dum...

eis
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum