Task #12439 (new)
Opened 10 years ago
Last modified 9 years ago
Bug: RepositoryInfo broken?
Reported by: | jamoore | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Unscheduled |
Component: | API | Version: | 5.0.2 |
Keywords: | n.a. | Cc: | java@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
From: https://www.openmicroscopy.org/qa2/qa/feedback/9391/
i._IRepositoryInfoTie@aa39b92f) 2014-07-01 12:40:32,414 INFO [ ome.services.util.ServiceHandler] (erver-1131) Meth: interface ome.api.IRepositoryInfo.getFreeSpaceInKilobytes 2014-07-01 12:40:32,414 INFO [ ome.services.util.ServiceHandler] (erver-1131) Args: () 2014-07-01 12:40:32,425 INFO [ ome.security.basic.EventHandler] (erver-1131) Auth: user=52,group=53,event=4297259(User),sess=6216171c-ce19-4dd8-a016-154754543819 2014-07-01 12:40:32,451 ERROR [ ome.logic.RepositoryInfoImpl] (erver-1131) Error retrieving usage in KB. java.lang.RuntimeException: Command line returned OS error code '1' for command [df, -k, /OMERO/] at ome.tools.FileSystem.free(FileSystem.java:91) ~[server.jar:na] at ome.logic.RepositoryInfoImpl.getFreeSpaceInKilobytes(RepositoryInfoImpl.java:161) ~[server.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60]
IRepositoryInfo may either be completely broken or only on some platforms. If it's not fixable, it may should be removed in 5.1
Change History (4)
comment:1 Changed 10 years ago by jamoore
- Milestone changed from 5.1.0 to 5.1.1
comment:2 Changed 9 years ago by jamoore
- Milestone changed from 5.1.1 to 5.x
comment:3 Changed 9 years ago by mtbcarroll
Java 7 gives us java.nio.file.FileStore.getUsableSpace() but even in Java 6 we could probably use java.io.File.getUsableSpace().
comment:4 Changed 9 years ago by jamoore
- Milestone changed from 5.x to Unscheduled
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
this is likely waiting for a Java bump, no?