Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no sync #3

Open
nheid opened this issue Jul 30, 2011 · 12 comments
Open

no sync #3

nheid opened this issue Jul 30, 2011 · 12 comments

Comments

@nheid
Copy link
Member

nheid commented Jul 30, 2011

as reported by prof morbius:

gpodroid successfully logged into gpodder.net and created a device, but after I synced the list from another device ... nothing. No subscriptions are listed; all I get is a player with nothing to play and three blank tabs (the search field shows up in the Search tab, but returns nothing no matter what I type). The comments in the Market listed a similar problem.

@brianbourke75
Copy link

So I believe that I figured out what is causing the syncing issue. It appears that the ObjectMapper "read" method is failing to parse the JSON feedback when the API call is made to fetch subscription updates. When reviewing a manual call to gpodder.net it appears there are new values which are not represented in our class structures thus the ObjectMapper seems to be getting confused. Personally I believe it may be worth a look to see if there are more robust ways of handling the data and I will do some research to figure this out.

In the mean time I am plagued by logistical issues. I updated my android SDK and that seems to have broken my build.xml file so I am trying to figure out how to fix that. Also, I have never been able to get the integrated debugging to work under eclipse and I was wondering if you have had any luck with this?

@nheid
Copy link
Member Author

nheid commented Aug 19, 2011

hey, i was working on it too. and got so far, that i added the missing field.
still the db operations failed. but i only looked very briefly due to lack of time.

of the sdk debug issue, lets meet up in irc next week, i got it running in emulator and on device (even though i'm using intellij).

@brianbourke75
Copy link

Hiya, I finally carved out some time to work on the project and I was able to fix the database issue. Nothing complicated, but I decided to change the GpodDB class to a static class and make some other small changes which seemed to do the trick, but there seems to be another JSONMappingException being throw now, but at least it's a new issue. So I noticed your branch so I merged that with my local master here so we don't get to far from each other.

I will let you know if I figure out what the new issue is should I be able to figure it out.

ps: I was able to figure out the integrated debugging thing, I was just being a bit bone headed.

@brianbourke75
Copy link

So I was able to figure out what was going on. I happened to have the podcast "FLOSS Weekly" in my subscription list and it seems to have some bad mojo in it's description. Because of this I cannot get rid of it from the web interface or gpodder on my desktop so I am thinking that this is an issue which should be handled on the backend.

Do you have a contact person who works in the API or should I just message someone myself?

@nheid
Copy link
Member Author

nheid commented Sep 2, 2011

hey,
i didnt have any time to look in the db, that is why there is a branch
at the moment. (for release 0.4.4)
it's not intended to stay that way. was just because i got a handful
of "no sync" complaints.
i still have two crash reports in the market logs i want to fix, which
are related to empty results and network calls not detached from the
ui. that should increase stability a bit.

you can use the irc of the gpodroid guys, they are both very nice and helpful.
i had irc conversations with both of them, also about issues. they
usually took care of it within a few hours.
but if you want i can also relay the information. whatever you prefer.

i'll take a look into the parsing next week to check if i can make it
less sensible to changes in the api.

i'll be off for the weekend, so i wish you a nice weekend.

greetings, nico

On Fri, Sep 2, 2011 at 19:42, brianbourke75
reply@reply.github.com
wrote:

So I was able to figure out what was going on.  I happened to have the podcast "FLOSS Weekly" in my subscription list and it seems to have some bad mojo in it's description.  Because of this I cannot get rid of it from the web interface or gpodder on my desktop so  I am thinking that this is an issue which should be handled on the backend.

Do you have a contact person who works in the API or should I just message someone myself?

Reply to this email directly or view it on GitHub:
#3 (comment)

Nico Heid - http://nicoheid.com - mob. +491733181059

@Horrendus
Copy link
Member

Hey,

gpodder.net introduces new keys in the JSON results of the diverse API Calls from time to time (on request).
Please change your JSON -> Object Mappers in a way to only fail if there are missing keys, if they atm also fail if there are additional values

@brianbourke75
Copy link

Yup, I have been wanting to write a better JSON parser for a while now so now all I have to do is overcome that darn learning curve!

@Horrendus
Copy link
Member

Hmm ... just found this: http://wiki.fasterxml.com/ObjectMapper

So they set some Property to not fail on an Unknown Value, maybe try this (Jackson seems not to be the best documented java lib)

@gpbenton
Copy link

I seemed to be having a similar problem, but the list of podcasts appeared after I pressed the `play´ button. It put out a message like ´you must select a podcast first´, and then displayed all the synched podcasts.

@dalb8
Copy link

dalb8 commented Jun 4, 2012

no such luck here.

@dalb8
Copy link

dalb8 commented Jun 4, 2012

oh yes, patience paid off. I stopped it an d started it and 30 minutes later it works. Not ready for prime time, guess I'll have to keep using beyondpod for another while:(

@nheid
Copy link
Member Author

nheid commented Jun 16, 2012

hey,
yeah sorry for that, i took the app off the market a while ago.
due to this issue and my lack of time i think that was the only choice.

thanks for your feedback and support.

sorry again,
nico

On Mon, Jun 4, 2012 at 10:29 PM, dalb8 <
reply@reply.github.com

wrote:

oh yes, patience paid off. I stopped it an d started it and 30 minutes
later it works. Not ready for prime time, guess I'll have to keep using
beyondpod for another while:(


Reply to this email directly or view it on GitHub:
#3 (comment)

Nico Heid - http://nicoheid.com - mob. +491733181059

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants