[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1836: use leasedb (not crawler) to figure out how many shares you have and how many bytes

Tahoe-LAFS trac at tahoe-lafs.org
Mon May 5 17:07:00 UTC 2014


#1836: use leasedb (not crawler) to figure out how many shares you have and how
many bytes
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:  markberger
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  1.12.0
    Component:  code-    |    Version:  1.9.2
  storage                |   Keywords:  leases garbage-collection test-
   Resolution:           |  needed accounting
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by remyroy):

 I'm not sure if you still need the version-and-path but here it is:

 {{{
 allmydata-tahoe: 1.10.0.post171 [HEAD:
 93b727857cc521963d1609a72ae4772c8f0bb1a0] (/home/remyroy/Projects/tahoe-
 lafs/src)
 foolscap: 0.6.4 (/home/remyroy/Projects/tahoe-lafs/support/lib/python2.7
 /site-packages/foolscap-0.6.4-py2.7.egg)
 pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958
 (/home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7
 -linux-x86_64.egg)
 zfec: 1.4.7 (/home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/zfec-1.4.7-py2.7-linux-x86_64.egg)
 Twisted: 11.1.0 (/home/remyroy/Projects/tahoe-lafs/support/lib/python2.7
 /site-packages/Twisted-11.1.0-py2.7-linux-x86_64.egg)
 Nevow: 0.10.0 (/home/remyroy/Projects/tahoe-lafs/support/lib/python2.7
 /site-packages/Nevow-0.10.0-py2.7.egg)
 zope.interface: unknown (/usr/lib/python2.7/dist-packages/zope)
 python: 2.7.6 (/usr/bin/python)
 platform: Linux-Ubuntu_14.04-x86_64-64bit_ELF (None)
 pyOpenSSL: 0.13 (/usr/lib/python2.7/dist-packages)
 simplejson: 3.3.1 (/usr/lib/python2.7/dist-packages)
 pycrypto: 2.6.1 (/usr/lib/python2.7/dist-packages)
 pyasn1: 0.1.7 (/home/remyroy/Projects/tahoe-lafs/support/lib/python2.7
 /site-packages/pyasn1-0.1.7-py2.7.egg)
 mock: 1.0.1 (/home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages)
 txAWS: None [(<type 'exceptions.ImportError'>, 'No module named txaws',
 ('/home/remyroy/Projects/tahoe-lafs/src/allmydata/__init__.py', 196,
 'get_package_versions_and_locations', '__import__(modulename)'))] (None)
 oauth2client: None [(<type 'exceptions.ImportError'>, 'No module named
 oauth2client', ('/home/remyroy/Projects/tahoe-
 lafs/src/allmydata/__init__.py', 196,
 'get_package_versions_and_locations', '__import__(modulename)'))] (None)
 python-dateutil: None [(<type 'exceptions.ImportError'>, 'No module named
 dateutil', ('/home/remyroy/Projects/tahoe-lafs/src/allmydata/__init__.py',
 196, 'get_package_versions_and_locations', '__import__(modulename)'))]
 (None)
 httplib2: 0.8 (/usr/lib/python2.7/dist-packages)
 python-gflags: None [(<type 'exceptions.ImportError'>, 'No module named
 gflags', ('/home/remyroy/Projects/tahoe-lafs/src/allmydata/__init__.py',
 196, 'get_package_versions_and_locations', '__import__(modulename)'))]
 (None)
 setuptools: 0.6c16dev4 (/home/remyroy/Projects/tahoe-
 lafs/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg)

 Warning: dependency 'txaws' (version None imported from None) was not
 found by pkg_resources.
 Warning: dependency 'oauth2client' (version None imported from None) was
 not found by pkg_resources.
 Warning: dependency 'python-dateutil' (version None imported from None)
 was not found by pkg_resources.
 Warning: dependency 'httplib2' (version '0.8' imported from
 '/usr/lib/python2.7/dist-packages') was not found by pkg_resources.
 Warning: dependency 'python-gflags' (version None imported from None) was
 not found by pkg_resources.

 For debugging purposes, the PYTHONPATH was
   '/home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-packages'
 install_requires was
   ['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4',
 'zope.interface == 3.6.0, == 3.6.1, == 3.6.2, >= 3.6.5', 'Twisted >=
 11.0.0', 'foolscap >= 0.6.3', 'pyOpenSSL', 'Nevow >= 0.6.0', 'pycrypto ==
 2.1.0, == 2.3, >= 2.4.1', 'pyasn1 >= 0.0.8a', 'mock >= 0.8.0', 'pycryptopp
 >= 0.6.0']
 sys.path after importing pkg_resources was
   /home/remyroy/Projects/tahoe-lafs/support/bin:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/setuptools-0.6c16dev4.egg:
   /home/remyroy/Projects/tahoe-lafs/src:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7
 -linux-x86_64.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/mock-1.0.1-py2.7.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/pyasn1-0.1.7-py2.7.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/foolscap-0.6.4-py2.7.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/zfec-1.4.7-py2.7-linux-x86_64.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/pyutil-1.9.7-py2.7.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/zbase32-1.1.5-py2.7.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-
 packages/Twisted-11.1.0-py2.7-linux-x86_64.egg:
   /home/remyroy/Projects/tahoe-lafs/support/lib/python2.7/site-packages:
   /usr/lib/python2.7:
   /usr/lib/python2.7/plat-x86_64-linux-gnu:
   /usr/lib/python2.7/lib-tk:
   /usr/lib/python2.7/lib-old:
   /usr/lib/python2.7/lib-dynload:
   /usr/local/lib/python2.7/dist-packages:
   /usr/lib/python2.7/dist-packages:
   /usr/lib/python2.7/dist-packages/PILcompat:
   /usr/lib/python2.7/dist-packages/gtk-2.0:
   /usr/lib/python2.7/dist-packages/ubuntu-sso-client
 }}}

 I was using Twisted 11.1.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1836#comment:25>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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