incubator-photark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Resende <luckbr1...@gmail.com>
Subject Re: Does PicasaPhotoStream class capable of subscribing to real picasa albums ?
Date Thu, 10 Feb 2011 07:48:17 GMT
On Wed, Feb 9, 2011 at 10:33 PM, Subash Chaturanga <subashsdm@gmail.com> wrote:
> Hi all,
>
> $subject
>
> Can anyone please tell that, have anyone tried to subscribe to a your own
> real picasa album by providing url, username and password using
> PicasaPhotoStream class instead of direct subscription with the url
> specified in the test case ? Because when I do that I am getting the
> following parsing exception for the given url. (i.e.
> https://picasaweb.google.com/104179059863148400259/Subash_album) .
>
> com.google.gdata.util.ParseException: Unrecognized content
> type:text/html;charset=UTF-8
> at com.google.gdata.client.Service.parseResponseData(Service.java:2136)
> at com.google.gdata.client.Service.parseResponseData(Service.java:2098)
> at com.google.gdata.client.Service.getFeed(Service.java:1136)
> at com.google.gdata.client.Service.getFeed(Service.java:998)
> at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
> at com.google.gdata.client.Service.getFeed(Service.java:1017)
> at
> org.apache.photark.album.picasa.PicasaPhotoStream.getAll(PicasaPhotoStream.java:104)
> at
> org.apache.photark.jcr.album.subscription.AlbumSubscriptionManager.getPicasaAlbumSubscriptionImages(AlbumSubscriptionManager.java:93)
> at
> org.apache.photark.jcr.album.subscription.AlbumSubscriptionManager.addRemoteAlbum(AlbumSubscriptionManager.java:57)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:113)
> at
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:66)
> at
> org.apache.tuscany.sca.binding.jsonrpc.provider.JSONRPCServiceServlet.handleJSONRPCMethodInvocation(JSONRPCServiceServlet.java:307)
> at
> org.apache.tuscany.sca.binding.jsonrpc.provider.JSONRPCServiceServlet.handleServiceRequest(JSONRPCServiceServlet.java:177)
> at
> org.apache.tuscany.sca.binding.jsonrpc.provider.JSONRPCServiceServlet.service(JSONRPCServiceServlet.java:96)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.tuscany.sca.host.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:110)
> at
> org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:94)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:662)
>
>

I don't remember if I ever tried with a password protected account,
not sure if Luis did.  Maybe you could provide a test case, with a
test account, so we could debug it easily.

-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Mime
View raw message