Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11917] CLI: Alloy: Failed to Package Alloy Project to Mobile Web in Mountain Lion

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2012-12-03T14:30:39.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelsalloy, cli, qe-mw100112
ReporterPragya Rastogi
AssigneeChris Barber
Created2012-11-30T11:15:30.000+0000
Updated2014-07-17T09:46:05.000+0000

Description

Steps To Reproduce: 1. Create Alloy project 2. Package to Mobile Web Project Actual: Failed to package appears Expected: Mobile Package must occur without error Note: There are no error messages in logs or console.

Attachments

FileDateSize
2911bug.rtf2012-12-01T06:57:19.000+000026248
2911debug-shellLog.rtf2012-12-01T05:57:31.000+00005214
AlloyPackageFailed.png2012-11-30T11:15:30.000+0000297521

Comments

  1. Michael Xia 2012-11-30

    This looks similar to the issue reported in TIMOB-11867, but on a different platform. We'll need more info to track down the issue. Could you do the following? 1. Open the Preferences > Titanium Studio > Troubleshooting page, change the log level to All, and select com.aptana.core/debug/shell. 2. Restart Studio and then perform the steps to reproduce the error. 3. Open the log via Help > Titanium Studio > View Log File. 4. Track down the command that we invoke to package the alloy project (should be toward the end), and invoke the same command from the command line. This should produce an error, and pasting the stacktrace here will be very helpful. Thanks.
  2. Pragya Rastogi 2012-12-01

    Hi Michael, Please find attached Studio Log File using above steps. I was not able to locate any error or command in logs. And console Logs were empty. Kindly let me know what all investigations are required to dig more.
  3. Michael Xia 2012-12-01

    Hi Pragya, Thanks. Could you run the following command from the command line to see if it produces any errors?
       /usr/local/bin/titanium --no-banner --no-colors --no-prompt build --platform mobileweb --sdk 3.0.0.v20121130200208 --deploy-type production --log-level trace --project-dir /Users/pragyarastogi/Documents/Titanium_Studio_Workspace/Alloy
       
  4. Pragya Rastogi 2012-12-01

    Pls find attached 2911bug.rtf file after running the above command. There i found an error stating "no such file or directory '/Users/pragyarastogi/Documents/Titanium_Studio_Workspace/Alloy/build/mobileweb/modules/ti.cloud/mobModule.js" this file is not available on my machine.
  5. Ingo Muschenetz 2012-12-01

    FWIW, I am unable to reproduce: Titanium Studio Version: 3.0.0.201211301903 Titanium SDK Version: 3.0.0.v20121130200208 Titanium CLI Version: 3.0.18 Alloy Version: 0.3.2
  6. Chris Barber 2012-12-03

    This issue isn't the bug, but rather the same error caused by TIMOB-11919.

JSON Source