19 Nov 2013 12:46 AM #1
Unanswered: CMD theme package failed
I have a web application with a custom theme linked. Whenever I save, I get this error message. What's really odd is that I'm not getting any errors in the log.
[INF] -after-generate-package:[INF] [x-property-file] Updating property file: C:\Users\Jen\Desktop\Sencha\AllApps\packages\ext-theme-neptune-37b15680-332a-49b4-aa46-8695b89698ed\.sencha\package\sencha.cfg [INF] [INF] generate-theme:
I get a css file named xt-theme-neptune-37b15680-332a-49b4-aa46-8695b89698ed.css, and it does function, but I'd expected it to save with my chosen theme name (Which is not this.)
On a potentially related note, my constructed index.html page looks a bit off:
19 Nov 2013 6:52 AM #2
can you elaborate a little on "Custom theme linked?"Jason Minnick
Sencha Architect Development Team
19 Nov 2013 11:16 PM #3
In Architect 3, you have the ability to apply a theme, and customize it. In Architect's library resource page, I have a custom theme shown as 'applied', with a name I designated within Architect. I'm referring to this as 'linking'.
22 Nov 2013 4:09 PM #4
For the reference of anyone else having this issue:
when the cmd theme package fails, take a look at the workspace root where your project is saved. It appears that Architect 3 saves a build folder here, as opposed to in the project folder or the designated publish folder.
You'll find the built CSS theme file in this folder structure, in a folder labeled 'resource'. (You'll find a relative path in bootstrap.css. Follow it from /build/ in, and you'll find the css file.)
Unless there is some setting that allows you to define where this build folder goes, you'll need to manually move the css file into your resource folder in your publish path, and manually change bootstrap.css if necessary to point to it correctly.
22 Nov 2013 4:42 PM #5
24 Nov 2013 3:02 PM #6
This question shouldn't be marked as ANSWERED. Because as Jason said, we shouldn't move anythong manually.Terian S. de R.L. de C.V. - México www.terian.com.mx
Science - Innovation - Technology
25 Nov 2013 1:59 PM #7
[WRN] Failed to resolve package ext-theme-neptune-f92cc8fe-12f2-470e-b1b1-978de12e018f [ERR] Theme "ext-theme-neptune-f92cc8fe-12f2-470e-b1b1-978de12e018f" not found
Failed to load package /Applications/MAMP/htdocs/test_author/packages/ext-theme-neptune-f92cc8fe-12f2-470e-b1b1-978de12e018f - this package is missing the .sencha folder, which means it was not generated with Sencha Cmd and will therefore not be able to be used in the build process. Please use an updated version properly generated with Sencha Cmd.
25 Nov 2013 2:16 PM #8
It seems that deleting the old theme and reapplying a new theme did the trick; Cmd was able to successfully create the theme package. Now to go change all my variables again. :/
25 Nov 2013 2:45 PM #9
Scratch that. After creating a new theme, closing Architect and reopening, I get the "Failed to load package" error again.
25 Nov 2013 4:00 PM #10