Traceback (most recent call last):


 ".../pydicom/pydicom/tag.py", line 30, in tag_in_exception

yield


 ".../pydicom/pydicom/filewriter.py", line 499, in write_dataset

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


 ".../pydicom/pydicom/filewriter.py", line 440, in write_data_element

writer_function(buffer, data_element, encoding=encoding[0])


 ".../pydicom/pydicom/filewriter.py", line 279, in write_string

if len(val) % 2 != 0:
TypeError: object of type 'int' has no len()

Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: Expected at least 0 arguments (1 given)
