printdotio / printio-ios-sdk

SDK that enables the printing of any photo, from any source, onto any product!
Other
20 stars 11 forks source link

Photobucket source only loading initial 25 image chunk #161

Closed itscam closed 9 years ago

itscam commented 9 years ago

We noticed this with the build from yesterday. When selecting an album from the Photobucket source, the initial 25 image chunk loads, but nothing after that. Scroll to the bottom and you'll see the spinner.

AustenB commented 9 years ago

@briantemplate @itscam can you find out if something changed on yourside with the API. This part of our code hasn't changed so we can't figure out what happened that caused this to change.

We will continue to investigate

briantemple commented 9 years ago

@AustenB @perisicboro Are there any errors coming back from the Photobucket API? If so, can we add some logging to help us track down what could be the problem? When this happens, the only thing in the log is:

2014-08-20 13:29:56.747 photobucket[49911:60b] PrintIO: infinite scrolling trigered
briantemple commented 9 years ago

Behavior still seen in 3812dac. No additional logging present, so only "infinite scrolling trigered" is seen in the logs.

If an error occurs from the server or parsing the server response, the spinner should be stopped/removed since it makes it look like we are waiting for a response from the server.

AustenB commented 9 years ago

This one works for me in newest build on my phone.

What phone are you not seeing it work on.

On Thu, Aug 21, 2014 at 6:18 PM, Brian Temple notifications@github.com wrote:

Behavior still seen in 3812dac https://github.com/printdotio/printio-ios-sdk/commit/3812dacceefbd030d3c4e85b166c51ff7ad04cc3. No additional logging present, so only "infinite scrolling trigered" is seen in the logs.

If an error occurs from the server or parsing the server response, the spinner should be stopped/removed since it makes it look like we are waiting for a response from the server.

— Reply to this email directly or view it on GitHub https://github.com/printdotio/printio-ios-sdk/issues/161#issuecomment-52992882 .

Austen Bernstein Founder & CEO print.io | Hellopics Breakout Commerce Group

briantemple commented 9 years ago

Mobile uploads folder contains 23 images. On simulator spinner does not go away. On device spinner does disappear, but I noticed that the increment is going up regardless of whether or not all images have been loaded

Log

) Aug 21 17:43:59 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 0 Aug 21 17:44:01 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=25 Aug 21 17:44:01 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:01 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:01 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:04 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=50 Aug 21 17:44:04 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:04 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:04 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:07 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=75 Aug 21 17:44:07 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:07 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:07 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:12 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=100 Aug 21 17:44:12 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:12 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:12 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:24 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=125 Aug 21 17:44:24 Testy kernel[0] : 055689.946521 wlan.A[23561] AppleBCMWLANNetManager::checkRealTimeTraffic(): now 55689.946504166 num entries 4 Aug 21 17:44:24 Testy kernel[0] : 055689.946569 wlan.A[23562] AppleBCMWLANCore::dumpWmeCounters(): per TIDs tx counters: 137969 7919 0 0 0 1163 3354 0, per TIDs rx counters: 470007 2136 119 0 0 718 1935 0 Aug 21 17:44:24 Testy kernel[0] : 055689.946610 wlan.A[23563] AppleBCMWLANCore::dumpWmeCounters(): AWDL: Tx 0 0 0 0 0 0 0 0, Rx: 0 0 0 0 0 0 0 0 Aug 21 17:44:24 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:24 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:24 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:26 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=150 Aug 21 17:44:27 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:27 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:27 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:30 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=175 Aug 21 17:44:30 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:30 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:30 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:36 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=200 Aug 21 17:44:36 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:36 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:36 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:36 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=225 Aug 21 17:44:37 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:37 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:37 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:44:52 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=250 Aug 21 17:44:52 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:44:52 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:44:52 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:45:14 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=275 Aug 21 17:45:14 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:45:14 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:45:14 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:45:28 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=300 Aug 21 17:45:28 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:45:28 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:45:28 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:45:30 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=325 Aug 21 17:45:31 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:45:31 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:45:31 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:45:33 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=350 Aug 21 17:45:33 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); } Aug 21 17:45:33 Testy photobucket[1929] : PrintIO: pb_photos: ( ) Aug 21 17:45:33 Testy photobucket[1929] : PrintIO: isNextPageTriggered: 1 Aug 21 17:45:54 Testy photobucket[1929] : PrintIO: pb_url: https://api.photobucket.com/v2/users/iostestcaseuser/albums/2696333324/media?a=stats&filter=image&limit=25&offset=375 Aug 21 17:45:54 Testy kernel[0] : ttyioss7000009: Hardware Overflow Aug 21 17:45:55 Testy photobucket[1929] : PrintIO: pb_result: { media = ( ); }

AustenB commented 9 years ago

@itscam how is this fixed?

itscam commented 9 years ago

Appears to be fixed.