GE AMX digital mobile image will import but won't export

Issue #127 resolved
Ed McDonagh created an issue

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/", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/celery/app/", line 437, in __protected_call__
    return*args, **kwargs)
  File "/home/ed/research/openrem050b1/lib/python2.7/site-packages/openrem/remapp/exports/", line 391, in dxxlsx
    wsalldata.write_row(row+1,0, examdata)
  File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/xlsxwriter/", line 61, in cell_wrapper
    return method(self, *args, **kwargs)
  File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/xlsxwriter/", 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/", line 61, in cell_wrapper
    return method(self, *args, **kwargs)
  File "/home/ed/research/openrem050b1/local/lib/python2.7/site-packages/xlsxwriter/", 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)

  1. Ed McDonagh 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.

  2. Log in to comment