> We can try that. (adding IOErrorEvent handler) In fact, the call is synchronous (and blocking) so no event can be sent during the writing. I have also tried opening the file while it was written, no effect. So it's not worth adding the error handling.
Maurice -----Message d'origine----- De : Alex Harui [mailto:aha...@adobe.com] Envoyé : jeudi 6 mars 2014 23:48 À : dev@flex.apache.org Objet : Re: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - RC4 We can try that. I was able to reproduce Om's problem. You have to start truly fresh by deleting the shared object that stores the cache preferences (or probably by setting the cache folder to an invalid path). That's probably worth an RC5. Regarding the jumping of the screen, that repositioning code has been there for a while, at least in 2.7. It may be more noticeable now that we have to load strings from the server instead of them being hard-coded into the app. So, if we're going to do an RC5, what do we want to do about the jumping: 1) nothing 2) don't show any window at all (visible=false) until the strings are in and the window is position. This could make start up seem slower. 3) don't reposition the window. 4) other ideas? -Alex On 3/6/14 2:37 PM, "Maurice Amsellem" <maurice.amsel...@systar.com> wrote: >I forgot: In Get.as > >-----Message d'origine----- >De : Maurice Amsellem >Envoyé : jeudi 6 mars 2014 23:37 >À : dev@flex.apache.org >Objet : RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - >RC4 > >>The installer could certainly use more error handling code. >According to the help on FileStream.writeBytes() , it says I could >trigger IOErrorEvent if the file cannot be written. >http://help.adobe.com/fr_FR/FlashPlatform/reference/actionscript/3/flas >h/f >ilesystem/FileStream.html#writeBytes() > >So maybe we could add: > fs.addEventListener(IOErrorEvent.IO_ERROR, >ioErrorEventHandler); when writing to file. > >WDYT? > >Maurice > >-----Message d'origine----- >De : Alex Harui [mailto:aha...@adobe.com] Envoyé : jeudi 6 mars 2014 >23:25 À : dev@flex.apache.org Objet : Re: [DISCUSS] Discuss Release >Apache Flex SDK Installer 3.0 - RC4 > >The installer could certainly use more error handling code. But >really, I've seen AIR SDKs fail to download properly more than once. I >can't reproduce it in a way to get any serious analysis of whether it >is the installer or the Adobe download server. > >On 3/6/14 2:21 PM, "Maurice Amsellem" <maurice.amsel...@systar.com> wrote: > >>On second try, the installation went well (SDK 4.11 / AIR 13beta / FP >>13). >> >>So maybe what could have happened is that I was browsing the cache >>directories and files while the installation was in progress and maybe >>that locked the air_sdk zip file while it was being writing to disk. >>Is that possible? >>In that case the installation should have raised an error (eg. locked >>file) instead of being stuck? >> >> >> >>Maurice >> >>-----Message d'origine----- >>De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] >>Envoyé : jeudi 6 mars 2014 23:07 >>À : dev@flex.apache.org >>Objet : RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - >>RC4 >> >>Here is the verbose log : >>https://www.dropbox.com/s/r85h5pq57st68gq/install_log_KO.zip >> >>I am giving it another try. >> >> >>-----Message d'origine----- >>De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] >>Envoyé : jeudi 6 mars 2014 23:01 >>À : dev@flex.apache.org >>Objet : RE: [DISCUSS] Discuss Release Apache Flex SDK Installer 3.0 - >>RC4 >> >>Tested RC4: >>- Flex SDK 4.11 / AIR 13beta / FP 13: >>- window 7 6bit, >>-Locale : FR >> >>Minor: some late string (testing cache) are not localized... >>Minor: each time you click on "Install log" button, it opens a new >>log window. >> >>Major: the downloaded file >>pub\labs\flashruntimes\air\air13_sdk_sa_win.zip is only 4MB in size >>(instead of the 189MB). >>Install is stuck at step 5. >> >>Maurice >> >> >>-----Message d'origine----- >>De : Alex Harui [mailto:aha...@adobe.com] Envoyé : jeudi 6 mars 2014 >>22:50 À : dev@flex.apache.org Objet : Re: [DISCUSS] Discuss Release >>Apache Flex SDK Installer 3.0 - RC4 >> >>Well, it says SWFObject failed, but just before it, it was going to >>get OSMF. So something is already funky. >> >>-Alex >> >>On 3/6/14 1:47 PM, "Justin Mclean" <jus...@classsoftware.com> wrote: >> >>>Hi, >>> >>>> Om says it's SWFObject than cannot download. >>> >>>Opps badly need coffee :-) Im just trying again with no cache so >>>everything is download. >>> >>>Justin >> >