Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1046] MobileWeb: Unable to package the sample alloy widget app

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-11-26T01:56:44.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.4.0
ComponentsTesting
Labelsqe-3.3.0, qe-closed-3.3.0, qe-manualtest
ReporterParas Mishra
AssigneeChris Barber
Created2014-06-04T06:15:12.000+0000
Updated2014-11-26T01:56:44.000+0000

Description

MobileWeb: Unable to package the sample alloy widget app Steps to reproduce: 1. Copy the app from https://github.com/appcelerator/alloy/tree/master/test/apps/widgets/widget_buttongrid into alloy project app folder 2. Run the app Expected: App should be packaged to the selected directory. Actual: Packaging fails and log file is attached as errorlog.txt

Attachments

FileDateSize
errorlog.txt2014-06-04T06:15:12.000+000044329

Comments

  1. Ingo Muschenetz 2014-06-04

    Error appears to be:
       Error: ENOENT, no such file or directory '/Users/paras.mishra/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/mobileweb/templates/app/default/Resources/mobileweb/appicon.png'
           at fs.openSync (fs.js:427:18)
           at fs.readFileSync (fs.js:284:15)
           at exports.copyFileSync (/Users/paras.mishra/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/node_modules/node-appc/lib/fs.js:170:28)
           at /Users/paras.mishra/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140603152512/mobileweb/cli/hooks/package_web.js:71:11
           at /usr/local/lib/node_modules/titanium/lib/hook.js:235:13
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13
           at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)
           at async.eachSeries (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:150:9)
           at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:9)
       ---------------------------------------------
           at /Users/paras.mishra/Documents/Appcelerator_Studio_Workspace_table/buttongrid/plugins/ti.alloy/hooks/alloy.js:142:11
           at /usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/async.js:35:6
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:232:13
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:24:16
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:516:34
           at /Users/paras.mishra/Documents/Appcelerator_Studio_Workspace_table/buttongrid/plugins/ti.alloy/hooks/alloy.js:90:9
       
  2. Chris Barber 2014-06-05

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5773 3_X_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5774
  3. Chris Barber 2014-06-05

    To test, create a mobile web project, delete the project's appicon.png from both the Resources and Resources/mobileweb dirs, then build any mobileweb app for any target.
  4. Chris Barber 2014-06-07

    Alloy master pull request: https://github.com/appcelerator/alloy/pull/435 Alloy 1_4_X pull request: https://github.com/appcelerator/alloy/pull/436
  5. Tim Poulsen 2014-06-09

    Tested titanium_mobile and alloy pull requests and both work as expected.
  6. Paras Mishra 2014-06-18

    Verified as fixed, closing the issue Verified the fix on: SDK: 3.3.0.v20140617161713 CLI version : 3.3.0-rc OS : MAC OSX 10.9.2 Alloy: 1.4.0-rc ACS: 1.0.14 npm:1.3.2 LiveView: 1.0.4 Appcelerator Studio, build: 3.3.0.201406171619 titanium-code-processor: 1.1.1 XCode : 5.1.1

JSON Source