Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2531] Whenever compiler.py encounters an 'unrecognized error', it crashes without displaying the error.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2014-01-19T07:55:22.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI
Labelsn/a
ReporterTijs Zwinkels
AssigneeShak Hossain
Created2013-08-26T06:15:01.000+0000
Updated2016-03-08T07:41:35.000+0000

Description

Whenever compiler.py encounters an 'unrecognized error', it crashes without displaying the error. This can be seen in #TC-2812 and #TC-1838 for example. The problem is due to a typo in compiler.py.
sys.stderr.write("[ERROR] unrecognized error encountered: " % se)
should be:
sys.stderr.write("[ERROR] unrecognized error encountered: %s" % se)
I'll file a pull-request.

Comments

  1. Motiur Rahman 2013-09-25

    Your referenced pull request is https://github.com/appcelerator/titanium_mobile/pull/4603 is closed. Do you still see this error?
  2. Tijs Zwinkels 2013-09-25

    I'll have a look. In the mean time: Have you seen the pull request? https://github.com/appcelerator/titanium_mobile/pull/4605

JSON Source