Closed GoogleCodeExporter closed 8 years ago
hello !
could you please give me your gallery url + credentials so that I can reproduce
the error ? if private, send me an email to anthony dot dahanne at gmail dot com
thanks
Original comment by anthony....@gmail.com
on 29 Dec 2010 at 6:18
hello, could you reproduce this problem ? if so, can you find a way for me to
reproduce it ?
thanks
Original comment by anthony....@gmail.com
on 4 Jan 2011 at 6:37
I get a crash at this point as well. From the logs:
E/AndroidRuntime( 2485): Caused by: java.lang.ClassCastException:
java.lang.String
E/AndroidRuntime( 2485): at
net.dahanne.gallery3.client.business.G3Client.getItem(G3Client.java:99)
E/AndroidRuntime( 2485): at
net.dahanne.gallery3.client.business.G3Client.getItems(G3Client.java:371)
E/AndroidRuntime( 2485): at
net.dahanne.gallery3.client.business.G3Client.getAlbumAndSubAlbumsAndPictures(G3
Client.java:336)
E/AndroidRuntime( 2485): at
net.dahanne.android.regalandroid.remote.G3Connection.getAlbumAndSubAlbumsAndPict
ures(G3Connection.java:119)
E/AndroidRuntime( 2485): at
net.dahanne.android.regalandroid.tasks.FetchAlbumAndSubAlbumsAndPicturesTask.doI
nBackground(FetchAlbumAndSubAlbumsAndPicturesTask.java:59)
E/AndroidRuntime( 2485): at
net.dahanne.android.regalandroid.tasks.FetchAlbumAndSubAlbumsAndPicturesTask.doI
nBackground(FetchAlbumAndSubAlbumsAndPicturesTask.java:36)
E/AndroidRuntime( 2485): at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/AndroidRuntime( 2485): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
If you want to connect to reproduce, you can use the credentials I emailed you
previously.
Original comment by ciaran.g...@gmail.com
on 4 Jan 2011 at 11:02
hello Ciaran!
I think you are talking about bug #34
could you please send me your gallery credentials as the ones you gave me do
not work.
and thanks in advance, this issue is reported as the most frequent issue from
Android market
Original comment by anthony....@gmail.com
on 4 Jan 2011 at 3:26
hello,
there is something weird with your gallery...
ReGalAndroid sends the correct HTTP request for getting the API key :
POST /index.php/rest HTTP/1.1
X-Gallery-Request-Method: post
User-Agent: Unit Test
Content-Length: 40
Content-Type: application/x-www-form-urlencoded; charset=ISO-8859-1
Host: www.host.com
Connection: Keep-Alive
Expect: 100-Continue
user=regaltest&password=correctpassword
as described in
http://codex.gallery2.org/Gallery3:API:REST#Example_Login_request
and it returns an HTML page, inviting me to login to the gallery; instead of
the API key in json format.
Could you provide more detail Ciaran about how did you install G3 ? what
version ? can you also please take a screenshot of the modules page in your G3
admin area ?
Thanks again; you seem not to be the only to have this; I'd like to know why
your G3 is behaving like this.
On a side note, ReGalAndroid should have caught the problem and telling you G3
is not responding expectedly (instead of force close); I just fixed this
Original comment by anthony....@gmail.com
on 5 Jan 2011 at 4:10
Issue 34 has been merged into this issue.
Original comment by anthony....@gmail.com
on 5 Jan 2011 at 4:11
It seems a Gallery3 bug... try this fix.
http://sourceforge.net/apps/trac/gallery/ticket/1424
Original comment by dpe...@gmail.com
on 12 Jan 2011 at 6:50
I had the problem too.
The fix (http://sourceforge.net/apps/trac/gallery/ticket/1424) solves my
problem.
Now it work fine.
Thanks for the hint, dpeddi.
Original comment by PataGoni...@gmail.com
on 12 Jan 2011 at 8:48
excellent! ciaran, could you confirm the fix works for you ?
So that I can close the issue ?
thanks a lot dpeddi !
Original comment by anthony....@gmail.com
on 12 Jan 2011 at 2:48
This fix for Gallery helped, the app now no longer crashes, but still won't let
me view the albums. It now complains:
net.dahanne.gallery3.client.business.exceptions.G3GalleryException: Value [] at
relationships of type org.json.JSONArray cannot be converted to JSONObject
I've finally gotten around to setting up a test account for you.
G3 URL: http://kr.scuznet.com/gallery3
user: test
pass: testtest
Original comment by CaCtus...@gmail.com
on 14 Jan 2011 at 10:54
Cactus, I could reproduce your error; I created a new issue, #38
Original comment by anthony....@gmail.com
on 16 Jan 2011 at 9:32
Original issue reported on code.google.com by
CaCtus...@gmail.com
on 25 Dec 2010 at 10:00