Traceback (most recent call last):


 "./pydcmbug.py", line 7, in <module>

ds.save_as('bort.dcm')


 "C:\Program 
s\Python37\lib\site-packages\pydicom\dataset.py", line 1810, in save_as

pydicom.dcmwrite(filename, self, write_like_original)


 "C:\Program 
s\Python37\lib\site-packages\pydicom\filewriter.py", line 946, in dcmwrite

write_dataset(fp, get_item(dataset, slice(0x00010000, None)))


 "C:\Program 
s\Python37\lib\site-packages\pydicom\filewriter.py", line 555, in write_dataset

write_data_element(fp, dataset.get_item(tag), dataset_encoding)


 "C:\Program 
s\Python37\lib\contextlib.py", line 130, in __exit__

self.gen.throw(type, value, traceback)


 "C:\Program 
s\Python37\lib\site-packages\pydicom\tag.py", line 37, in tag_in_exception

raise type(ex)(msg)
TypeError: With tag (0040, 0275) got exception: a bytes-like object is required, not 'list'

Traceback (most recent call last):


 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\runpy.py", line 192, in _run_module_as_main

return _run_code(code, main_globals, None,


 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\site-packages\jrnl\cli.py", line 216, in run

journal = Journal.open_journal(journal_name, config)


 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\site-packages\jrnl\Journal.py", line 364, in open_journal


return EncryptedJournal.EncryptedJournal(name, **config).open()


 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\site-packages\jrnl\EncryptedJournal.py", line 56, in open


text = self._load(filename)


 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\site-packages\jrnl\EncryptedJournal.py", line 82, in _load



 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\site-packages\jrnl\util.py", line 63, in get_password

password = pwd_from_keychain or getpass()


 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\site-packages\jrnl\util.py", line 56, in getpass


 "c:\users\pawlo\appdata\local\programs\python\python38-32\lib\getpass.py", line 103, in win_getpass

msvcrt.putwch(c)
TypeError: putwch() argument must be a unicode character, not int
