- edited description
GE AMX digital mobile image will import but won't export
Issue #127
resolved
Tested against just one image. Imported into the database, but on export to xlsx, gets the following error:
[2014-10-28 21:03:51,937: ERROR/MainProcess] Task remapp.exports.dx_export.dxxlsx[0f11b205-7f83-49fc-b80e-0b6465303f72] raised unexpected: TypeError("Unsupported type <class 'remapp.models.Content_item_descriptions'> in write()",) Traceback (most recent call last): File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task R = retval = fun(*args, **kwargs) File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__ return self.run(*args, **kwargs) File "/home/ed/research/openrem050b1/lib/python2.7/site-packages/openrem/remapp/exports/dx_export.py", line 391, in dxxlsx wsalldata.write_row(row+1,0, examdata) File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/xlsxwriter/worksheet.py", line 61, in cell_wrapper return method(self, *args, **kwargs) File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/xlsxwriter/worksheet.py", line 990, in write_row error = self.write(row, col, token, cell_format) File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/xlsxwriter/worksheet.py", line 61, in cell_wrapper return method(self, *args, **kwargs) File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/xlsxwriter/worksheet.py", line 424, in write raise TypeError("Unsupported type %s in write()" % type(token)) TypeError: Unsupported type <class 'remapp.models.Content_item_descriptions'> in write()
Other modalities work fine. Suspect that the difference might be related to the fact that the AMX image is a proper DX IOD, where as the others are the old CR IOD.
Comments (4)
-
reporter -
reporter For information @dplatten.
I'll try and see what is going on if I can this week. Otherwise I'll try and share some AMX images next week.
-
reporter - changed status to resolved
Image view needed wrapping in a str if it was available. Fixes
#127.→ <<cset f66ef7855c2b>>
-
reporter -
assigned issue to
-
assigned issue to
- Log in to comment