1. #1
    Ext User
    Join Date
    Oct 2009
    Posts
    3
    Vote Rating
    0
    jcsarda is on a distinguished road

      0  

    Default Weird errors using my sencha cmd to build/run my app

    Weird errors using my sencha cmd to build/run my app


    I'm having a problem trying to build my application. I have everything set up correctly, it just seems like there's an issue with my environment maybe. I'm getting really weird errors trying to build or run the application using the sencha cmd.

    Code:
    ➜ sencha package run -p da.json[ERROR] Copy operation failed src=te dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/stbuild_template
    Copy operation failed src=re dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/.DS_Store
    Copy operation failed src=sdk dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/.senchasdk
    Copy operation failed src=w/.DS_Store dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/app/view/.DS_Store
    Copy operation failed src=w/About.js dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/app/view/About.js
    Copy operation failed src=w/Category.js dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/app/view/Category.js
    Copy operation failed src=w/Main.js dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/app/view/Main.js
    Copy operation failed src=w/Overview.js dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/app/view/Overview.js
    Copy operation failed src=w/Superpac.js dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/app/view/Superpac.js
    Copy operation failed src=n dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/app.json
    Copy operation failed src=emocraticAmerica.app/Info.plist dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/Info.plist
    Copy operation failed src=emocraticAmerica.app/PkgInfo dst=./build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/webapp/build/DemocraticAmerica.app/PkgInfo
    Here's my da.json configuration file's contents:
    Code:
    {	/**
    	 * @cfg {String} applicationName
    	 * @required
    	 * This is the name of your application, which is displayed on the device when the app is installed. On IOS, this should match
    	 * the name of your application in the Apple Provisioning Portal.
    	 */
    	"applicationName":"DemocraticAmerica",
    
    
    	/**
    	 * @cfg {String} applicationId
    	 * This is the name namespace for your application. On IOS, this should match the name of your application in the Apple Provisioning Portal.
    	 */
    	"applicationId":"com.de.democraticAmerica",
    
    
    	/**
    	 * @cfg {String} bundleSeedId
    	 * A ten character string which stands before aplication ID in Apple Provisioning Portal
    	 */
    	"bundleSeedId":"KPXFEPZ6EF",
    
    
    	/**
    	 * @cfg {String} versionString
    	 * @required
    	 * This is the version of your application.
    	 */
    	"versionString":"1.0",
    
    
    	/**
    	 * @cfg {String} iconName
    	 * This is file name of your icon. This should be in the same directory of this configuration file.
    	 *
    	 * For iOS, please refer to their documentation about icon sizes:
    	 * https://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html
    	 *
    	 * For Android, please refer to the Google Launcher icons guide:
    	 * http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html
    	 */
    	"iconName":"resources/icons/Icon~ipad.png",
    
    
    	/**
    	 * @cfg {String} inputPath
    	 * @required
    	 * This is location of your Sencha Touch 2 application, relative to this configuration file.
    	 */
    	"inputPath":"./",
    
    
    	/**
    	 * @cfg {String} outputPath
    	 * @required
    	 * This is where the built application file with be saved.
    	 */
    	"outputPath":"./build",
    
    
    	/**
    	 * @cfg {String} configuration
    	 * @required
    	 * This is configuration for your application. `Debug` should always be used unless you are submitting your app to an online
    	 * store - in which case `Release` should be specified.
    	 */
    	"configuration":"Debug",
    
    
    	/**
    	 * @cfg {String} platform
    	 * @required
    	 * This is the platform where you will be running your application. Available options are:
    	 *  - iOSSimulator
    	 *  - iOS
    	 *  - Android
    	 *  - AndroidEmulator
    	 */
    	"platform":"iOSSimulator",
    
    
    	/**
    	 * @cfg {String} deviceType
    	 * @required
    	 * This is device type that your application will be running on.
    	 *
    	 * If you are developing for Android, this is not necessary.
    	 *
    	 * Available options are:
    	 *  - iPhone
    	 *  - iPad
    	 *  - Universal
    	 */
    	"deviceType":"Universal",
    
    
    	/**
    	 * @cfg {String} certificatePath
    	 * This is the location of your certificate.
    	 * This is required when you are developing for Android or you are developing on Windows.
    	 */
    	"certificatePath":"/path/to/certificate.file",
    
    
    	/**
    	 * @cfg {String} certificateAlias
    	 * This is the name of your certificate.
    	 *
    	 * IF you do not specify this on OSX, we will try and automatically find the certificate for you using the applicationId.
    	 *
    	 * This can be just a simple matcher. For example, if your certificate name is "iPhone Developer: Robert Dougan (ABCDEFGHIJ)", you
    	 * can just put "iPhone Developer".
    	 *
    	 * When using a certificatePath on Windows, you do not need to specify this.
    	 */
    	"certificateAlias":"",
    	
    	/**
    	 * @cfg {String} sdkPath
    	 * This is the path to the Android SDK, if you are developing an Android application.
    	 */
    	"sdkPath":"/path/to/android-sdk",
    
    
    	/**
    	/**
    	 * @cfg {String} androidAPILevel
    	 * This is android API level, the version of Android SDK to use, you can read more about it here: http://developer.android.com/guide/appendix/api-levels.html.
    	 * Be sure to install corresponding platform API in android SDK manager (android_sdk/tools/android)
    	 */
    	"androidAPILevel":"7",
    
    
    	/**
    	 * @cfg {Array[String]} orientations
    	 * @required
    	 * This is orientations that this application can run.
    	 */
    	"orientations": [
    		"portrait",
    		"landscapeLeft",
    		"landscapeRight",
    		"portraitUpsideDown"
    	]
    }
    I've basically copied certain portions of the kitchen sink, and used it as a starting point for the application I'm building. I get the same errors using a fresh kitchen sync application, and trying to build or run it as well.

    Thanks ahead of time for any help you guys can give me.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,613
    Vote Rating
    818
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Your outputPath shouldn't be within your inputPath
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    82
    Vote Rating
    1
    markevans is on a distinguished road

      0  

    Default Same issue.

    Same issue.


    Having the same issue as described. Per Mitchell's suggestion, moved the output director to somewhere outside the input directory. Seems to be adding a bunch of "iOS/Tally/Tally.app/webapp/build" strings to the desination path. Any help appreciated. Have many, many "Copy operation" errors like below:
    Copy operation failed src=ssc.i dst=../../iOS/Tally/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/build/iOS/Tally.app/webapp/.hg/store/data/resources/sass/~2esass-cache/fff437e36c9d1988a80dbba92c0a7e40284ff0b3/__background.scssc.i
    Last edited by markevans; 7 Jan 2013 at 12:48 PM. Reason: typo

Thread Participants: 2