cutright / DVH-Analytics

A DICOM Database Application for Radiation Oncology
Other
82 stars 30 forks source link

MANIFEST.in missing TG263_Nomenclature_Worksheet_20170815.csv #91

Closed SotiriStathakis closed 4 years ago

SotiriStathakis commented 4 years ago

Hi @cutright

I have installed DVHanalytics on a mac and I am getting the errors below. Can you please let me know what I am missing? Thanks

===================== ERROR: Unhandled exception: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/dvha/main.py", line 1196, in OnInit self.frame = DVHAMainFrame(None, wx.ID_ANY, "") File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/dvha/main.py", line 145, in init self.roi_map = DatabaseROIs() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/dvha/tools/roi_name_manager.py", line 226, in init self.import_from_file() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/dvha/tools/roi_name_manager.py", line 243, in import_from_file self.import_physician_roi_maps() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/dvha/tools/roi_name_manager.py", line 259, in import_physician_roi_maps self.import_physician_roi_map(abs_file_path, physician) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/dvha/tools/roi_name_manager.py", line 273, in import_physician_roi_map for line in document: File "/usr/local/bin/../../../Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 2982: invalid start byte

OnInit returned false, exiting...

cutright commented 4 years ago

I'm not 100% sure, but I seem to recall python 3.8 having a conflict with something. I think something changed with the framework (Tk/Tcl).

Can you try again with python 3.7?

SotiriStathakis commented 4 years ago

Hi,

Thanks for the advice. I looked closely to the error. We figured out that the TG263xxxx.csv file was missing from the site specific libraries. I copied it and everything worked.

I am not sure why that happened.

I will keep you posted if anything else comes up

Best Regards,

Sotiri Stathakis, PhD, DABR

On Aug 31, 2020, at 4:30 PM, Dan Cutright notifications@github.com wrote:



I'm not 100% sure, but I seem to recall python 3.8 having a conflict with something. I think something changed with the framework (Tk/Tcl).

Can you try again with python 3.7?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcutright%2FDVH-Analytics%2Fissues%2F91%23issuecomment-684051959&data=02%7C01%7C%7C653de7e69f3948a9966908d84df51a4d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637345062380565947&sdata=4YogrF1RKUH6oRMtWmlDajr2DI0XJqL3O8xT9WXgNJc%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMVYLWUJHH6LLDX7JPXCIUDSDQI7XANCNFSM4QQ6U4BA&data=02%7C01%7C%7C653de7e69f3948a9966908d84df51a4d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637345062380575942&sdata=iUICpUWorOC%2Bep419%2FmE28fWRMR5p14D1jGI19tbtz8%3D&reserved=0.

cutright commented 4 years ago

Oh man, I'm really sorry about that. MANIFEST.in needs to be updated to include the file. DVHA users using the executable (rather than from source) didn't have this issues since a different file determines what is included.

I'll push a fix tonight. Thanks.

cutright commented 4 years ago

Issue was reproduced running dvha after a pip install dvha

Issue resolved as of v0.8.4.post1