1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default Issues to simulate - sencha package run

    Issues to simulate - sencha package run


    Hello everyone.

    I'm with issues to simulate my project.
    It's working ok on browser but renders a white screen on simulator and shows those errors:

    Code:
    sencha package run /Users/lgertel/Sites/ABRASX/simulator.jsonCopy operation failed src=te dst=/Users/lgertel/Sites/ABRASX/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/stbuild_template
    Can not open source file
    Can not open destination file for writing
    Copy operation failed src=xds dst=/Users/lgertel/Sites/ABRASX/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/ABRASX.xds
    Can not open source file
    Can not open destination file for writing
    Copy operation failed src=w/MainContainer.js dst=/Users/lgertel/Sites/ABRASX/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/app/view/MainContainer.js
    Can not open source file
    Can not open destination file for writing
    Copy operation failed src=l dst=/Users/lgertel/Sites/ABRASX/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/app.html
    Can not open source file
    Can not open destination file for writing
    Copy operation failed src=BRAS.app/Info.plist dst=/Users/lgertel/Sites/ABRASX/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/Info.plist
    Can not open source file
    Can not open destination file for writing
    Copy operation failed src=BRAS.app/PkgInfo dst=/Users/lgertel/Sites/ABRASX/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/PkgInfo
    Can not open source file
    Can not open destination file for writing
    Copy operation failed src=BRAS.app/webapp/app.js dst=/Users/lgertel/Sites/ABRASX/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/build/ABRAS.app/webapp/app.js
    Can not open source file
    Can not open destination file for writing
    The application was successfully packaged
    Path: //Users/lgertel/Sites/ABRASX/build/ABRAS.app
    Device: iphone
    [DEBUG] 2012-04-17 12:08:52.300 stbuild_template[12360:17903] The requested URL was not found on this server.
    I really don't know what is wrong. I have already defined everything needed.
    Any gotcha?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Do you have an index.html file?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default


    At this moment app.html.

    Copied the app.html and saved as index.html
    Same issue

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default


    This is my simulator.json configuration

    Code:
    {    "applicationName": "ABRAS",
        "applicationId": "br.com.grts.PluSoft",
        "versionString": "1.0",
        "iconName": "",
        "inputPath": "/Users/lgertel/Sites/ABRASX",
        "outputPath": "/Users/lgertel/Sites/ABRASX/build",
        "configuration": "Debug",
        "platform": "iOSSimulator",
        "deviceType": "Universal",
        "certificatePath": "",
        "certificateAlias": "",
        "sdkPath": "",
        "androidAPILevel": ""
    }
    I have tried to reinstall SDKTools, but even with a brand new project on Architect, I'm getting this issue.
    For every project!

    I really need to fix this =/

    Thanks!

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Try putting the build path somewhere outside of the inputPath?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  6. #6
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default


    Same issue with:

    Code:
    {    "applicationName": "ABRAS",
        "applicationId": "br.com.grts.PluSoft",
        "versionString": "1.0",
        "iconName": "",
        "inputPath": "/Users/lgertel/Sites/ABRASX",
        "outputPath": "/Users/lgertel/Sites",
        "configuration": "Debug",
        "platform": "iOSSimulator",
        "deviceType": "Universal",
        "certificatePath": "",
        "certificateAlias": "",
        "sdkPath": "",
        "androidAPILevel": ""
    }
    Wow... I'm getting crazy!

  7. #7
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,445
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Well it looks like you are getting a really long path which is incorrect. Going to have Phil look at this.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  8. #8
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default


    I have removed the app.html and the index.html to see if something changes, but no... same error.
    Those messages:
    Can not open source file
    Can not open destination file for writing

    Can be related to permissions or something?
    I have changed they to 777 too, but the error persists.

  9. #9
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default


    Thanks!<br>I'll buy Architect as soon my trial expires, I'm using for a very nice project.<br><br>Just need to fix this issue than integrate some charts.<br>I'm waiting for your help!<br><br><br>

  10. #10
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    Yeah looks like circular source / destination issue.

    Also try to run the command from command line as it may be easier to consume the error messages.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team