Re: Rygel errors while running CTT



And this is the result of CTT (1.5.00.56) test, which I could complete after restarting rygel many times:


 Pass:           116
 Fail:             67
 Warning:     21
 N/A:            84
 Total:          288


Do you get a better result?

Thanks,
Alper

On 10/12/2010 09:38 PM, Alper Guler wrote:
Hi,

I get this error in Rygel (0.8.1) while running many of the CTT test cases: "ERROR:rygel-media-export-object-factory.vala:64:rygel_media_export_object_factory_real_get_item: code should not be reached"
Then rygel stops running and I need to restart it to continue tests.

This error comes from "get_item" in rygel-media-export-object-factory.vala when upnp class does not match music, video or photo.

Have you seen such a problem before? I was not seeing this in Rygel 0.6.0. I recently upgraded Rygel to 0.8.1 and all dependencies to latest versions.

Some debug messages from Rygel before I see this error in different test cases are below. Any obvious problem you can see? Where should I look for the problem?

Thanks,
Alper

1:
** (rygel:18434): DEBUG: rygel-search.vala:54: Executing search request: dc:title = "? ? ? ?" ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:226: Original search: dc:title 271 ? ? ? ? ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:227: Parsed search expression: WHERE (o.title = ? COLLATE CASEFOLD) ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:231: Arg 0: ? ? ? ? ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:276: Parameters to bind: 2 ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:308: Parameters to bind: 4
** (rygel:18434): DEBUG: rygel-search.vala:54: Executing search request:

** (rygel:18434): WARNING **: Failed to search in '0': 1.0: expected identifier or '('

** (rygel:18434): WARNING **: Failed to get original URI for 'http://127.0.0.1/test.mp3': Invalid URI 'http://127.0.0.1/test.mp3' ** (rygel:18434): DEBUG: rygel-search.vala:54: Executing search request: upnp:class derivedfrom "object" ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:226: Original search: upnp:class 279 object ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:227: Parsed search expression: WHERE has_prefix(m.class,?) ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:231: Arg 0: object ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:276: Parameters to bind: 2 ** (rygel:18434): DEBUG: rygel-media-export-media-cache.vala:308: Parameters to bind: 4
**
ERROR:rygel-media-export-object-factory.vala:64:rygel_media_export_object_factory_real_get_item: code should not be reached



2:
** (rygel:20025): DEBUG: rygel-media-export-media-cache.vala:227: Parsed search expression: WHERE ((m.class = ? ) AND (m.class = ? )) ** (rygel:20025): DEBUG: rygel-media-export-media-cache.vala:231: Arg 0: object.item.videoItem ** (rygel:20025): DEBUG: rygel-media-export-media-cache.vala:231: Arg 1: object.item.videoItem ** (rygel:20025): DEBUG: rygel-media-export-media-cache.vala:276: Parameters to bind: 3 ** (rygel:20025): DEBUG: rygel-media-export-media-cache.vala:308: Parameters to bind: 5 ** (rygel:20025): DEBUG: rygel-browse.vala:111: Fetched 0 children of container 'virtual-container:7fc70ba12a00b01a687b858dd95fcf09' from index 0. ** (rygel:20025): DEBUG: rygel-media-query-action.vala:136: searching for object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7'.. ** (rygel:20025): DEBUG: rygel-media-export-query-container.vala:57: plaintext ID is: virtual-container:upnp:class,object.item.videoItem,dc:date,? ** (rygel:20025): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:20025): DEBUG: rygel-media-query-action.vala:144: object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' found. ** (rygel:20025): DEBUG: rygel-media-query-action.vala:136: searching for object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7'.. ** (rygel:20025): DEBUG: rygel-media-export-query-container.vala:57: plaintext ID is: virtual-container:upnp:class,object.item.videoItem,dc:date,? ** (rygel:20025): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:20025): DEBUG: rygel-media-query-action.vala:144: object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' found. ** (rygel:20025): DEBUG: rygel-browse.vala:104: Fetching 0 children of container 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' from index 0.. ** (rygel:20025): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:20025): DEBUG: rygel-browse.vala:111: Fetched 0 children of container 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' from index 0. ** (rygel:20025): DEBUG: rygel-media-query-action.vala:136: searching for object '2676651fdfedcfcb6d4bcd57f5cc0502'..
**
ERROR:rygel-media-export-object-factory.vala:64:rygel_media_export_object_factory_real_get_item: code should not be reached


3:

** (rygel:31292): DEBUG: rygel-search.vala:54: Executing search request: @id exists true ** (rygel:31292): DEBUG: rygel-media-export-media-cache.vala:226: Original search: @id 280 true ** (rygel:31292): DEBUG: rygel-media-export-media-cache.vala:227: Parsed search expression: WHERE o.upnp_id IS NOT NULL AND o.upnp_id != '' ** (rygel:31292): DEBUG: rygel-media-export-media-cache.vala:276: Parameters to bind: 1 ** (rygel:31292): DEBUG: rygel-media-export-media-cache.vala:308: Parameters to bind: 3
**
ERROR:rygel-media-export-object-factory.vala:64:rygel_media_export_object_factory_real_get_item: code should not be reached

4:

** (rygel:1074): DEBUG: rygel-media-export-media-cache.vala:227: Parsed search expression: WHERE ((m.class = ? ) AND (m.class = ? )) ** (rygel:1074): DEBUG: rygel-media-export-media-cache.vala:231: Arg 0: object.item.videoItem ** (rygel:1074): DEBUG: rygel-media-export-media-cache.vala:231: Arg 1: object.item.videoItem ** (rygel:1074): DEBUG: rygel-media-export-media-cache.vala:276: Parameters to bind: 3 ** (rygel:1074): DEBUG: rygel-media-export-media-cache.vala:308: Parameters to bind: 5 ** (rygel:1074): DEBUG: rygel-browse.vala:111: Fetched 0 children of container 'virtual-container:7fc70ba12a00b01a687b858dd95fcf09' from index 0. ** (rygel:1074): DEBUG: rygel-media-query-action.vala:136: searching for object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7'.. ** (rygel:1074): DEBUG: rygel-media-export-query-container.vala:57: plaintext ID is: virtual-container:upnp:class,object.item.videoItem,dc:date,? ** (rygel:1074): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:1074): DEBUG: rygel-media-query-action.vala:144: object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' found. ** (rygel:1074): DEBUG: rygel-media-query-action.vala:136: searching for object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7'.. ** (rygel:1074): DEBUG: rygel-media-export-query-container.vala:57: plaintext ID is: virtual-container:upnp:class,object.item.videoItem,dc:date,? ** (rygel:1074): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:1074): DEBUG: rygel-media-query-action.vala:144: object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' found. ** (rygel:1074): DEBUG: rygel-browse.vala:104: Fetching 0 children of container 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' from index 0.. ** (rygel:1074): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:1074): DEBUG: rygel-browse.vala:111: Fetched 0 children of container 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' from index 0.

** (rygel:1074): WARNING **: Failed to create item under 'DLNA.ORG_AnyContainer': No items in DIDL-Lite from client: '<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/"; xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><container id="" parentID="DLNA.ORG_AnyContainer" restricted="0" dlna:dlnaManaged="00000001"><dc:title>7_03_113_01_cont_894</dc:title><upnp:class>object.container</upnp:class><upnp:createClass includeDerived="0">object.item.imageItem</upnp:createClass></container></DIDL-Lite>' ** (rygel:1074): DEBUG: rygel-media-query-action.vala:136: searching for object '5cccf6e346ebaded743365aba073b334'..
**
ERROR:rygel-media-export-object-factory.vala:64:rygel_media_export_object_factory_real_get_item: code should not be reached

A different problem in another test case.
This time no error, but rygel stopped running after giving this warning: "Failed to create item under 'InvalidContainerID'"

** (rygel:14708): DEBUG: rygel-media-export-media-cache.vala:227: Parsed search expression: WHERE ((m.class = ? ) AND (m.class = ? )) ** (rygel:14708): DEBUG: rygel-media-export-media-cache.vala:231: Arg 0: object.item.videoItem ** (rygel:14708): DEBUG: rygel-media-export-media-cache.vala:231: Arg 1: object.item.videoItem ** (rygel:14708): DEBUG: rygel-media-export-media-cache.vala:276: Parameters to bind: 3 ** (rygel:14708): DEBUG: rygel-media-export-media-cache.vala:308: Parameters to bind: 5 ** (rygel:14708): DEBUG: rygel-browse.vala:111: Fetched 0 children of container 'virtual-container:7fc70ba12a00b01a687b858dd95fcf09' from index 0. ** (rygel:14708): DEBUG: rygel-media-query-action.vala:136: searching for object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7'.. ** (rygel:14708): DEBUG: rygel-media-export-query-container.vala:57: plaintext ID is: virtual-container:upnp:class,object.item.videoItem,dc:date,? ** (rygel:14708): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:14708): DEBUG: rygel-media-query-action.vala:144: object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' found. ** (rygel:14708): DEBUG: rygel-media-query-action.vala:136: searching for object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7'.. ** (rygel:14708): DEBUG: rygel-media-export-query-container.vala:57: plaintext ID is: virtual-container:upnp:class,object.item.videoItem,dc:date,? ** (rygel:14708): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:14708): DEBUG: rygel-media-query-action.vala:144: object 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' found. ** (rygel:14708): DEBUG: rygel-browse.vala:104: Fetching 0 children of container 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' from index 0.. ** (rygel:14708): DEBUG: rygel-media-export-media-cache.vala:826: Parsed filter: AND (m.class = ? ) ** (rygel:14708): DEBUG: rygel-browse.vala:111: Fetched 0 children of container 'virtual-container:d2c3f00c26bd4050c272e777bb7542f7' from index 0.

** (rygel:14708): WARNING **: Failed to create item under 'InvalidContainerID': No such object



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]