1. #1
    Sencha User
    Join Date
    Apr 2012
    Location
    Denmark
    Posts
    71
    Answers
    1
    Vote Rating
    1
    hjeDK is on a distinguished road

      0  

    Default Unanswered: Upgrading to 2.0.1.1

    Unanswered: Upgrading to 2.0.1.1


    When I try to upgrade to ST2.0.1.1 with a drop in replacement of my sdk folder I get a
    Get ../sdk/src/List.js file not found
    error.

    Where is that?
    looking at the old sdk folder I don't see any difference.

  2. #2
    Sencha User aatiis's Avatar
    Join Date
    Nov 2011
    Location
    Bajmok, Serbia
    Posts
    60
    Answers
    3
    Vote Rating
    2
    aatiis is on a distinguished road

      0  

    Default


    Try to re-create your app with this:

    HTML Code:
    sencha app create AppName path/to/app all
    first, then revert all custom changes made by the update (git reset --hard or something similar). That did the trick for me.

  3. #3
    Sencha User aatiis's Avatar
    Join Date
    Nov 2011
    Location
    Bajmok, Serbia
    Posts
    60
    Answers
    3
    Vote Rating
    2
    aatiis is on a distinguished road

      0  

    Default


    Correction; the app works fine in development, but the production build fails to load some files.

  4. #4
    Sencha User aatiis's Avatar
    Join Date
    Nov 2011
    Location
    Bajmok, Serbia
    Posts
    60
    Answers
    3
    Vote Rating
    2
    aatiis is on a distinguished road

      0  

    Default


    Just to confirm your report. The SDK version 2.0.1.1 seems to be working fine, but the latest SDK tools (2.0.0-beta3) do not seem to generate a correct production build when using this new SDK version.

    Seems like an SDK Tools update will be needed to address this.

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Location
    Denmark
    Posts
    71
    Answers
    1
    Vote Rating
    1
    hjeDK is on a distinguished road

      0  

    Default


    Quote Originally Posted by aatiis View Post
    Try to re-create your app with this:

    HTML Code:
    sencha app create AppName path/to/app all
    first, then revert all custom changes made by the update (git reset --hard or something similar). That did the trick for me.
    To be honest I have only used the SDK tool when I first created the app, but when I try the operation you suggests with the new SDK I get a runtime error in command\sencha.js line 24 - error 800A138f
    Something with the path. Not sure yet what that means.

    EDIT: I did not use the tool in my initial attempt to update the SDK folder. only copy/paste/rename operations.

  6. #6
    Sencha User
    Join Date
    Apr 2012
    Location
    Denmark
    Posts
    71
    Answers
    1
    Vote Rating
    1
    hjeDK is on a distinguished road

      0  

    Default


    Quote Originally Posted by aatiis View Post
    Just to confirm your report. The SDK version 2.0.1.1 seems to be working fine, but the latest SDK tools (2.0.0-beta3) do not seem to generate a correct production build when using this new SDK version.

    Seems like an SDK Tools update will be needed to address this.
    You might be right. I've just updated the SDK tools to 2.0.0 beta 3 and followed the steps you listed in your first post (which worked like a charm) However when I'm doing a production build I now get an error that says that I can't access an object in my app.js file that I have made as a global variable. This does work without a hitch in my debug version.
    But at least I have a working prototype

  7. #7
    Sencha User
    Join Date
    Apr 2012
    Location
    Toronto, Canada
    Posts
    92
    Answers
    20
    Vote Rating
    12
    iSmartDevice is on a distinguished road

      0  

    Default


    I have the same issue with ST 2.0.1.1. I created a new app and run the "sencha app build testing" command. When I run an app, a web browsers shows me an error saying "Failed loading sdk/src/log/Logger.js".

    *Sencha Command v2.0.2
    *ST 2.0.1.1

    I tried a way "aatiis" suggested, but the sencha js file is 2.4M in the "build/testing" directory, which is not what I want to use.

    Here are commands I used
    $>sencha app create MyApp ../MyApp
    $>sencha app build testing



  8. #8
    Sencha User aatiis's Avatar
    Join Date
    Nov 2011
    Location
    Bajmok, Serbia
    Posts
    60
    Answers
    3
    Vote Rating
    2
    aatiis is on a distinguished road

      0  

    Default


    Quote Originally Posted by iSmartDevice View Post
    I have the same issue with ST 2.0.1.1. I created a new app and run the "sencha app build testing" command. When I run an app, a web browsers shows me an error saying "Failed loading sdk/src/log/Logger.js".

    ...

    [COLOR=red !important]GET
    http://localhost/MyApp/build/testing/sdk/src/log/Logger.js?_dc=1339166302778 404 (Not Found) sencha-touch.js:7575[/COLOR]

    I also get the exact same error.

  9. #9
    Sencha User
    Join Date
    Apr 2012
    Location
    Toronto, Canada
    Posts
    92
    Answers
    20
    Vote Rating
    12
    iSmartDevice is on a distinguished road

      0  

    Default


    Do you think it is the Sencha command related matter?

  10. #10
    Sencha User
    Join Date
    Apr 2012
    Location
    Denmark
    Posts
    71
    Answers
    1
    Vote Rating
    1
    hjeDK is on a distinguished road

      0  

    Default same issue

    same issue


    I have the same issue with the app failing to load Logger.js and that's both with a testing build and a production build.
    When I try to reload I get a syntax error in line 56 of index.html

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi