python-intelhex/intelhex

hexinfo.py script error

mentaal opened this issue · 1 comments

When trying to run hexinfo.py on an intelhex image, I get the following:

File "c:\projects\test\venv\Scripts\hexinfo.py", line 63, in summarize_yaml                                                                                             
    keys.sort()                                                                               
AttributeError: 'dict_keys' object has no attribute 'sort'                                    

> pip show intelhex -v
Name: intelhex
Version: 2.1
Summary: Python Intel Hex library
Home-page: https://pypi.python.org/pypi/IntelHex
Author: Alexander Belchenko
Author-email: alexander.belchenko@gmail.com
License: BSD
Location: c:\projects\test\venv\lib\site-packages
Requires:
Metadata-Version: 2.0
Installer: pip
Classifiers:
  Programming Language :: Python
  Programming Language :: Python :: 2
  Programming Language :: Python :: 3
  Classifier: Development Status :: 5 - Production/Stable
  Classifier: Environment :: Console
  Classifier: Intended Audience :: Developers
  Classifier: Intended Audience :: Telecommunications Industry
  Classifier: License :: OSI Approved :: BSD License
  Classifier: Operating System :: OS Independent
  Classifier: Programming Language :: Python
  Classifier: Topic :: Scientific/Engineering
  Classifier: Topic :: Software Development :: Embedded Systems
  Classifier: Topic :: Utilities
Entry-points:


> python -V
Python 3.5.2 :: Anaconda 4.1.1 (64-bit)

This has now been fixed with a recent merge