Sencha touch 2 build production error - sencha-touch-2.1

[ERR] The following error occurred while executing this line:
D:\Sencha\wamp\www\SLearn.sencha\app\build-impl.xml:256: The following error occurred while executing this line:
D:\Sencha\wamp\www\SLearn.sencha\app\build-impl.xml:249: com.sencha.exceptions.ExScript: Wrapped com.sencha.exceptions.BasicException (x-app-build#291)
runAppBuild (x-app-build:291)
[anonymous] (x-app-build:571)
x_app_build (x-app-build:569)
(anonymous:1)

Solved!! initially I used Sencha Cmd v3.1.1.274 but I was building the app using Sencha Cmd v3.1.2.342.. hence the error
thanks for help guys...

Related

Getting Error -4048 when trying to run Playwright scripts

I'm trying to set up a playwright script to take some screenshots and I've been getting this error:
[Error: EPERM: operation not permitted, scandir 'c:\users\myname\appdata\local\elevateddiagnostics'] {
errno:-4048,
code: 'EPERM',
Syscall: 'scandir',
path h:'c:\\users\\myname\\AppData\\Local\\ElevatedDiagnostics'
}
Currently none of my test scripts are working, including the example one. What might the problem be?
I had a similar problem.
npm init playwright#latest
solved the problem for me.

React native build to device failed

I'm trying to build to an iOS device, building to simulator works fine.
This is what I get:
uncaught error Error: TypeError: unsupported file type at lookup (/Users/NAME/git/vex/vex-app react/VexAppReact/node_modules/image-size/lib/index.js:35:9)
at /Users/NAME/git/vex/vex-app-react/VexAppReact/node_modules/image-size/lib/index.js:93:22
at /Users/NAME/git/vex/vex-app-react/VexAppReact/node_modules/image-size/lib/index.js:50:9
at /Users/NAME/git/vex/vex-app-react/VexAppReact/node_modules/graceful-fs/graceful-fs.js:43:10
at FSReqWrap.oncomplete (fs.js:82:15)
See logs /var/folders/h8/42h3w_qd2r9fvpwy99jsnjq40000gn/T/react-packager.log
at SocketClient._handleMessage (SocketClient.js:144:23)
at BunserBuf. (SocketClient.js:53:42)
at emitOne (events.js:90:13)
at BunserBuf.emit (events.js:182:7)
at BunserBuf.process (/Users/NAME/git/vex/vex-app-react/VexAppReact/node_modules/bser/index.js:289:10)
at /Users/NAME/git/vex/vex-app react/VexAppReact/node_modules/bser/index.js:244:12
at nextTickCallbackWith0Args (node.js:452:9)
at process._tickCallback (node.js:381:13)
Command /bin/sh failed with exit code 1
I'm assuming there's something wrong with image assets. I didn't install the image-size node module myself, so I doubt there's something wrong with that module, it could be though.
Any suggestions welcome.
Solution: apparently you can't add png files to native ios build

grails -version FATAL ERROR in native method

I'm trying to get grails version, but getting error all the time. OS: windows server 2012 and windows 8. I suspect that the port is busy, and I can't release it - need another exit from situation
So, I'm doing something like this in command line:
{PATH_TO_/bin/grails.bat} -version
The result is:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750]
So.. what can I do with it?
Thanks.
To resolve problem I've just set JAVA_OPTS
with
-Xrunjdwp:transport=dt_shmem,server=y,suspend=n
Documentation link

Errors when trying to build iOS with cordova in Mavericks (10.9.1)

Days ago I built the application for Android, zero problems, but now, when I try to do the same for iOS (obviously not the same commands) I always receive an error.
I use the following command:
cordova platform add ios
And I get the following error:
Downloading cordova library for ios...
Download complete
Creating ios project...
Error: An error occured during creation of ios sub-project.
File "/Users/xxxxx/.cordova/lib/ios/cordova/3.3.0/bin/update_cordova_subproject", line 31
print __doc__
^
SyntaxError: invalid syntax
at /usr/local/lib/node_modules/cordova/src/platform.js:282:30
at ChildProcess.exithandler (child_process.js:641:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
I tried also with:
phonegap build ios
But I get the same error and I don't know how to fix it. I've been looking on the Internet and I found some guy with the same problem but nobody could help him.
I run the commands with sudo, that isn't the problem.
I recently got the same error.
My problem was that I'm using Python3 by default. print in Python2 is a statement wherease in Python3 it's a function.
.cordova/lib/ios/cordova/3.3.0/bin/update_cordova_subproject has a shebang that calls /bin/python.
I had to replace #!/bin/python with #!/bin/python2.7 to use python2.7 on this script.
I have the exactly same problem with you. However, the way replace "#!/bin/python with #!/bin/python2.7" doesn't work for me.
Inspired by the explanation of Matthieu Riegler, I change print __doc__ to print(__doc__) in line 31 and print line to print(line) in line 97. Eventually, it works.

how can i solve this error while running application in blackberry simulator?

hi i am getting this error in console while running application and it is not build my app package.Following is my error.
C:\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\bin\rapc.exe
-convertpng -quiet codename=deliverables\Standard\5.0.0\Weed deliverables\Standard\5.0.0\Weed.rapc
-sourceroot=D:\Hasmukh\Blackberry\BlackBerryWorkspace\Weed\src;D:\Hasmukh\Blackberry\BlackBerryWorkspace\Weed\res
-import=C:\Eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\lib\net_rim_api.jar D:\Hasmukh\Blackberry\BlackBerryWorkspace\Weed\bin D:\Hasmukh\Blackberry\BlackBerryWorkspace\Weed\src\com\weedclass\CommonFunction.java:102: Warning!: method 'com.weedclass.CommonFunction.ReadFile()' not invoked. I/O Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified Packaging project Weed failed (took 4.162 seconds)
Thanx in advance.
The solution can be found here: http://supportforums.blackberry.com/t5/Java-Development/I-O-Error-CreateProcess/ta-p/445949

Resources