Bug #1800 (closed)
Opened 15 years ago
Closed 15 years ago
OMERO.tables failing on string column saves.
Reported by: | bwzloranger | Owned by: | jamoore |
---|---|---|---|
Priority: | blocker | Cc: | |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
OMERO.tables is generating a server side error message while trying to save String Table columns. (Sample code attached).
serverExceptionClass = "" message = "Internal exception" at ome.formats.importer.gui.TableStringExample.addBaseTableRow(TableStringExample.java:121) at ome.formats.importer.gui.TableStringExample.main(TableStringExample.java:148) Caused by: omero.InternalException serverStackTrace = "Traceback (most recent call last): File "/home/jboss/OMERO.server-Beta-4.2.0-DEV-r6101-b2847/lib/python/omero/util/decorators.py", line 59, in exc_handler rv = func(*args, **kwargs) File "/home/jboss/OMERO.server-Beta-4.2.0-DEV-r6101-b2847/lib/python/omero/util/decorators.py", line 28, in handler return func(*args, **kwargs) File "/home/jboss/OMERO.server-Beta-4.2.0-DEV-r6101-b2847/lib/python/omero/tables.py", line 544, in addData self.storage.append(cols) File "/home/jboss/OMERO.server-Beta-4.2.0-DEV-r6101-b2847/lib/python/omero/util/decorators.py", line 81, in with_lock return func(*args, **kwargs) File "/home/jboss/OMERO.server-Beta-4.2.0-DEV-r6101-b2847/lib/python/omero/tables.py", line 322, in append self.__mea.append(records) File "/usr/lib64/python2.5/site-packages/tables-2.1.2-py2.5-linux-x86_64.egg/tables/table.py", line 1815, in append "rows parameter cannot be converted into a recarray object compliant with table '%s'. The error was: <%s>" % (str(self), exc) ValueError: rows parameter cannot be converted into a recarray object compliant with table '/OME/Measurements (Table(1,)) '''. The error was: <new type not compatible with array.> "
Attachments (1)
Change History (2)
Changed 15 years ago by bwzloranger
comment:1 Changed 15 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4.2
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
r6114 has a fix. Padding your strings should no longer be necessary, Brian.