
Traceback (most recent call last):


 "/opt/Anaconda3/envs/py2/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>

main()


 "/opt/Anaconda3/envs/py2/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main

json_out['return_val'] = hook(**hook_input['kwargs'])


 "/opt/Anaconda3/envs/py2/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel

return hook(config_settings)


 "/tmp/pip-build-env-Md_yKd/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel

return self._get_build_requires(config_settings, requirements=['wheel'])


 "/tmp/pip-build-env-Md_yKd/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires

self.run_setup()


 "/tmp/pip-build-env-Md_yKd/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 243, in run_setup

self).run_setup(setup_script=setup_script)


 "/tmp/pip-build-env-Md_yKd/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 142, in run_setup

exec(compile(code, __file__, 'exec'), locals())


 "setup.py", line 448, in <module>

main()


 "setup.py", line 99, in main

% {"ext": re.escape(sysconfig.get_config_var("EXT_SUFFIX"))}


 "/opt/Anaconda3/envs/py2/lib/python2.7/re.py", line 210, in escape

s = list(pattern)

TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):


 "/usr/bin/hardcode-tray", line 121, in <module>

App.execute()


 "/usr/lib/python3.6/site-packages/HardcodeTray/app.py", line 120, in execute

delta = app.do_action(action)


 "/usr/lib/python3.6/site-packages/HardcodeTray/modules/applications/application.py", line 148, in do_action

self.install()


 "/usr/lib/python3.6/site-packages/HardcodeTray/decorators.py", line 58, in wrapper

func(app)


 "/usr/lib/python3.6/site-packages/HardcodeTray/modules/applications/application.py", line 96, in install

self.execute(Action.APPLY)


 "/usr/lib/python3.6/site-packages/HardcodeTray/modules/applications/helpers/binary.py", line 50, in execute

self.install_icon(icon, icon_path)


 "/usr/lib/python3.6/site-packages/HardcodeTray/modules/applications/electron.py", line 41, in install_icon

self.set_icon(icon, icon_path, png_bytes, True)


 "/usr/lib/python3.6/site-packages/HardcodeTray/modules/applications/electron.py", line 66, in set_icon

asar.write(icon_to_replace, png_bytes)


 "/usr/lib/python3.6/site-packages/HardcodeTray/modules/applications/helpers/asar.py", line 106, in write

new_files = change_dict_vals(self._header, sizediff, offset0)


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in change_dict_vals

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in <dictcomp>

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in change_dict_vals

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in <dictcomp>

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in change_dict_vals

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in <dictcomp>

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in change_dict_vals

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in <dictcomp>

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in change_dict_vals

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 244, in <dictcomp>

d2 = {k: change_dict_vals(v, sizediff, offset) for k, v in d.items()}


 "/usr/lib/python3.6/site-packages/HardcodeTray/utils.py", line 245, in change_dict_vals

if d2.get('offset') and int(d2.get('offset')) > offset:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'dict'
