I am upgrading from Ubuntu 16.04 to 22.04.
The following command was entered to upgrade sencha 4.0.5 version used in Ubuntu 16.04 to the latest version of sencha 7.6.0
sencha upgrade
An error occurred that supposedly failed to find the path to download
Sencha Cmd v4.0.5.87
[INF] Determining the latest version of Sencha Cmd
[INF] The latest version of Sencha Cmd is 7.6.0.87
[INF] Downloading SenchaCmd-7.6.0.87-linux-x64.run.zip from http://cdn.sencha.com/cmd/7.6.0.87/ to temp folder /tmp/sencha1672128222771
[INF] Cleaning up temporary files in /tmp/sencha1672128222771
[ERR] Cannot download SenchaCmd-7.6.0.87-linux-x64.run.zip - not found at http://cdn.sencha.com/cmd/7.6.0.87/
I looked at the sencha document and entered the command instructed there.
The above error does not seem to have a proper solution even if it is googled.
I would appreciate any response I need your help
Related
Downloaded Ext JS Enterprise* Edition for MacOS Catalina. Unzipped the file and executed the SenchaCmd-7.2.0.66-osx.app which installed the CMD tool.
The instructions to generate the application documented here states the following:
Generate the application using the following command:
sencha -sdk /path/to/downloaded/sdk generate app modern MyApp ./MyApp
what is the /path/to/downloaded/sdk?
Tried several different paths but always get the following error:
Unable to locate 'framework.dir' property from sencha.cfg and no framework directory specified
[ERR] Please ensure this command was executed from a valid framework directory
[ERR] No Framework specified.
Please help!
could not get the zip download and CMD to work. Used the NPM option to download and make new app.
I'm trying to sencha app build with Sencha CMD 6.1.1.76 but I'm getting:
BUILD FAILED
[ERR] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
[ERR] at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:97
[ERR] )
and not much else : /
this project was previously built using 6.0.0.92
but I don't see that specific one on sencha's cdn http://cdn.sencha.com/cmd/6.0.2.14/release-notes.html
I don't think I'm the only one with this issue: https://www.sencha.com/forum/showthread.php?309457-IndexOutOfBoundsException-when-running-sencha-app-build-testing&p=1131708#post1131708
Has anyone been able to overcome this issue ?
running sencha app upgrade is of no help, ExtJs 5.0 is using in this project.
Also I get a different exception but the same task originates it (slice-images within slice-impl.xml)
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: Java heap space
[ERR] at com.sench
[ERR] a.cli.Command.dispatch(Command.java:43)
[ERR]
[ERR] Total time: 30 seconds
[ERR] The following error occurred while executing this line:
/Users/code4jhon/thellookingglass-git/.sencha/app/build-impl.xml:335: The following error occurred while executing this line:
/Users/code4jhon/thellookingglass-git/.sencha/app/slice-impl.xml:370: The following error occurred while executing this line:
/Users/code4jhon/thellookingglass-git/.sencha/app/slice-impl.xml:371: The following error occurred while executing this line:
/Users/code4jhon/thellookingglass-git/.sencha/app/slice-impl.xml:240: com.sencha.exceptions.BasicException: Java heap space
I have tried increasing the heap size on some configuration files but no luck.
So this is the workaround I found in order to be able to:
a) generate the css file on the build process
b) run all the other tasks from the build process.
Ultimately I found that the line causing this issue was:
ext.dir=${workspace.dir}/ext
that was on
.sencha/workspace/sencha.cfg
After removing that line I was able to run sencha app build and generate the proper css file.
And the index and resources on the production folder looked good but I got some issues on the regular index ... wrong references etc so looks like I needed that configuration.
ext.dir=${workspace.dir}/ext
So to overcome this I just backed up my .css file and then set:
#comment out this line
#ext.dir=${workspace.dir}/ext
skip.slice=1
in .sencha/app/sencha.cfg
This is the only way I have found to:
1 build the project
2 update the .css with a different theme.
UPDATE
This is generating an 'extjs trial' water mark on the components so it is not useful ...
What I usually do in cases where I'm using an older version of the framework is install the corresponding Sencha Cmd version.
In this case the Sencha Cmd version 6.0.0.92 is probably a beta version as is seen in the release notes:
Release Notes for Sencha Cmd 6.0.0 Beta
Date: May 22, 2015
Version Number: 6.0.0.154
So this is probably going to be difficult.
Is it possible to run sencha app upgrade --noframework. I know it is a ExtJS 5 application, but this only updates the Sencha Cmd configuration files. You can merge your changes easily afterwards and with some luck it'll work with Sencha Cmd 6.1.x.
If this doesn't work, please run sencha -d app build. This will generate an enormous amount of information, but it might give some hints to the exact cause. You can use sencha -d app build >build.log to create a log file.
Good luck, Sencha Cmd problems can be difficult to debug.
i got this error after using sencha generate commande
C:\Users\usr\bin\Sencha\Cmd\3.1.2.342>sencha generate app senchapp "C:\Users\usr\Desktop\senchaapps"
error after creating senchaapps directory :
[INF] generate-workspace:
[INF]
[INF] -after-generate-workspace:
[ERR] Unable to locate 'framework.dir' property from sencha.cfg
[ERR] Please ensure this command was executed from a valid framework directory
[ERR] Non-framework directory
actually, the sencha command should be run from the framework directory (touch-x.x.x folder) rather than the cmd directory. With your terminal, go inside this framework folder and then run this command:
$ sencha generate app nameOfYourApp ../Path/or/your/app
hope this will work.
Maybe the problem could be that you not set the SDK path:
sencha -sdk ../bin/Sencha/touch-2.3.1/ generate app App .
I'm trying to build a native application from sencha cmd using sencha app build native and everything seems to work fine until it gets to this part:
failed running native packager
[ERR] Source directory: st-res/templates/stbuild_template_sim.app/ does not exists
Error copying st-res/templates/stbuild_template_sim.app/ to /home/dethstar/public_html/muhapp/build/muhapp/native/muhapp.app/
Failed to package application
But I Haven't been able to find anything about these files, neither online or in the touch directories. Any idea?
I had to link st-res and stbuild into my working directory:
ln -s /opt/Sencha/Cmd/4.0.0.203/stbuild/stbuild
ln -s /opt/Sencha/Cmd/4.0.0.203/stbuild/st-res
"/opt/Sencha/Cmd/4.0.0.203/" needs to be replaced with the path to your Sencha CMD installation.
I generated a package as follows :
sencha generate app GS e:\bhushan\GS7
After that I am trying to package a project using "sencha app build package native" command.
I am getting message as follows :
[INF] [shellscript] E:\bhushan\GS7\resources\sass>compass compile --bo
ring --force
[INF] [shellscript] '''compass''' is not recognized as an internal or
external comman
Do I need to install compass.
If yes, where can I find the installation and its steps to install on windows XP.
To install compass, look at their website:
- http://compass-style.org/install/