dirkvranckaert / my-episodes-watch-manager

Automatically exported from code.google.com/p/my-episodes-watch-manager
1 stars 2 forks source link

dateformat cannot be parsed #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Just openening the app and after the login the Ooops-popup appears.
(After reinstalling I was asked for my login and the app recognized, that I had 
a mistake in the password. So the login to the server seems to work)

What is the expected output? What do you see instead?
I should get either "watch", "acquire" or "coming", but instead I get the popup 
and after that a blank screen.

What version of the application are you using?
The latest (tried reinstalling though)

What version of Android are you using?
2.2 (Froyo)

What device/smartphone are you using?
HTC Desire

Original issue reported on code.google.com by tavos...@googlemail.com on 16 Sep 2010 at 10:04

GoogleCodeExporter commented 8 years ago
Thanks for your bug report.
I will look into this issue and keep you updated!

Original comment by dirkvran...@gmail.com on 17 Sep 2010 at 7:45

GoogleCodeExporter commented 8 years ago
Tavos,

can you give me the entire error message that appears on the screen?
The Ooops-popup-title isn't enough information ;)

Original comment by dirkvran...@gmail.com on 17 Sep 2010 at 7:48

GoogleCodeExporter commented 8 years ago
Tavos,

can you please send a little more details so we can help you out?
Thanks a lot in advance!!!

Dirk

Original comment by dirkvran...@gmail.com on 20 Sep 2010 at 4:48

GoogleCodeExporter commented 8 years ago
Hello Dirk,

The exact message is:
"Something went wrong. Try to restart the application and check your internet 
connection. If you keep having this issue report a bug at 
http://code.google.com/p/my-episodes-watch-manager/."

The internet connection works fine and I restarted and even reinstalled the 
app. Nothing works. The old version worked fine though.
After reinstalling, the app runs so far that it asks me for my credentials.
After that, the popup appers and comes up everytime I click one of the tabs 
(watch, acquire, coming).

I hope that helps you,
Tavos

Original comment by tavos...@googlemail.com on 21 Sep 2010 at 12:52

GoogleCodeExporter commented 8 years ago
Tavos,

Thanks for your explanation. I will have a look today or tomorrow what can 
cause this issue. Although if the old version worked you can download it 
manually and keep using that one. You can find it over here: 
http://my-episodes-watch-manager.googlecode.com/files/MyEpisodesWatchManager-1.6
.0.apk

When I have found anything I'll let you know!

Original comment by dirkvran...@gmail.com on 21 Sep 2010 at 7:36

GoogleCodeExporter commented 8 years ago
Tavos,

I can't find your problem. However this can be something specific with your 
account (myepisodes.com account settings etc).
Could you change your password for a few days and send me an email with your 
username and your new/temporary password so I can test?

If it's ok for you send me an email with the details, my email is 
android-dev@vranckaert.eu

Thx!!

Original comment by dirkvran...@gmail.com on 27 Sep 2010 at 6:30

GoogleCodeExporter commented 8 years ago
I'm getting the same message, not sure it's related, but looks like it's caused 
by:

09-30 19:29:39.592: ERROR/EpisodeWatchListActivity(29147): 
java.lang.IllegalArgumentException: Could not determine Year, Month, and Day 
from '17.08.2006'

Sounds likely as you say that this is caused by account specific date format (I 
have mine set to "d.m.Y").

Original comment by mark...@gmail.com on 30 Sep 2010 at 5:32

GoogleCodeExporter commented 8 years ago
Thanks for the reply, this is very usefull information!
Tavos, do you think by any chance this could cause the problem with you too?

I'll have a look at it this weekend but shouldn't be that hard to fix!

Original comment by dirkvran...@gmail.com on 30 Sep 2010 at 8:56

GoogleCodeExporter commented 8 years ago
Received an email from Tavos telling me that his problem was also the 
dateformat. Waiting for his reply to tell me what his setting in myepisodes.com 
was to fix the issue.

Original comment by dirkvran...@gmail.com on 30 Sep 2010 at 9:00

GoogleCodeExporter commented 8 years ago
Sweet! :)

Fix could always be to change it back to default, but making it work would be 
golden.

Also, I must say, good work on the app.

Original comment by mark...@gmail.com on 30 Sep 2010 at 9:01

GoogleCodeExporter commented 8 years ago
Thanks,

For now you could indeed change your settings to something that works, but 
we'll add the options to our application. The problem with this myepisodes.com 
configuration option is that it's a free text-field for users so we cannot know 
what possible results will be!

it's always nice to hear that you love it! ;)
If there's anything (new feature etc) you want to tell us about don't hesitate 
and log an issue for it!

Original comment by dirkvran...@gmail.com on 30 Sep 2010 at 9:15

GoogleCodeExporter commented 8 years ago
A possible fix could be a correspondingly free text field with a java date 
format-friendly syntax, but that's not all that pretty either..

Original comment by mark...@gmail.com on 30 Sep 2010 at 9:25

GoogleCodeExporter commented 8 years ago
Ok I turned back to my custom dateformat to test and I get the errormessage 
again.

Syntax of the PHP date() function is: d-m-Y.
The output in this case is: 30.09.2010.

When I switch back to the original d-M-Y and the output 30-Sep-2010 everything 
works fine.

I hope it helps you.
Thanks for the support and a great app !

Tavos

Original comment by tavos...@googlemail.com on 1 Oct 2010 at 3:31

GoogleCodeExporter commented 8 years ago
I'm happy to announce the issue has been fixed and will be included in release 
1.7.0.

This issue has some history: we had this issue and could solve using a 
framework that was guessing the date-conversion for us. But it does not support 
all dates clearly so I now extended the resolving. First off all the framework 
can try to resolve the correct date, if it fails we try with our own utility to 
retrieve the date. That utility currently only supports the dateformat 
dd-MM-yyyy (which corresponds with d-m-Y in PHP).

In the future the application won't crash anymore when the date cannot be 
converted, in the details screen a label will be shown to tell the user the 
date could not be retrieved and he should report a bug.

Original comment by dirkvran...@gmail.com on 3 Oct 2010 at 2:28

GoogleCodeExporter commented 8 years ago
Reopening this issue. What I want to do is when the list of episodes is 
retrieved and the date cannot be converted post it to some page automatically 
so we get notified to adapt changes so in the next release the user's 
date-settings are supported!

Perfect would be to automatically create a new issue on code.google.com. Have 
to look into this in details before starting an implementation.

Original comment by dirkvran...@gmail.com on 5 Oct 2010 at 7:44

GoogleCodeExporter commented 8 years ago

Original comment by dirkvran...@gmail.com on 23 Oct 2010 at 1:45

GoogleCodeExporter commented 8 years ago

Original comment by dirkvran...@gmail.com on 7 Nov 2010 at 3:29

GoogleCodeExporter commented 8 years ago
Postponed to next version

Original comment by dirkvran...@gmail.com on 16 Nov 2010 at 8:01

GoogleCodeExporter commented 8 years ago

Original comment by dirkvran...@gmail.com on 16 Nov 2010 at 8:07

GoogleCodeExporter commented 8 years ago

Original comment by dirkvran...@gmail.com on 16 Nov 2010 at 8:08

GoogleCodeExporter commented 8 years ago

Original comment by dirkvran...@gmail.com on 16 Nov 2010 at 8:08

GoogleCodeExporter commented 8 years ago

Original comment by dirkvran...@gmail.com on 18 Nov 2010 at 12:46