When the company name contains non-ascii characters like german umlauts (ä, ü, ö etc.) the build process fails with the following output.
Support for UTF-8 or do not allow those characters during input.
Setting top to : /tmp/tmpaxZT3D
Setting out to : /tmp/tmpaxZT3D/build
Checking for program gcc,cc : arm-none-eabi-gcc
Checking for program ar : arm-none-eabi-ar
Found Pebble SDK in : /app/sdk2/Pebble
'configure' finished successfully (0.053s)
Waf: Entering directory /tmp/tmpaxZT3D/build' [ 1/21] appinfo.auto.c: appinfo.json -> build/appinfo.auto.c Waf: Leaving directory/tmp/tmpaxZT3D/build'
Build failed
Traceback (most recent call last):
File "/app/sdk2/Pebble/.waf-1.7.11-39fe48984bffb30c5aa1f6f8e9a9f09a/waflib/Task.py", line 123, in process
ret=self.run()
File "/app/sdk2/Pebble/.waf-1.7.11-39fe48984bffb30c5aa1f6f8e9a9f09a/waflib/Task.py", line 47, in run
return m1(self)
File "/app/sdk2/Pebble/.waf-1.7.11-39fe48984bffb30c5aa1f6f8e9a9f09a/waflib/extras/pebble_sdk.py", line 58, in _generate_appinfo_c_file_rule
generate_appinfo.generate_appinfo(task.inputs[0].abspath(),task.outputs[0].abspath())
File "/app/sdk2/Pebble/.waf-1.7.11-39fe48984bffb30c5aa1f6f8e9a9f09a/waflib/extras/generate_appinfo.py", line 72, in generate_appinfo
f.write(PEBBLE_APP_INFO_TEMPLATE.substitute(version_major=version_label_major,version_minor=version_label_minor,name=name,company=company_name,icon_resource_id=icon_resource_id,flags=flags_string,uuid=uuid_initializer_string))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 445: ordinal not in range(128)
Issue by buffcode Monday May 05, 2014 at 21:40 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT Originally opened as https://github.com/pebble/cloudpebble/issues/78
When the company name contains non-ascii characters like german umlauts (ä, ü, ö etc.) the build process fails with the following output.
Support for UTF-8 or do not allow those characters during input.
Setting top to : /tmp/tmpaxZT3D Setting out to : /tmp/tmpaxZT3D/build Checking for program gcc,cc : arm-none-eabi-gcc Checking for program ar : arm-none-eabi-ar Found Pebble SDK in : /app/sdk2/Pebble 'configure' finished successfully (0.053s) Waf: Entering directory
/tmp/tmpaxZT3D/build' [ 1/21] appinfo.auto.c: appinfo.json -> build/appinfo.auto.c Waf: Leaving directory
/tmp/tmpaxZT3D/build' Build failed Traceback (most recent call last): File "/app/sdk2/Pebble/.waf-1.7.11-39fe48984bffb30c5aa1f6f8e9a9f09a/waflib/Task.py", line 123, in process ret=self.run() File "/app/sdk2/Pebble/.waf-1.7.11-39fe48984bffb30c5aa1f6f8e9a9f09a/waflib/Task.py", line 47, in run return m1(self) File "/app/sdk2/Pebble/.waf-1.7.11-39fe48984bffb30c5aa1f6f8e9a9f09a/waflib/extras/pebble_sdk.py", line 58, in _generate_appinfo_c_file_rule generate_appinfo.generate_appinfo(task.inputs[0].abspath(),task.outputs[0].abspath()) File "/app/sdk2/Pebble/.waf-1.7.11-39fe48984bffb30c5aa1f6f8e9a9f09a/waflib/extras/generate_appinfo.py", line 72, in generate_appinfo f.write(PEBBLE_APP_INFO_TEMPLATE.substitute(version_major=version_label_major,version_minor=version_label_minor,name=name,company=company_name,icon_resource_id=icon_resource_id,flags=flags_string,uuid=uuid_initializer_string)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 445: ordinal not in range(128)[ERROR ] out of pty devices