Bug 181190 - PDF file should be a directory
Summary: PDF file should be a directory
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-18 17:06 UTC by Salvo "LtWorf" Tomaselli
Modified: 2010-01-05 22:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Salvo "LtWorf" Tomaselli 2009-01-18 17:06:05 UTC
Version:           0.8 (using Devel)
OS:                Linux
Installed from:    Compiled sources

This bug is the same of bug #180369 that happens in kopete.
When i try to open a pdf file, it says that i've selected a file but it should be a directory.
Comment 1 Pino Toscano 2009-01-18 17:21:44 UTC
Does not make sense.
Does it happen with any PDF document? Or any document Okular can read?
Also, what does it happen if you run `kbuildsycoca4 --noincremental` in a console?
Comment 2 Salvo "LtWorf" Tomaselli 2009-01-18 17:27:55 UTC
Mmmh... Just with some files.
It prints this:

kbuildsycoca4 running...
kbuildsycoca4(3332) KConfigGroup::readXdgListEntry: List entry MimeType in "ServiceMenus/preview.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3332) KConfigGroup::readXdgListEntry: List entry MimeType in ".hidden/kioobex_start.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3332) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/kbtobexclient.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3332) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/kaffeine-iso.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3332) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/k3b.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3332)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/kde4/koffice.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(3332)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/kde4/koffice.desktop"
kbuildsycoca4(3332) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/supertux.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(3332) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/wine.desktop" is not compliant with XDG standard (missing trailing semicolon).
Comment 3 Pino Toscano 2009-01-18 21:46:11 UTC
> Mmmh... Just with some files.

For example, which? What do you get if you execute:
$ kmimetypefinder thatdocument
in a console?

> It prints this:
> [...]

Nothing wrong here...
Comment 4 Salvo "LtWorf" Tomaselli 2009-01-18 21:55:37 UTC
$ kmimetypefinder ~/Documents/uni/fisca\ 1/Principi\ di\ Fisica\ Vol\ 1-\ R.Serway_300p.pdf
application/pdf
(accuracy 100)
Comment 5 Pino Toscano 2009-02-03 16:42:41 UTC
Is this problem still reproduceable with KDE 4.2 final?
Comment 6 Salvo "LtWorf" Tomaselli 2009-02-03 22:31:34 UTC
Yes