Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42AAA1887A for ; Wed, 27 May 2015 13:25:21 +0000 (UTC) Received: (qmail 75406 invoked by uid 500); 27 May 2015 13:25:18 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 75384 invoked by uid 500); 27 May 2015 13:25:18 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 75373 invoked by uid 99); 27 May 2015 13:25:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 13:25:18 +0000 Date: Wed, 27 May 2015 13:25:17 +0000 (UTC) From: "Alexander Sorokin (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CB-9074) cordova run windows -- --phone fails with Error: The parameter is incorrect. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9074?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Sorokin resolved CB-9074. ----------------------------------- Resolution: Fixed > cordova run windows -- --phone fails with Error: The parameter is incorre= ct. > -------------------------------------------------------------------------= --- > > Key: CB-9074 > URL: https://issues.apache.org/jira/browse/CB-9074 > Project: Apache Cordova > Issue Type: Bug > Components: Windows > Reporter: Alexander Sorokin > > Steps to repro: > 1. Create mobilespec application for windows: {{cordova-mobile-spec\creat= emobilespec\createmobilespec mobilespec --windows}} > 2. {{cordova run -- --phone}} > Actual Result: > {code} > node cordova-medic/medic/medic.js run --id cordova-windows-phone8.1-42-ae= gis.apache.org --platform windows --couchdb http://cdv-ms-buildbot.cloudapp= .net:5984 --entry cdvtests/index.html --app mobilespec --timeout 740 --winv= ers phone > in dir C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\. (timeo= ut 800 secs) > watching logfiles {} > argv: ['node', 'cordova-medic/medic/medic.js', 'run', '--id', 'cordova-w= indows-phone8.1-42-aegis.apache.org', '--platform', 'windows', '--couchdb',= 'http://cdv-ms-buildbot.cloudapp.net:5984', '--entry', 'cdvtests/index.htm= l', '--app', 'mobilespec', '--timeout', '740', '--winvers', 'phone'] > environment: > ADT_HOME=3DC:\Program Files (x86)\Android\android-sdk > ALLUSERSPROFILE=3DC:\ProgramData > ANT_HOME=3DC:\apache-ant-1.9.3 > APPDATA=3DC:\Users\buildbot\AppData\Roaming > ASL.LOG=3DDestination=3Dfile > BB_BUILDSLAVE=3D"C:\Python27\Scripts\buildslave"=20 > BB_PYTHON=3D"C:\Python27\Scripts\..\python" > CLIENTNAME=3DDBDEATHSTAR > COMMONPROGRAMFILES=3DC:\Program Files\Common Files > COMMONPROGRAMFILES(X86)=3DC:\Program Files (x86)\Common Files > COMMONPROGRAMW6432=3DC:\Program Files\Common Files > COMPUTERNAME=3DDBSTARDESTROYER > COMSPEC=3DC:\windows\system32\cmd.exe > FP_NO_HOST_CHECK=3DNO > GIT_HOME=3DC:\Git > HOMEDRIVE=3DC: > HOMEPATH=3D\Users\buildbot > JAVA_HOME=3DC:\Program Files (x86)\Java\jdk1.7.0_55 > LOCALAPPDATA=3DC:\Users\buildbot\AppData\Local > LOGONSERVER=3D\\DBSTARDESTROYER > NUMBER_OF_PROCESSORS=3D12 > OS=3DWindows_NT > PATH=3DC:\ProgramData\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scr= ipts;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS = Client\;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Ser= vices;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online= Services;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\window= s\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Manageme= nt Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine = Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Comp= onents\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Componen= ts\IPT;C:\Git\cmd;C:\Git\bin;C:\Program Files\nodejs\;C:\Program Files (x86= )\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft = SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript= \1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program File= s (x86)\Java\jdk1.7.0_55\bin;C:\Program Files (x86)\Android\android-sdk\too= ls;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\apache-ant-= 1.9.3\bin;C:\Git\cmd > PATHEXT=3D.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC > PROCESSOR_ARCHITECTURE=3DAMD64 > PROCESSOR_IDENTIFIER=3DIntel64 Family 6 Model 45 Stepping 7, GenuineInt= el > PROCESSOR_LEVEL=3D6 > PROCESSOR_REVISION=3D2d07 > PROGRAMDATA=3DC:\ProgramData > PROGRAMFILES=3DC:\Program Files > PROGRAMFILES(X86)=3DC:\Program Files (x86) > PROGRAMW6432=3DC:\Program Files > PROMPT=3D$P$G > PSMODULEPATH=3DC:\windows\system32\WindowsPowerShell\v1.0\Modules\;c:\P= rogram Files\Microsoft Security Client\MpProvider\ > PUBLIC=3DC:\Users\Public > PWD=3DC:\Users\buildbot\slaves\apache\cordova-windows-phone8_1 > SESSIONNAME=3DRDP-Tcp#9 > SYSTEMDRIVE=3DC: > SYSTEMROOT=3DC:\windows > SYSTEMTYPE=3Dother > TEMP=3DC:\Users\buildbot\AppData\Local\Temp > TMP=3DC:\Users\buildbot\AppData\Local\Temp > UATDATA=3DC:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77 > USERDOMAIN=3DDBSTARDESTROYER > USERDOMAIN_ROAMINGPROFILE=3DDBSTARDESTROYER > USERNAME=3Dbuildbot > USERPROFILE=3DC:\Users\buildbot > VS110COMNTOOLS=3DC:\Program Files (x86)\Microsoft Visual Studio 11.0\Co= mmon7\Tools\ > VS120COMNTOOLS=3DC:\Program Files (x86)\Microsoft Visual Studio 12.0\Co= mmon7\Tools\ > WINDIR=3DC:\windows > using PTY: False > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] Writing medic.json to mobilespe= c > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] sha: cordova-windows-ph= one8.1-42-aegis.apache.org > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] couchdb: http://cdv-ms-buil= dbot.cloudapp.net:5984 > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] Setting entry point to cdvtests= /index.html in config.xml > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] Adding whitelist rule for Couch= DB host: http://cdv-ms-buildbot.cloudapp.net:5984 > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] Adding CSP rule for CouchDB hos= t: http://cdv-ms-buildbot.cloudapp.net:5984 > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] setting target store version to= 8.1 > C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec C:\Us= ers\buildbot\slaves\apache\cordova-windows-phone8_1 > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] running: > [MEDIC LOG Wed, 27 May 2015 07:22:16 GMT] cordova.bat build windows -= - --phone > C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec>node = C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\cordova-cli\bin\c= ordova build windows -- --phone=20 > Access rules must begin with "https://", the following rule will be ignor= ed: http://audio.ibeat.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://cordova-filetransfer.jitsu.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://whatheaders.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://*.apache.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://www.google.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://google.co.uk > Access rules must begin with "https://", the following rule will be ignor= ed: http://techslides.com > Access rules must begin with "https://", the following rule will be ignor= ed: httpssss://example.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://cdv-ms-buildbot.cloudapp.net:5984 > Access rules must begin with "https://", the following rule will be ignor= ed: http://audio.ibeat.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://cordova-filetransfer.jitsu.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://whatheaders.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://*.apache.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://www.google.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://google.co.uk > Access rules must begin with "https://", the following rule will be ignor= ed: http://techslides.com > Access rules must begin with "https://", the following rule will be ignor= ed: httpssss://example.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://cdv-ms-buildbot.cloudapp.net:5984 > Access rules must begin with "https://", the following rule will be ignor= ed: http://audio.ibeat.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://cordova-filetransfer.jitsu.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://whatheaders.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://*.apache.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://www.google.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://google.co.uk > Access rules must begin with "https://", the following rule will be ignor= ed: http://techslides.com > Access rules must begin with "https://", the following rule will be ignor= ed: httpssss://example.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://cdv-ms-buildbot.cloudapp.net:5984 > Running command: C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1= \mobilespec\platforms\windows\cordova\build.bat --phone > MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\amd64\ > Building project: C:\Users\buildbot\slaves\apache\cordova-windows-phone8_= 1\mobilespec\platforms\windows\CordovaApp.Phone.jsproj > =09Configuration : debug > =09Platform : anycpu > Vibration -> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\m= obilespec\plugins\cordova-plugin-vibration\src\windows\Vibration\bin\Debug\= Vibration.winmd > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\build\phone\debug\anycpu\CordovaApp.Phon= e_0.0.1.0_Bundle\CordovaApp.Phone_0.0.1.0_anycpu_debug.appx (unsigned) > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_deb= ug_Test\CordovaApp.Phone_0.0.1.0_anycpu_debug.appxsym > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\build\phone\debug\anycpu\CordovaApp.Phon= e_0.0.1.0_Bundle\CordovaApp.Phone_0.0.1.0_scale-100.appx (unsigned) > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_deb= ug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_Any= CPU_bundle_debug.appxupload > Your package has been successfully created. > [MEDIC LOG Wed, 27 May 2015 07:22:32 GMT] running: > [MEDIC LOG Wed, 27 May 2015 07:22:32 GMT] cordova.bat run windows -- = --phone > C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1 > [MEDIC LOG Wed, 27 May 2015 07:22:32 GMT] waiting for test results ... > C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec>node = C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\cordova-cli\bin\c= ordova run windows -- --phone=20 > Access rules must begin with "https://", the following rule will be ignor= ed: http://audio.ibeat.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://cordova-filetransfer.jitsu.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://whatheaders.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://*.apache.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://www.google.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://google.co.uk > Access rules must begin with "https://", the following rule will be ignor= ed: http://techslides.com > Access rules must begin with "https://", the following rule will be ignor= ed: httpssss://example.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://cdv-ms-buildbot.cloudapp.net:5984 > Access rules must begin with "https://", the following rule will be ignor= ed: http://audio.ibeat.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://cordova-filetransfer.jitsu.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://whatheaders.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://*.apache.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://www.google.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://google.co.uk > Access rules must begin with "https://", the following rule will be ignor= ed: http://techslides.com > Access rules must begin with "https://", the following rule will be ignor= ed: httpssss://example.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://cdv-ms-buildbot.cloudapp.net:5984 > Access rules must begin with "https://", the following rule will be ignor= ed: http://audio.ibeat.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://cordova-filetransfer.jitsu.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://whatheaders.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://*.apache.org > Access rules must begin with "https://", the following rule will be ignor= ed: http://www.google.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://google.co.uk > Access rules must begin with "https://", the following rule will be ignor= ed: http://techslides.com > Access rules must begin with "https://", the following rule will be ignor= ed: httpssss://example.com > Access rules must begin with "https://", the following rule will be ignor= ed: http://cdv-ms-buildbot.cloudapp.net:5984 > Running command: C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1= \mobilespec\platforms\windows\cordova\run.bat --phone > MSBuildToolsPath: C:\Program Files (x86)\MSBuild\12.0\bin\amd64\ > Building project: C:\Users\buildbot\slaves\apache\cordova-windows-phone8_= 1\mobilespec\platforms\windows\CordovaApp.Phone.jsproj > =09Configuration : debug > =09Platform : anycpu > Vibration -> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\m= obilespec\plugins\cordova-plugin-vibration\src\windows\Vibration\bin\Debug\= Vibration.winmd > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\build\phone\debug\anycpu\CordovaApp.Phon= e_0.0.1.0_Bundle\CordovaApp.Phone_0.0.1.0_anycpu_debug.appx (unsigned) > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_deb= ug_Test\CordovaApp.Phone_0.0.1.0_anycpu_debug.appxsym > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\build\phone\debug\anycpu\CordovaApp.Phon= e_0.0.1.0_Bundle\CordovaApp.Phone_0.0.1.0_scale-100.appx (unsigned) > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_deb= ug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle > CordovaApp.Phone -> C:\Users\buildbot\slaves\apache\cordova-windows-pho= ne8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_Any= CPU_bundle_debug.appxupload > Your package has been successfully created. > Deploying phone package to device: > C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platf= orms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Pho= ne_0.0.1.0_AnyCPU_debug.appxbundle > Attempting to remove previously installed application... > Error: Deployment failed because no Windows Phone was detected. Make sure= a phone is connected and powered on.=20 > Installing application... > Error: Deployment failed because no Windows Phone was detected. Make sure= a phone is connected and powered on.=20 > Installing application... > Error: Deployment failed because no Windows Phone was detected. Make sure= a phone is connected and powered on.=20 > Attempting to remove previously installed application... > Error: The application is not installed. > Installing application... > Error: The parameter is incorrect. > AppDeployCmd - Help > Syntax:=20 > AppDeployCmd.exe =20 > - Specifies the command to be executed (one of the follow= ing) > /install - installs the application on the device. > (requires package filename) = =20 > /installlaunch - installs and launches the application on the devi= ce. > (requires package filename) > /update - updates the application already installed on devi= ce. > (requires package filename) > /updatelaunch - updates and launches the application already inst= alled on device. > (requires package filename) > /launch - launches the application already installed on the= device. > (requires product-id) > /uninstall - uninstalls the application from the device. > (requires product-id) > /EnumerateDevices - lists the valid device targets along with the > device index for each device. > - Specifies the GUID of the product. This is located in > AppxManifest.xml for APPX projects=20 > or WMAppManifest.xml for XAP projects. > - Specifies the full path of the app to be installed or = updated. > - Specifies the target device (one of the follo= wing): > xd - default emulator > de - Windows Phone device connected to the desktop > n - device listed at index n. To get the list of devi= ces > use the following command: > "AppDeployCmd.exe /EnumerateDevices" > - forces an install to internal storage or t= o SD card storage. > Only valid with /install and /installlaunc= h. > Examples: (assuming product id is f8ce6878-0aeb-497f-bcf4-65be961d4bba=20 > and FilePath is D:\PhoneApp1.xap or D:\PhoneApp2.appx) > AppDeployCmd.exe /install D:\PhoneApp2.appx /targetdevice:xd > - installs PhoneApp1 on the default emulator. > AppDeployCmd.exe /installlaunch D:\PhoneApp1.xap /targetdevice:xd > - installs PhoneApp1 on the default emulator and then launches it. > AppDeployCmd.exe /launch f8ce6878-0aeb-497f-bcf4-65be961d4bba /targetdev= ice:de=20 > - launches the app with specified product id on the device. > AppDeployCmd.exe /update D:\PhoneApp1.xap /targetdevice:2 > - updates PhoneApp1 already installed on the device > specified by device index 2. To get the list of valid indices use > the EnumerateDevices command. > AppDeployCmd.exe /updatelaunch D:\PhoneApp2.appx /targetdevice:de > - updates PhoneApp1 already installed on the device and then launch= es it. > AppDeployCmd.exe /uninstall f8ce6878-0aeb-497f-bcf4-65be961d4bba /target= device:xd=20 > - uninstalls the app with specified product id from the default emu= lator. > AppDeployCmd.exe /EnumerateDevices > - enumerates the list of valid device targets along with the > corresponding device index for each device. > Unexpected error from installation: > Error code 2147942487 for command: C:\Program Files (x86)\Microsoft SDKs\= Windows Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe with args: /installlaun= ch,C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\plat= forms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Ph= one_0.0.1.0_AnyCPU_debug.appxbundle,/targetdevice:xd > You may have previously installed the app with an earlier version of cord= ova-windows. > Ensure the app is uninstalled from the phone and then try to run again. > ERROR: Error code 2147942487 for command: C:\Program Files (x86)\Microsof= t SDKs\Windows Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe with args: /inst= alllaunch,C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilesp= ec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\Cordov= aApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle,/targetdevice:xd > ERROR running one or more of the platforms: Error: C:\Users\buildbot\slav= es\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\cordova\run= .bat: Command failed with exit code 2 > You may not have the required environment or OS to run this project > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org