incubator-photark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subash Chaturanga <subash...@gmail.com>
Subject Does FlickrPhotoStream accepts user credentials when subscribing to a remote album ?
Date Fri, 04 Feb 2011 17:42:50 GMT
Hi all,

In org.apache.photark.album.flicker.FlickrPhotoStream class, does it support
to provide user credentials when subscribing to a remote flicker album?
When see the code, seems like it has no evaluation with username and
password for a given url. The test case works as it fetch albums from a
specific url,
http://api.flickr.com/services/feeds/photos_public.gne?id=24662369@N07&lang=en-us&format=atom

But  PicasaPhotoStream class does accepts user name, password for a given
album url . But still when I try to subscribe to a remote album from my own
real picasa url other than the given test case url, I am getting the
following error for the album url,
https://picasaweb.google.com/104179059863148400259/Subash_album<https://picasaweb.google.com/104179059863148400259/Subash_album#>
.
Seems like it expects the url in a different format. Any ideas ?

INFO: JCRRepositoryManager Constructor : 25129151
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:619)


Thanks
/subash

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message