Preview Tool

Cisco Bug: CSCvj15694 - CMX10.4.1 "cmxctl config maps floors" shows an error if the floor name with multi-byte characters

Last Modified

Aug 27, 2018

Products (1)

  • Cisco Mobility Services Engine

Known Affected Releases


Description (partial)

"cmxctl config maps floors" command shows an error below.
As our analysis, the error happens if the floor name has multi-byte characters.

[cmxadmin@tcmx-1 ~]$ cmxctl config maps floors Traceback (most recent call last):
File "/usr/local/lib/python2.7/", line 162, in _run_module_as_main
  "__main__", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/", line 72, in _run_code
  exec code in run_globals
File "/opt/cmx/sw/lib/pymodules/cmxctl/", line 364, in <module>
File "/usr/local/lib/python2.7/site-packages/click/", line 610, in __call__
  return self.main(*args, **kwargs)
-- snip -- 
File "/usr/local/lib/python2.7/site-packages/click/", line 936, in invoke
  return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/site-packages/click/", line 782, in invoke
  return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python2.7/site-packages/click/", line 416, in invoke
  return callback(*args, **kwargs)
File "/opt/cmx/sw/lib/pymodules/cmxctl/", line 810, in showfloors
  config.printFloors(campus, building, csv) File "/opt/cmx/sw/lib/pymodules/cmxctl/util/", line 757, in printFloors
File "/opt/cmx/sw/lib/pymodules/cmxagent/util/", line 14, in print_pretty_table
File "/opt/cmx/sw/lib/pymodules/cmxagent/util/", line 33, in format_pretty_table
  if len(str(entry)) > column_width[i]:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-25: ordinal not in range(128)

Bug details contain sensitive information and therefore require a account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.