We're Hiring!

Deleting images not working

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Deleting images not working

Postby RickB » Fri Sep 25, 2015 5:09 pm

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
RickB
 
Posts: 24
Joined: Sat Jun 27, 2015 11:34 am

Re: Deleting images not working

Postby manics » Fri Sep 25, 2015 5:29 pm

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
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: Deleting images not working

Postby RickB » Fri Sep 25, 2015 10:27 pm

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...
RickB
 
Posts: 24
Joined: Sat Jun 27, 2015 11:34 am

Re: Deleting images not working

Postby jmoore » Mon Sep 28, 2015 10:44 am

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.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest