Traceback (most recent call last):


 "/home/kieran/software/pyOCD/pyocd/__main__.py", line 360, in run

self._COMMANDS[self._args.cmd](self)


 "/home/kieran/software/pyOCD/pyocd/__main__.py", line 622, in do_gdbserver

with session:


 "/home/kieran/software/pyOCD/pyocd/core/session.py", line 299, in __enter__

self.open()


 "/home/kieran/software/pyOCD/pyocd/core/session.py", line 415, in open

self._board.init()


 "/home/kieran/software/pyOCD/pyocd/board/board.py", line 83, in init

self.target.init()


 "/home/kieran/software/pyOCD/pyocd/core/coresight_target.py", line 163, in init

seq.invoke()


 "/home/kieran/software/pyOCD/pyocd/utility/sequencer.py", line 208, in invoke

resultSequence = call()


 "/home/kieran/software/pyOCD/pyocd/core/coresight_target.py", line 230, in create_flash

flmPath = self.session.find_user_file(None, [region.flm])


 "/home/kieran/software/pyOCD/pyocd/core/session.py", line 210, in find_user_file

thisPath = os.path.join(self.project_dir, filename)


 "/usr/lib/python3.6/posixpath.py", line 94, in join

genericpath._check_arg_types('join', a, *p)


 "/usr/lib/python3.6/genericpath.py", line 149, in _check_arg_types

(funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'PackFlashAlgo'

Traceback (most recent call last):


 "c:\users\luca\appdata\local\programs\python\python35\lib\site-packages\PyInstaller\depend\bindepend.py", line 695, in getImports

return _getImports_pe(pth)


 "c:\users\luca\appdata\local\programs\python\python35\lib\site-packages\PyInstaller\depend\bindepend.py", line 122, in _getImports_pe

dll, _ = sym.forwarder.split('.')
TypeError: a bytes-like object is required, not 'str'
