Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1076] Studio: Distorted console view for alloy project launch on emulator

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-07-09T18:36:41.000+0000
Affected Version/sAlloy 1.4.0, Alloy 1.3.1
Fix Version/sAlloy 1.4.0
ComponentsAppcelerator Studio, Tooling
Labelsqe-3.3.0
ReporterDeepti Pandey
AssigneeTim Poulsen
Created2014-07-07T11:38:00.000+0000
Updated2014-08-12T18:26:08.000+0000

Description

Test Steps: This is specific to windows. 1. Create an Alloy Project. 2. Launch it on emulator. Observe the console view. Actual Result: Distorted console view for alloy project launch on emulator is noticed.Please refer attached screenshot.

Attachments

FileDateSize
distorted console view 1.png2014-07-07T11:38:00.000+0000165671
distorted console view 2.png2014-07-07T11:38:00.000+0000196404

Comments

  1. Ingo Muschenetz 2014-07-07

    I assume this is because of some special characters Alloy is putting out?
  2. Christopher Williams 2014-07-07

    Looks to me like the ANSI color code escape sequence. Maybe it's not properly observing a --no-colors flag? I believe we do send it down to the CLI.
  3. Tim Poulsen 2014-07-07

    I see the ANSI color code-like output (the issue) with these combinations: * Alloy 1.3.1, CLI 3.3.0-rc4, SDK 3.4.0 (githash: bdb3870) * Alloy 1.4.0-rc4, CLI 3.3.0-rc4, SDK 3.4.0 (githash: bdb3870) * Alloy 1.3.1, CLI 3.2.3, SDK 3.4.0 (githash: bdb3870) * Alloy 1.3.1, CLI 3.2.3, SDK 3.2.3.GA * Alloy 1.4.0-rc4, CLI 3.2.3, SDK 3.2.3.GA * Alloy 1.4.0-rc4, CLI 3.3.0-rc4, SDK 3.2.3.GA All tests on Windows 8.1, Node 0.10.29, Titanium Studio 3.2.3.201404181442
  4. Tim Poulsen 2014-07-09

    The --no-colors flag is not being passed to Alloy's compile command. Instead, the color=false argument is passed. I've updated the Alloy hooks file to account for this. https://github.com/appcelerator/alloy/pull/474 Follow the testing steps described above to test. In my testing, you can build for either MobileWeb or Android (without this fix, you'd see the color-codes included either way).
  5. Tim Poulsen 2014-07-09

    PR merged to master and 1_4_X branches
  6. Tim Poulsen 2014-07-10

    Can you try running this command to reinstall the hooks file? alloy install plugin [path_to_project]

JSON Source