[tahoe-dev] [mm] Another FUSE interface

Ben Laurie ben at links.org
Thu May 1 14:43:30 PDT 2008


zooko wrote:
> On May 1, 2008, at 2:09 AM, Ben Laurie wrote:
> 
>> Its a drag that these URLs do not survive email very well!
> 
> Yes.  We have a scheme to make URLs that are nice and small and don't  
> have funny characters like "%" that e-mail agents feel okay breaking  
> on.  This scheme involves elliptic curve cryptography.  See ticket #217.
> 
>> So, once more, I try to list the directory, and I get:
>>
>> $ bin/tahoe ls
>> --dir-cap=URI:DIR2-RO:pgj2oefhipe2uzulz7kyvyfcbe: 
>> 7xoalidet7oignxsnhra77ez7qxh6ro5humhumncabv4cghdkc2q
>> http://127.0.0.1:8124/uri/URI%3ADIR2-RO%3Apgj2oefhipe2uzulz7kyvyfcbe 
>> %3A7xoalidet7oignxsnhra77ez7qxh6ro5humhumncabv4cghdkc2q/?t=json
>> Traceback (most recent call last):
> ...
>>    File
>> "/disk1.1/usr/home/ben/darcs-work/tahoe/support/lib/python2.5/site- 
>> packages/simplejson-1.7.3-py2.5-freebsd-6.3-STABLE-i386.egg/ 
>> simplejson/decoder.py",
>> line 251, in decode
>>      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>>    File
>> "/disk1.1/usr/home/ben/darcs-work/tahoe/support/lib/python2.5/site- 
>> packages/simplejson-1.7.3-py2.5-freebsd-6.3-STABLE-i386.egg/ 
>> simplejson/decoder.py",
>> line 270, in raw_decode
>>      raise ValueError("No JSON object could be decoded")
>> ValueError: No JSON object could be decoded
> 
> Sigh.  This is yet another "shallow" user interface bug.  I just  
> created a ticket for it: #401 (command-line: tahoe ls's way of saying  
> "No such file or directory" leaves something to be desired).
> 
> If you run "bin/tahoe ls --dir-cap=URI:DIR2- 
> RO:pgj2oefhipe2uzulz7kyvyfcbe: 
> 7xoalidet7oignxsnhra77ez7qxh6ro5humhumncabv4cghdkc2q" you will find  
> what you seek.

Err. That's what I did run, surely?

> 
> Somebody who loves command-line interfaces and starts closing these  
> tickets will be a hero:
> 
> http://allmydata.org/trac/tahoe/report/23 # the tickets with  
> component = "code-frontend-cli".
> 
> (Note: no patches accepted without unit tests and documentation.)
> 
> Regards,
> 
> Zooko
> 
> Tickets mentioned in this e-mail:
> 
> http://allmydata.org/trac/tahoe/ticket/217 # DSA-based mutable files  
> -- small URLs, fast file creation
> http://allmydata.org/trac/tahoe/ticket/401 # command-line: tahoe ls's  
> way of saying "No such file or directory" leaves something to be desired
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at allmydata.org
> http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev
> 
> 


-- 
http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff


More information about the tahoe-dev mailing list