Page 1 of 1

Deleting images not working

PostPosted: Fri Sep 25, 2015 5:09 pm
by RickB
We have a user who accidentally imported duplicate images. Attempts to delete the images (ndpi and jpg) fail - In the web client the delete operation appears to succeed, but when the data view is refreshed the images are still in place. In the Insight client the Activities window appears, the delete jobs looks like it's running, but never completes... Omero 5.1.2 ice35-b45

Re: Deleting images not working

PostPosted: Fri Sep 25, 2015 5:29 pm
by manics
Hi Rick

Could you try deleting the objects using the omero CLI: https://www.openmicroscopy.org/site/sup ... elete.html

Include --report (and optionally --dry-run) and paste any messages you see here. Could you also post the usual server logs, especially your Blitz-0.log after attempting the delete?

Thanks, Simon

Re: Deleting images not working

PostPosted: Fri Sep 25, 2015 10:27 pm
by RickB
Thanks Simon, omero delete seems to hang forever, when killed with ctrl-c I get this:


-bash-4.1$ bin/omero delete Image:13327 --report
Using session acf7e237-c764-4813-a631-fb8c4669223b (root@localhost:4064). Idle timeout: 10 min. Current group: Shopland Lab
^CAttempting cancel...
Cancelled
omero.cmd.Delete2 Image 13327... ok
Traceback (most recent call last):
File "bin/omero", line 125, in <module>
rv = omero.cli.argv()
File "/local/omerouser/OMERO.server-5.1.2-ice34-b45/lib/python/omero/cli.py", line 1431, in argv
cli.invoke(args[1:])
File "/local/omerouser/OMERO.server-5.1.2-ice34-b45/lib/python/omero/cli.py", line 945, in invoke
stop = self.onecmd(line, previous_args)
File "/local/omerouser/OMERO.server-5.1.2-ice34-b45/lib/python/omero/cli.py", line 1022, in onecmd
self.execute(line, previous_args)
File "/local/omerouser/OMERO.server-5.1.2-ice34-b45/lib/python/omero/cli.py", line 1104, in execute
args.func(args)
File "/local/omerouser/OMERO.server-5.1.2-ice34-b45/lib/python/omero/cli.py", line 1751, in main_method
self._process_request(cmd, args, client)
File "/local/omerouser/OMERO.server-5.1.2-ice34-b45/lib/python/omero/cli.py", line 1531, in _process_request
self.print_report(req, rsp, status, args.report)
File "/local/omerouser/OMERO.server-5.1.2-ice34-b45/lib/python/omero/cli.py", line 1567, in print_report
self.ctx.out("Steps: %s" % status.steps)
AttributeError: 'NoneType' object has no attribute 'steps'



I've uploaded our blitz log (tjl-blitzlog.tgz) to http://qa.openmicroscopy.org.uk/qa/upload/ just now...

Thanks once again...

Re: Deleting images not working

PostPosted: Mon Sep 28, 2015 10:44 am
by jmoore
Hi Rick,

I don't see anything particularly obvious in your log file. How many minutes did you wait for the delete before hitting Ctrl-C?

The error due to the `--report` argument is likely fixed in OMERO 5.1.3, though OMERO 5.1.4 is coming out today if you could re-try the delete after upgrading.

Cheers,
~Josh.