Closed markmanes closed 10 years ago
Thanks for bringing this to my attention. A few questions to help me reproduce this. Whilst you were importing the project was the internet connection stable? Also did the project you were trying to import have a large number of source files?
Stable.. it was on my local Wifi
And yes, a large number of files--probably around 400 or so.
-mark=
Sent from my iPad
On Apr 1, 2014, at 10:18 AM, Joshua Garnham notifications@github.com wrote:
Thanks for bringing this to my attention. A few questions to help me reproduce this. Whilst you were importing the project was the internet connection stable? Also did the project you were trying to import have a large number of source files?
— Reply to this email directly or view it on GitHub.
Thanks Mark. I've been able to track down this problem and fix it ready for the next update (v1.1.1). It related to the storing the large number of errors (due to rate limiting) when one of the errors didn't have a file path defined.
That is cool..
Can you tell me what the X means and the Warning sign meant when it was loading the project?
Also can you post this to testflight so I can test before you submit?
-mark=
Sent from my iPad
On Apr 1, 2014, at 10:57 AM, Joshua Garnham notifications@github.com wrote:
Thanks Mark. I've been able to track down this problem and fix it ready for the next update (v1.1.1). It related to the storing the large number of errors (due to rate limiting) when one of the errors didn't have a file path defined.
— Reply to this email directly or view it on GitHub.
The warning sign (⚠️) means that the initial download of the file has failed either due to it being rate-limited or due to an unknown error. The red X (❌) means that even after 2 retries the file still could not be downloaded and no further attempts will occur.
I will put a beta of 1.1.1 on TestFlight as soon as it's ready and shall add you as a beta tester too.
I did register on testflight using the link you provided, you should have my UDID already.
What does 'rate limited' mean?
Also the X were on files that were adjacent to my project. For example when you use things like the Google Docs API you clone their repo and you add the files by reference to your project -- not copying them into your project code space. Are you able to support that?
-mark=
Sent from my iPad
On Apr 1, 2014, at 11:05 AM, Joshua Garnham notifications@github.com wrote:
The warning sign (⚠️) means that the initial download of the file has failed either due to it being rate-limited or due to an unknown error. The red X (❌) means that even after 2 retries the file still could not be download and no further attempts will occur.
I will put a beta of 1.1.1 on TestFlight as soon as it's ready and shall add you as a beta tester too.
— Reply to this email directly or view it on GitHub.
I do indeed. Basically if too many requests are made to the Dropbox API in a short space of time they reject any further requests for a short amount of time (this happens often with large projects when lots of files have to be downloaded at the same time). Consequently attempting to retry after a slight delay generally helps the situation.
And yes, source files that are out of the project root directory ('code space') are supported.
That leads me to the question -- what happens if the files fail to import (files marked with X) -- what is a user to do in this case to get the project in?
-mark=
Sent from my iPad
On Apr 1, 2014, at 11:09 AM, Joshua Garnham notifications@github.com wrote:
I do indeed. Basically if too many requests are made to the Dropbox API in a short space of time they reject any further requests (this happens often with large projects when lots of files have to be downloaded at the same time). Consequently attempting to retry after a slight delay generally helps the situation.
— Reply to this email directly or view it on GitHub.
You will have to sync the project again after it has been imported to download the missing files.
Ah ok :)
Sent from my iPhone
On Apr 1, 2014, at 12:46 PM, Joshua Garnham notifications@github.com wrote:
You will have to sync the project again after it has been imported to download the missing files.
— Reply to this email directly or view it on GitHub.
1.1 definitely went further this time in the import. What I noticed on the screen as it imported from Dropbox was a series of files where some had checkmarks, some had warning symbols and others had red X's. After a longish series of red 'X's the app crashed.
A couple of thoughts:
Here is the symbolicated crash log: