Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #12439 (new)

Opened 7 years ago

Last modified 5 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.



2014-07-01 12:40:32,414 INFO  [] (erver-1131)  Meth:    interface ome.api.IRepositoryInfo.getFreeSpaceInKilobytes
2014-07-01 12:40:32,414 INFO  [] (erver-1131)  Args:    ()
2014-07-01 12:40:32,425 INFO  [] (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 ~[server.jar:na]
        at ome.logic.RepositoryInfoImpl.getFreeSpaceInKilobytes( ~[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 6 years ago by jamoore

  • Milestone changed from 5.1.0 to 5.1.1

comment:2 Changed 6 years ago by jamoore

  • Milestone changed from 5.1.1 to 5.x

this is likely waiting for a Java bump, no?

comment:3 Changed 6 years ago by mtbcarroll

Java 7 gives us java.nio.file.FileStore.getUsableSpace() but even in Java 6 we could probably use

comment:4 Changed 5 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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.95550 sec.)

We're Hiring!