[tahoe-dev] [tahoe-lafs] #329: dirnodes could cache encrypted/serialized entries for speed

tahoe-lafs trac at allmydata.org
Thu Jul 2 03:15:09 UTC 2009


#329: dirnodes could cache encrypted/serialized entries for speed
---------------------------+------------------------------------------------
 Reporter:  warner         |           Owner:  kevan    
     Type:  enhancement    |          Status:  new      
 Priority:  minor          |       Milestone:  undecided
Component:  code-dirnodes  |         Version:  0.8.0    
 Keywords:  dirnode        |   Launchpad_bug:           
---------------------------+------------------------------------------------

Comment(by zooko):

 The way to do that is to set the {{{PYTHONPATH}}} environment variable
 before invoking the {{{python}}} interpreter.  There are some hacks
 (mostly due to setuptools, I think) that need to run at interpreter
 startup time and learn about the available Python packages, so adding to
 your {{{sys.path}}} after interpreter startup won't work.

 It was a good idea though.

 If you can't or don't want to set your {{{PYTHONPATH}}}, then you'll need
 to find the {{{foolscap}}} package, probably in {{{/path-to-
 tahoe/tahoe/support/lib/python2.6/site-
 packages/foolscap-0.4.2-py2.6.egg}}}, and add that whole path (including
 the {{{thing.egg}}} part) to your {{{sys.path}}}, and then do likewise
 with the other packages.

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/329#comment:8>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list