Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #1800 (closed)

Opened 14 years ago

Closed 14 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)

TableStringExample.java (5.5 KB) - added by bwzloranger 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by bwzloranger

comment:1 Changed 14 years ago by jmoore

  • Milestone changed from Unscheduled to OMERO-Beta4.2
  • Resolution set to fixed
  • Status changed from new to closed

r6114 has a fix. Padding your strings should no longer be necessary, Brian.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.62932 sec.)

We're Hiring!