Problem using cleanse
Posted: Thu May 19, 2016 8:49 am
When running the cleanse command I get the following error:
Looking at the blitzlog
I have removed these files in omero but I get the same message with other images. What could be wrong and how can I solve this?
thx in advance.
Best,
Raf
- Code: Select all
Created session 5bceb0dd-4196-4b41-b15f-3a920ffc357b (root@localhost:4064). Idle timeout: 10 min. Current group: system
Traceback (most recent call last):
File "OMERO.server/bin/omero", line 125, in <module>
rv = omero.cli.argv()
File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 1432, in argv
cli.invoke(args[1:])
File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 946, in invoke
stop = self.onecmd(line, previous_args)
File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 1023, in onecmd
self.execute(line, previous_args)
File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 1105, in execute
args.func(args)
File "/home/omero/OMERO.server/lib/python/omero/plugins/admin.py", line 1764, in cleanse
dry_run=args.dry_run)
File "/home/omero/OMERO.server/lib/python/omero/util/cleanse.py", line 242, in cleanse
delete_empty_dirs(proxy, root, client, dry_run)
File "/home/omero/OMERO.server/lib/python/omero/util/cleanse.py", line 250, in delete_empty_dirs
is_empty_dir(repo, '/', False, to_delete)
File "/home/omero/OMERO.server/lib/python/omero/util/cleanse.py", line 277, in is_empty_dir
for entry in repo.listFiles(directory):
AttributeError: 'NoneType' object has no attribute 'listFiles'
Looking at the blitzlog
- Code: Select all
2016-05-18 14:39:21,975 INFO [ ome.services.util.ServiceHandler] (.Server-44) Args: [null, InternalSF@509749142]
2016-05-18 14:39:21,975 INFO [ ome.security.basic.BasicEventContext] (.Server-44) cctx: group=-1
2016-05-18 14:39:21,977 INFO [ ome.security.basic.EventHandler] (.Server-44) Auth: user=0,group=-1,event=null(User),sess=bd8056d6-3ac6-4a76-923f-dae038c3d97a
2016-05-18 14:39:21,987 INFO [ org.perf4j.TimingLogger] (.Server-44) start[1463575161975] time[12] tag[omero.call.success.ome.services.blitz.repo.RepositoryDaoImpl$7.doWork]
2016-05-18 14:39:21,987 INFO [ ome.services.util.ServiceHandler] (.Server-44) Rslt: (ome.model.core.OriginalFile:Id_503)
2016-05-18 14:39:21,993 INFO [ ome.services.util.ServiceHandler] (.Server-41) Executor.doWork -- ome.services.blitz.repo.RepositoryDaoImpl.getOriginalFiles[737c34e2-91e1-4daa-b4b3-b16c5b6400b8, CheckedPath(GBW.GS.ISPAMM.PAVE/u0083649/2016-01/29/14-57-58.145)]
2016-05-18 14:39:21,993 INFO [ ome.services.util.ServiceHandler] (.Server-41) Args: [null, InternalSF@509749142]
2016-05-18 14:39:21,993 INFO [ ome.security.basic.BasicEventContext] (.Server-41) cctx: group=-1
2016-05-18 14:39:21,995 INFO [ ome.security.basic.EventHandler] (.Server-41) Auth: user=0,group=-1,event=null(User),sess=bd8056d6-3ac6-4a76-923f-dae038c3d97a
2016-05-18 14:39:22,006 INFO [ org.perf4j.TimingLogger] (.Server-41) start[1463575161993] time[13] tag[omero.call.success.ome.services.blitz.repo.RepositoryDaoImpl$7.doWork]
2016-05-18 14:39:22,006 INFO [ ome.services.util.ServiceHandler] (.Server-41) Rslt: (ome.model.core.OriginalFile:Id_506)
2016-05-18 14:39:22,012 INFO [ ome.services.util.ServiceHandler] (.Server-42) Executor.doWork -- ome.services.blitz.repo.RepositoryDaoImpl.getOriginalFiles[737c34e2-91e1-4daa-b4b3-b16c5b6400b8, CheckedPath(GBW.GS.ISPAMM.PAVE/u0083649/2016-01/29/14-59-09.678)]
2016-05-18 14:39:22,013 INFO [ ome.services.util.ServiceHandler] (.Server-42) Args: [null, InternalSF@509749142]
2016-05-18 14:39:22,013 INFO [ ome.security.basic.BasicEventContext] (.Server-42) cctx: group=-1
2016-05-18 14:39:22,015 INFO [ ome.security.basic.EventHandler] (.Server-42) Auth: user=0,group=-1,event=null(User),sess=bd8056d6-3ac6-4a76-923f-dae038c3d97a
2016-05-18 14:39:22,026 INFO [ org.perf4j.TimingLogger] (.Server-42) start[1463575162013] time[13] tag[omero.call.success.ome.services.blitz.repo.RepositoryDaoImpl$7.doWork]
2016-05-18 14:39:22,026 INFO [ ome.services.util.ServiceHandler] (.Server-42) Rslt: (ome.model.core.OriginalFile:Id_509)
2016-05-18 14:39:22,031 INFO [ ome.services.util.ServiceHandler] (.Server-43) Executor.doWork -- ome.services.blitz.repo.RepositoryDaoImpl.getOriginalFiles[737c34e2-91e1-4daa-b4b3-b16c5b6400b8, CheckedPath(GBW.GS.ISPAMM.PAVE/u0083649/2016-01/29/15-00-31.758)]
2016-05-18 14:39:22,031 INFO [ ome.services.util.ServiceHandler] (.Server-43) Args: [null, InternalSF@509749142]
2016-05-18 14:39:22,031 INFO [ ome.security.basic.BasicEventContext] (.Server-43) cctx: group=-1
2016-05-18 14:39:22,033 INFO [ ome.security.basic.EventHandler] (.Server-43) Auth: user=0,group=-1,event=null(User),sess=bd8056d6-3ac6-4a76-923f-dae038c3d97a
2016-05-18 14:39:22,043 INFO [ org.perf4j.TimingLogger] (.Server-43) start[1463575162031] time[12] tag[omero.call.success.ome.services.blitz.repo.RepositoryDaoImpl$7.doWork]
2016-05-18 14:39:22,043 INFO [ ome.services.util.ServiceHandler] (.Server-43) Rslt: (ome.model.core.OriginalFile:Id_514)
2016-05-18 14:39:22,049 INFO [o.services.sessions.SessionContext$Count] (.Server-38) -Reference count: bd8056d6-3ac6-4a76-923f-dae038c3d97a=0
2016-05-18 14:39:22,049 INFO [ omero.cmd.SessionI] (.Server-38) cleanupSelf(ServiceFactoryI(session-1d179471-199a-4171-8572-ae68392d9a18/bd8056d6-3ac6-4a76-923f-dae038c3d97a)).
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Unregistered servant:bd8056d6-3ac6-4a76-923f-dae038c3d97a/1d179471-199a-4171-8572-ae68392d9a18omero.api.IAdmin(omero.api._IAdminTie@433b4a88)
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Removed servant from adapter: 1d179471-199a-4171-8572-ae68392d9a18omero.api.IAdmin
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Unregistered servant:bd8056d6-3ac6-4a76-923f-dae038c3d97a/1d179471-199a-4171-8572-ae68392d9a18omero.api.IQuery(omero.api._IQueryTie@25904424)
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Removed servant from adapter: 1d179471-199a-4171-8572-ae68392d9a18omero.api.IQuery
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Unregistered servant:bd8056d6-3ac6-4a76-923f-dae038c3d97a/1d179471-199a-4171-8572-ae68392d9a18omero.api.IConfig(omero.api._IConfigTie@36940777)
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Removed servant from adapter: 1d179471-199a-4171-8572-ae68392d9a18omero.api.IConfig
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Unregistered servant:bd8056d6-3ac6-4a76-923f-dae038c3d97a/1d179471-199a-4171-8572-ae68392d9a18omero.grid.SharedResources(omero.grid._SharedResourcesTie@83718b4e)
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Removed servant from adapter: 1d179471-199a-4171-8572-ae68392d9a18omero.grid.SharedResources
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Unregistered servant:bd8056d6-3ac6-4a76-923f-dae038c3d97a/1d179471-199a-4171-8572-ae68392d9a18omero.api.ISession(omero.api._ISessionTie@4748c27c)
2016-05-18 14:39:22,050 INFO [ omero.cmd.SessionI] (.Server-38) Removed servant from adapter: 1d179471-199a-4171-8572-ae68392d9a18omero.api.ISession
2016-05-18 14:39:25,276 INFO [ ome.services.blitz.fire.SessionManagerI] (.Server-46) Found session locally: 894b7b3b-fdd2-47c5-8bb0-55f62f932868
2016-05-18 14:39:25,277 INFO [ ome.services.blitz.fire.SessionManagerI] (.Server-46) Rejoining session ServiceFactoryI(session-24c03ed2-b9d8-4c33-bb7a-668c671e5bb3/894b7b3b-fdd2-47c5-8bb0-55f62f932868) (agent=OMERO.web)
2016-05-18 14:39:25,282 INFO [o.services.sessions.SessionContext$Count] (.Server-41) -Reference count: 894b7b3b-fdd2-47c5-8bb0-55f62f932868=0
2016-05-18 14:39:25,282 INFO [ omero.cmd.SessionI] (.Server-41) cleanupSelf(ServiceFactoryI(session-24c03ed2-b9d8-4c33-bb7a-668c671e5bb3/894b7b3b-fdd2-47c5-8bb0-55f62f932868)).
I have removed these files in omero but I get the same message with other images. What could be wrong and how can I solve this?
thx in advance.
Best,
Raf