Changes between Initial Version and Version 1 of Ticket #1799


Ignore:
Timestamp:
2012-08-31T15:06:29Z (12 years ago)
Author:
davidsarah
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1799 – Description

    initial v1  
    1 darrob: hello again. i have a python program that runs tahoe repair operations using urllib and parses tahoe's json responses. this works very well except for one thing: if a file is gone and i attempt a repair, the resulting NotEnoughSharesError is not presented as json data but plaintext (a check without repair responds in json, however).
     1> darrob: hello again. i have a python program that runs tahoe repair operations using urllib and parses tahoe's json responses. this works very well except for one thing: if a file is gone and i attempt a repair, the resulting NotEnoughSharesError is not presented as json data but plaintext (a check without repair responds in json, however).
    22
    3 darrob: am i missing something on tahoe's side that i can do about it? if not, are there other error messages like this that i should be aware of before i adapt the program?
     3> darrob: am i missing something on tahoe's side that i can do about it? if not, are there other error messages like this that i should be aware of before i adapt the program?
    44
    55We need to document how to distinguish exceptions (I *think* valid JSON always starts with a "{" or "[" character).