Simon Li

Results 200 issues of Simon Li

https://github.com/ome/omero-py/blob/master/src/omero/util/metadata_utils.py should probably be copied to https://github.com/ome/omero-metadata and the version in this repository deprecated.

Adds a flag so that `BlitzGateway.connect` will always propagate an exception if thrown. The default behaviour remains unchanged: sometimes it'll raise, sometimes it won't.

I just ran this repo though [lgtm from Semmle](https://lgtm.com/). There are 343 possible issues, of which 25 are categorised as errors (at least some of them look like they really...

``` [test@1f99c18b86c3 ~]$ pwd /home/test [test@1f99c18b86c3 ~]$ ls [test@1f99c18b86c3 ~]$ ln -s /opt/omero/server/venv3/bin/omero [test@1f99c18b86c3 ~]$ ./omero login WARNING:omero.util.TempFileManager:Invalid tmp dir: /home/test/omero/tmp Traceback (most recent call last): File "/opt/omero/server/venv3/lib64/python3.6/site-packages/omero/util/temp_files.py", line 178,...

Adds support for creating an OMERO session and Ice services that can be used with [`asyncio`](https://docs.python.org/3.6/library/asyncio.html). - https://github.com/ome/omero-py/commit/00707b7df02f062ceba9328a688682d3acf25b52 creates an exact copy of `createSession` called `createAsyncSession` - https://github.com/ome/omero-py/commit/a6583d0b80aeb38148234f628d5a741af63a8577 modifies `createAsyncSession`...

From https://forum.image.sc/t/error-creating-table-on-local-server-installation/35697 If OMERO.tables is disabled a user trying to use it sees an unhelpful error: ``` omero.InternalException: exception ::omero::InternalException { serverStackTrace = serverExceptionClass = message = null table as...

This was seen on outreach (@pwalczysko) Example of expected behaviour: `Failed to get session on attempt 1`, but suceeded after a retry (total 30s). ``` 2020-01-15 19:08:41,132 INFO [ omero.util.Server]...

``` $ omero script launch script-with-error.py IDs=2016 Using session for ... Job 10810 ready Waiting.... Callback received: FINISHED *** start stderr (id=10563)*** * b'Traceback (most recent call last):\n File "./script",...

https://github.com/ome/omero-py/blob/v5.5.1/src/omero/hdfstorageV2.py#L212 sets the internal PyTables variable `tables.file._FILE_OPEN_POLICY = 'default'` when it should be handled by PyTables: https://github.com/PyTables/PyTables/blob/v.3.2.0/tables/file.py#L215-L219

See https://github.com/ome/omero-web/issues/58 Automatically switching to a different directory if `config.xml` is missing creates confusion. It would be clearer if a missing `OMERODIR` and/or `config.xml` threw an error so a sysadmin...