Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
No duration set on the videos. The videos known to nepomuk on first run were processed, the later not.
Python 2.7
PyKDE 4.11
kross 4.11
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
Error: org.freedesktop.DBus.Error.Failed
Cannot set values for abstract property '<nfo:duration>'.
select ?e ?ShowName ?SeasonNumer ?EpisodeNumber ?url where {?e a nmm:TVShow.?e nie:url ?url .?e nmm:series ?series .?series nie:title ?ShowName .?e nmm:episodeNumber ?EpisodeNumber .?e nmm:season ?SeasonNumer .optional {?e nfo:duration ?duration}. FILTER (!bound(?duration)) }
0 episodes were updated
nepomukcmd query 'select ?e ?Title ?url where {?e a nmm:Movie.?e nie:url ?url .?e nie:title ?Title .optional {?e nfo:duration ?duration}. FILTER (!bound(?duration)) }'
Pink Floyd: Live at Pompeii file:///home/ds/MyVideos/Musik/Pink Floyd - Live At Pompeji.avi 3706
---snip---
---snap---
15 movies were updated
As you see the script throws 15 errors and later states the update of 15 movies. The log is truncated. At snip snap would be the other 14 movies. All have a number (duration in seconds?) after the path as the example.
I have also webminer installed. Maybe this interferes.
Hi, my first guess would be that there is a problem with the qdbus call :)
it seems that the lines that should be printed before each qdbus call are missing from the output.
or maybe you are not running the last version.
were there more lines including the url and uri?
The log above is the whole output.
Nothing before, nothing afterwards. The videos were not updated. The videos known to nepomuk on the first run got the duration. The 15 without duration were added after the first run of your script.
I did not understand what you wrote.
>The videos were not updated.
so no video was updated?
>The videos known to nepomuk on the first run got the duration.
does it mean they were updated successfully?
>The 15 without duration were added after the first run of your script.
the videos were added?
were they updated by the script?
thanks,
YB
I had some videos on my computer and ran your script version 0.1. The duration was set and is visible in Dolphin. I added more videos, but the duration didn't get updated anymore. I also tried version 0.2 of your script with no effort. The script extracts the duration but fails to write it into the database.
what is the difference between the first set of videos to the second set?
is the second set known to Nepomuk? are they of type nmm:Movie or nmm:TVShow ?
are they available or on a removable device?
after a software update I ran into the same error message ...abstract property...
reinstalling nepomuk-core solved the problem.
please try and tell me if it solved your problem.
Ratings & Comments
12 Comments
Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. No duration set on the videos. The videos known to nepomuk on first run were processed, the later not. Python 2.7 PyKDE 4.11 kross 4.11
Hi I hope I could help. could you please attach the entire output?
Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. Error: org.freedesktop.DBus.Error.Failed Cannot set values for abstract property '<nfo:duration>'. select ?e ?ShowName ?SeasonNumer ?EpisodeNumber ?url where {?e a nmm:TVShow.?e nie:url ?url .?e nmm:series ?series .?series nie:title ?ShowName .?e nmm:episodeNumber ?EpisodeNumber .?e nmm:season ?SeasonNumer .optional {?e nfo:duration ?duration}. FILTER (!bound(?duration)) } 0 episodes were updated nepomukcmd query 'select ?e ?Title ?url where {?e a nmm:Movie.?e nie:url ?url .?e nie:title ?Title .optional {?e nfo:duration ?duration}. FILTER (!bound(?duration)) }' Pink Floyd: Live at Pompeii file:///home/ds/MyVideos/Musik/Pink Floyd - Live At Pompeji.avi 3706 ---snip--- ---snap--- 15 movies were updated As you see the script throws 15 errors and later states the update of 15 movies. The log is truncated. At snip snap would be the other 14 movies. All have a number (duration in seconds?) after the path as the example. I have also webminer installed. Maybe this interferes.
Hi, my first guess would be that there is a problem with the qdbus call :) it seems that the lines that should be printed before each qdbus call are missing from the output. or maybe you are not running the last version. were there more lines including the url and uri?
and yes the duration is in seconds. by the way, was the movies duration update was successful?
The log above is the whole output. Nothing before, nothing afterwards. The videos were not updated. The videos known to nepomuk on the first run got the duration. The 15 without duration were added after the first run of your script.
I have qdbus from QT4 4.8.5 installed. I guess it is the latest.
I meant the script version.
I did not understand what you wrote. >The videos were not updated. so no video was updated? >The videos known to nepomuk on the first run got the duration. does it mean they were updated successfully? >The 15 without duration were added after the first run of your script. the videos were added? were they updated by the script? thanks, YB
I had some videos on my computer and ran your script version 0.1. The duration was set and is visible in Dolphin. I added more videos, but the duration didn't get updated anymore. I also tried version 0.2 of your script with no effort. The script extracts the duration but fails to write it into the database.
what is the difference between the first set of videos to the second set? is the second set known to Nepomuk? are they of type nmm:Movie or nmm:TVShow ? are they available or on a removable device?
after a software update I ran into the same error message ...abstract property... reinstalling nepomuk-core solved the problem. please try and tell me if it solved your problem.