You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Chris Chabot <ch...@google.com> on 2009/10/03 17:07:01 UTC

Re: [OpenSocial] Re: hiiii

Hey Tommyc.

For shindig related issues it's best to use the
shindig-dev@incubator.apache.org list (see
http://incubator.apache.org/shindig on how to subscribe there), since few of
the shindig developers hang out here.

Anyhow to the issue, the error is pretty clear, it got an empty document so
it can't be rendered, there's a few things you could do to trouble shoot:
- # rm -rf /tmp/shindig  (to clear the cache so it'll fetch it again)
- Increase the curl_connection_timeout value in
shindig/php/config/container.php to a higher number if you're on a high
latency connection
- If you're behind a proxy server, you can add it to
shindig/php/config/container.php in the 'proxy' configuration key

(and dont forget to flush the cache using rm -rf /tmp/shindig between
experiments, else it wont attempt to fetch again)

Usually one of those does the trick

On Sat, Oct 3, 2009 at 3:33 PM, tommyc <cl...@googlemail.com> wrote:

>
> k thanks k42b3
> just installed shindig but now im getting this error when i go to
>
> http://localhost/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> :
> Error
> Empty XML document
> Debug backtrace
>
> Array
> (
>    [0] => Array
>        (
>            [file] => C:\Program Files\Apache Software Foundation
> \Apache2.2\htdocs\shindig\src\gadgets\servlet
> \GadgetRenderingServlet.php
>            [line] => 83
>            [function] => outputError
>            [class] => GadgetRenderingServlet
>            [object] => GadgetRenderingServlet Object
>                (
>                    [context:private] => GadgetContext Object
>                        (
>                            [httpFetcher:protected] =>
> BasicRemoteContent Object
>                                (
>                                )
>
>                            [locale:protected] =>
>                            [renderingContext:protected] => GADGET
>                            [registry:protected] =>
>                            [userPrefs:protected] =>
>                            [gadgetId:protected] =>
>                            [view:protected] => profile
>                            [moduleId:protected] => 0
>                            [url:protected] =>
> http://www.labpixies.com/campaigns/todo/todo.xml
>                            [cache:protected] =>
>                            [blacklist:protected] =>
> BasicGadgetBlacklist Object
>                                (
>                                    [rules:private] => Array
>                                        (
>                                        )
>
>                                )
>
>                            [ignoreCache:protected] =>
>                            [forcedJsLibs:protected] =>
>                            [containerConfig:protected] =>
>                            [container:protected] => default
>                            [refreshInterval:protected] => 86400
>                        )
>
>                    [lastModified:private] =>
>                    [contentType:private] => text/html
>                    [charset:private] => UTF-8
>                    [noCache:private] =>
>                    [cacheTime:private] => 86400
>                    [noHeaders] =>
>                )
>
>            [type] => ->
>            [args] => Array
>                (
>                    [0] => SpecParserException Object
>                        (
>                            [message:protected] => Empty XML document
>                            [string:private] =>
>                            [code:protected] => 0
>                            [file:protected] => C:\Program Files
> \Apache Software Foundation\Apache2.2\htdocs\shindig\src\gadgets
> \GadgetSpecParser.php
>                            [line:protected] => 28
>                            [trace:private] => Array
>                                (
>                                    [0] => Array
>                                        (
>                                            [file] => C:\Program Files
> \Apache Software Foundation\Apache2.2\htdocs\shindig\src\gadgets
> \GadgetServer.php
>                                            [line] => 40
>                                            [function] => parse
>                                            [class] =>
> GadgetSpecParser
>                                            [type] => ->
>                                            [args] => Array
>                                                (
>                                                    [0] =>
>                                                    [1] =>
> GadgetContext Object
>                                                        (
>
> [httpFetcher:protected] => BasicRemoteContent Object
>                                                                (
>                                                                )
>
>
> [locale:protected] =>
>
> [renderingContext:protected] => GADGET
>
> [registry:protected] =>
>
> [userPrefs:protected] =>
>
> [gadgetId:protected] =>
>
> [view:protected] => profile
>
> [moduleId:protected] => 0
>
> [url:protected] => http://www.labpixies.com/campaigns/todo/todo.xml
>
> [cache:protected] =>
>
> [blacklist:protected] => BasicGadgetBlacklist Object
>                                                                (
>
> [rules:private] => Array
>
> (
>                                                                        )
>
>                                                                )
>
>
> [ignoreCache:protected] =>
>
> [forcedJsLibs:protected] =>
>
> [containerConfig:protected] =>
>
> [container:protected] => default
>
> [refreshInterval:protected] => 86400
>                                                        )
>
>                                                )
>
>                                        )
>
>                                    [1] => Array
>                                        (
>                                            [file] => C:\Program Files
> \Apache Software Foundation\Apache2.2\htdocs\shindig\src\gadgets
> \GadgetServer.php
>                                            [line] => 24
>                                            [function] => specLoad
>                                            [class] => GadgetServer
>                                            [type] => ->
>                                            [args] => Array
>                                                (
>                                                    [0] =>
> GadgetContext Object
>                                                        (
>
> [httpFetcher:protected] => BasicRemoteContent Object
>                                                                (
>                                                                )
>
>
> [locale:protected] =>
>
> [renderingContext:protected] => GADGET
>
> [registry:protected] =>
>
> [userPrefs:protected] =>
>
> [gadgetId:protected] =>
>
> [view:protected] => profile
>
> [moduleId:protected] => 0
>
> [url:protected] => http://www.labpixies.com/campaigns/todo/todo.xml
>
> [cache:protected] =>
>
> [blacklist:protected] => BasicGadgetBlacklist Object
>                                                                (
>
> [rules:private] => Array
>
> (
>                                                                        )
>
>                                                                )
>
>
> [ignoreCache:protected] =>
>
> [forcedJsLibs:protected] =>
>
> [containerConfig:protected] =>
>
> [container:protected] => default
>
> [refreshInterval:protected] => 86400
>                                                        )
>
>                                                )
>
>                                        )
>
>                                    [2] => Array
>                                        (
>                                            [file] => C:\Program Files
> \Apache Software Foundation\Apache2.2\htdocs\shindig\src\gadgets
> \servlet\GadgetRenderingServlet.php
>                                            [line] => 80
>                                            [function] =>
> processGadget
>                                            [class] => GadgetServer
>                                            [type] => ->
>                                            [args] => Array
>                                                (
>                                                    [0] =>
> GadgetContext Object
>                                                        (
>
> [httpFetcher:protected] => BasicRemoteContent Object
>                                                                (
>                                                                )
>
>
> [locale:protected] =>
>
> [renderingContext:protected] => GADGET
>
> [registry:protected] =>
>
> [userPrefs:protected] =>
>
> [gadgetId:protected] =>
>
> [view:protected] => profile
>
> [moduleId:protected] => 0
>
> [url:protected] => http://www.labpixies.com/campaigns/todo/todo.xml
>
> [cache:protected] =>
>
> [blacklist:protected] => BasicGadgetBlacklist Object
>                                                                (
>
> [rules:private] => Array
>
> (
>                                                                        )
>
>                                                                )
>
>
> [ignoreCache:protected] =>
>
> [forcedJsLibs:protected] =>
>
> [containerConfig:protected] =>
>
> [container:protected] => default
>
> [refreshInterval:protected] => 86400
>                                                        )
>
>                                                )
>
>                                        )
>
>                                    [3] => Array
>                                        (
>                                            [file] => C:\Program Files
> \Apache Software Foundation\Apache2.2\htdocs\shindig\index.php
>                                            [line] => 118
>                                            [function] => doGet
>                                            [class] =>
> GadgetRenderingServlet
>                                            [type] => ->
>                                            [args] => Array
>                                                (
>                                                )
>
>                                        )
>
>                                )
>
>                        )
>
>                )
>
>        )
>
>    [1] => Array
>        (
>            [file] => C:\Program Files\Apache Software Foundation
> \Apache2.2\htdocs\shindig\index.php
>            [line] => 118
>            [function] => doGet
>            [class] => GadgetRenderingServlet
>            [object] => GadgetRenderingServlet Object
>                (
>                    [context:private] => GadgetContext Object
>                        (
>                            [httpFetcher:protected] =>
> BasicRemoteContent Object
>                                (
>                                )
>
>                            [locale:protected] =>
>                            [renderingContext:protected] => GADGET
>                            [registry:protected] =>
>                            [userPrefs:protected] =>
>                            [gadgetId:protected] =>
>                            [view:protected] => profile
>                            [moduleId:protected] => 0
>                            [url:protected] =>
> http://www.labpixies.com/campaigns/todo/todo.xml
>                            [cache:protected] =>
>                            [blacklist:protected] =>
> BasicGadgetBlacklist Object
>                                (
>                                    [rules:private] => Array
>                                        (
>                                        )
>
>                                )
>
>                            [ignoreCache:protected] =>
>                            [forcedJsLibs:protected] =>
>                            [containerConfig:protected] =>
>                            [container:protected] => default
>                            [refreshInterval:protected] => 86400
>                        )
>
>                    [lastModified:private] =>
>                    [contentType:private] => text/html
>                    [charset:private] => UTF-8
>                    [noCache:private] =>
>                    [cacheTime:private] => 86400
>                    [noHeaders] =>
>                )
>
>            [type] => ->
>            [args] => Array
>                (
>                )
>
>        )
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "Implementing OpenSocial Containers" group.
> To post to this group, send email to opensocial-container@googlegroups.com
> To unsubscribe from this group, send email to
> opensocial-container+unsubscribe@googlegroups.com<op...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/opensocial-container?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>