Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omero.table issues #129

Open
dominikl opened this issue Jul 15, 2021 · 1 comment
Open

Omero.table issues #129

dominikl opened this issue Jul 15, 2021 · 1 comment

Comments

@dominikl
Copy link
Member

Not sure if omero-server repository is the right place, move if necessary.

Some issues with Omero.tables:

Caused by: omero.InternalException
    serverStackTrace = "Traceback (most recent call last):
                          File "/home/omero/workspace/OMERO-server/.venv3/lib64/python3.6/site-packages/omero/util/decorators.py", line 69, in exc_handler
                            rv = func(*args, **kwargs)
                          File "/home/omero/workspace/OMERO-server/.venv3/lib64/python3.6/site-packages/omero/util/decorators.py", line 29, in handler
                            return func(*args, **kwargs)
                          File "/home/omero/workspace/OMERO-server/.venv3/lib64/python3.6/site-packages/omero/tables.py", line 274, in initialize
                            self.storage.initialize(cols)
                          File "/home/omero/workspace/OMERO-server/.venv3/lib64/python3.6/site-packages/omero/util/decorators.py", line 91, in with_lock
                            return func(*args, **kwargs)
                          File "/home/omero/workspace/OMERO-server/.venv3/lib64/python3.6/site-packages/omero/hdfstorageV2.py", line 94, in flush_after
                            return func(*args, **kwargs)
                          File "/home/omero/workspace/OMERO-server/.venv3/lib64/python3.6/site-packages/omero/hdfstorageV2.py", line 366, in initialize
                            self.__definition = columns2definition(cols)
                          File "/home/omero/workspace/OMERO-server/.venv3/lib64/python3.6/site-packages/omero/columns.py", line 50, in columns2definition
                            instance = column.descriptor(pos=i)
                        AttributeError: 'DatasetColumn' object has no attribute 'descriptor'
                        "
@joshmoore
Copy link
Member

Think the current questions can be on omero-py.

  • Why is there a DoubleColumn, but no FloatColumn (but there is a FloatArrayColumn)?

Pretty sure this is because when mixing Java/Python/PostgreSQL data types there was no use with one of the column types. Everything got converted somewhere to the maximal width.

  • Trying to create a Table with DatasetColumn I get:

Seems like a pretty straight-forward bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants