[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2590: GET /operations/$HANDLE?output=json is not JSON

Tahoe-LAFS trac at tahoe-lafs.org
Wed Dec 2 02:33:48 UTC 2015


#2590: GET /operations/$HANDLE?output=json is not JSON
-------------------------------+---------------------------
 Reporter:  daira              |          Owner:
     Type:  defect             |         Status:  new
 Priority:  normal             |      Milestone:  undecided
Component:  code-frontend-web  |        Version:  1.10.1
 Keywords:  error webapi json  |  Launchpad Bug:
-------------------------------+---------------------------
 I started a deep-check over the web API and set an ophandle
 (!96a1be642bfeed6d).

 When I try to get a status with:
 {{{
 curl -X GET -d "output=json"
 http://127.0.0.1:3456/operations/96a1be642bfeed6d
 }}}
 The output format is not JSON like expected.

 There is always a raw output:
 {{{
 Content-Type: text/plain;charset=utf-8
 Server: TwistedWeb/15.4.0

 UnrecoverableFileError: the directory (or mutable file) could not be
 retrieved, because there were insufficient good shares. This might
 indicate that no servers were connected, insufficient servers were
 connected, the URI was corrupt, or that shares have been lost due to
 server departure, hard drive failure, or disk corruption. You should
 perform a filecheck on this object to learn more.
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2590>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list