What steps will reproduce the problem? 1. Save a dicom file created from scratch 2. 3. What is the expected output? What do you see instead? dicom/filewriter.py", line 48, in write_numbers
raise IOError("{0}\nfor data_element:\n{1}".format(str(e), str(data_elemesnt)))
NameError: global name 'data_elemesnt' is not defined
What version of the product are you using? '0.9.8' _NOTE_: any text or attached files posted with the issue can be viewed by anyone. You are solely responsible to ensure that they contain no confidential information of any kind. Please provide any additional information below. I corrected directly the line in my package and it works.
the new line should be:
From paul.mor...@gmail.com on April 03, 2014 17:34:02
What steps will reproduce the problem? 1. Save a dicom file created from scratch 2. 3. What is the expected output? What do you see instead? dicom/filewriter.py", line 48, in write_numbers raise IOError("{0}\nfor data_element:\n{1}".format(str(e), str(data_elemesnt))) NameError: global name 'data_elemesnt' is not defined
What version of the product are you using? '0.9.8' _NOTE_: any text or attached files posted with the issue can be viewed by anyone. You are solely responsible to ensure that they contain no confidential information of any kind. Please provide any additional information below. I corrected directly the line in my package and it works. the new line should be:
raise IOError("{0}\nfor data_element:\n{1}".format(str(e), str(data_element)))
Original issue: http://code.google.com/p/pydicom/issues/detail?id=140