[AC-2531] Whenever compiler.py encounters an 'unrecognized error', it crashes without displaying the error.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-01-19T07:55:22.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Appcelerator CLI |
| Labels | n/a |
| Reporter | Tijs Zwinkels |
| Assignee | Shak Hossain |
| Created | 2013-08-26T06:15:01.000+0000 |
| Updated | 2016-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.
Your referenced pull request is https://github.com/appcelerator/titanium_mobile/pull/4603 is closed. Do you still see this error?
I'll have a look. In the mean time: Have you seen the pull request? https://github.com/appcelerator/titanium_mobile/pull/4605