Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17052] CLI: Analytics events failed to process on Windows

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-05-30T22:46:49.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.3.0
ComponentsCLI
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2014-05-30T22:36:11.000+0000
Updated2014-06-12T07:11:45.000+0000

Description

When building any app on Windows, when the build finishes, a Node.js exception is throw because the analytics file that is written contains semi-colons.
[INFO] :   Project built successfully in 1s 928ms
fs.js:427
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory 'C:\Users\QElab\.titanium\events\2014-05-30T22:29:26.697Z_450.json'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.writeFileSync (fs.js:966:15)
    at writeEvent (C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:153:7)
    at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:208:4
    at Array.forEach (native)
    at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\node-appc\lib\analytics.js:207:15
    at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:533:17
    at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:119:25
    at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:24:16
    at C:\Users\QElab\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:530:21

Comments

  1. Chris Barber 2014-05-30

    Master pull request: https://github.com/appcelerator/node-appc/pull/94
  2. Satyam Sekhri 2014-06-12

    No error is shown. Verified on: || Component || Version || | Appcelerator Studio | 3.3.0.201406111156 | | Titanium SDK | 3.3.0.v20140611130912 | | Node | 0.10.28 | | acs | 1.0.14 | | alloy | 1.4.0-rc | | npm | 1.4.9 | | CLI | 3.3.0-rc | | Titanium-code-processor | 1.1.1 | | OS | Windows8.1 |

JSON Source