Re: [Tracker] Could not get metadata for PDF
- From: Nikolaus Rath <Nikolaus rath org>
- To: Philip Van Hoof <spam pvanhoof be>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Could not get metadata for PDF
- Date: Sat, 27 Nov 2010 13:11:59 -0500
Hi,
Not passing any MIME type works just fine for other PDFs (and also other file types). Is that something I
should not rely on?
-Niko
"Philip Van Hoof" <spam pvanhoof be> wrote:
You're not passing the correct MIME type. Although I think
tracker-extract will guess it if you omit that part. not sure.
On Sat, 2010-11-27 at 12:47 -0500, Nikolaus Rath wrote:
Hello,
When trying to extract metadata using the DBUS API, I get the
following
error (only for this file):
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in
__call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620,
in call_blocking
message, timeout)
dbus.exceptions.DBusException:
org.freedesktop.DBus.GLib.UnmappedError.TrackerDBus.Code0: Could not
get any metadata for
uri:'file:///tmp/tmpdrlo2W/Cleanroom%20Software%20Development.pdf' and
mime:''
When calling tracker-extract -f on the file directly, everything is
working fine.
Anyone able to help?
Thanks,
-Niko
--
Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]