[tahoe-dev] some error

erpo41 at gmail.com erpo41 at gmail.com
Sat Jul 7 18:01:49 UTC 2012


I think tahoe should checksum these files when it writes them and then
verify the checksums when it reads them. If the checksum fails, the
executable should just delete them automatically and try again (if this is
the only sensible course of action) or prompt the user whether to delete
them (if there is some option other than deleting them).

Thanks,
Eric
 On Jul 7, 2012 10:35 AM, "Peter Secor" <secorp at gmail.com> wrote:

> Often this is caused by a truncated pickle (state) file which contains
> state information about the node. These can be removed safely (meaning the
> node won't crash or lose functionality) but the state will have to be
> rebuilt, so for example if you are running a lease checker, it will have to
> build that lease state file over again. These files are located in:
>
> <tahoe home>\storage\*.state
>
> Usually there is something like bucket_counter.state and
> lease_checker.state .
>
> Hope this helps,
> Ps
>
> On 7/7/12 9:13 AM, Iantcho Vassilev wrote:
>
>> Hi guys,
>>
>>
>> My electricity crashed my windows machine and now i cannot start Tahoe.
>> Do you have any idea what is the problem?
>>
>> C:\Python26\python.exe X:\tahoe-lafs-tahoe-lafs-**e27423e\bin\tah
>> oe start -d X:\tahoe
>> STARTING 'X:\tahoe'
>> Traceback (most recent call last):
>>    File "X:\tahoe-lafs-tahoe-lafs-**e27423e\support\Lib\site-**
>> packages\twisted-10.1.
>> 0-py2.6-win-amd64.egg\twisted\**application\app.py", line 626, in run
>>      runApp(config)
>>    File "X:\tahoe-lafs-tahoe-lafs-**e27423e\support\Lib\site-**
>> packages\twisted-10.1.
>> 0-py2.6-win-amd64.egg\twisted\**scripts\twistd.py", line 23, in runApp
>>      _SomeApplicationRunner(config)**.run()
>>    File "X:\tahoe-lafs-tahoe-lafs-**e27423e\support\Lib\site-**
>> packages\twisted-10.1.
>> 0-py2.6-win-amd64.egg\twisted\**application\app.py", line 374, in run
>>      self.application = self.createOrGetApplication()
>>    File "X:\tahoe-lafs-tahoe-lafs-**e27423e\support\Lib\site-**
>> packages\twisted-10.1.
>> 0-py2.6-win-amd64.egg\twisted\**application\app.py", line 439, in
>> createOrGetAppli
>> cation
>>      application = getApplication(self.config, passphrase)
>> --- <exception caught here> ---
>>    File "X:\tahoe-lafs-tahoe-lafs-**e27423e\support\Lib\site-**
>> packages\twisted-10.1.
>> 0-py2.6-win-amd64.egg\twisted\**application\app.py", line 450, in
>> getApplication
>>      application = service.loadApplication(**filename, style, passphrase)
>>    File "X:\tahoe-lafs-tahoe-lafs-**e27423e\support\Lib\site-**
>> packages\twisted-10.1.
>> 0-py2.6-win-amd64.egg\twisted\**application\service.py", line 390, in
>> loadApplicat
>> ion
>>      application = sob.loadValueFromFile(**filename, 'application',
>> passphrase)
>>    File "X:\tahoe-lafs-tahoe-lafs-**e27423e\support\Lib\site-**
>> packages\twisted-10.1.
>> 0-py2.6-win-amd64.egg\twisted\**persisted\sob.py", line 210, in
>> loadValueFromFile
>>      exec fileObj in d, d
>>    File "tahoe-client.tac", line 10, in <module>
>>      c = client.Client()
>>    File "x:\tahoe-lafs-tahoe-lafs-**e27423e\src\allmydata\client.**py",
>> line 143, in
>> __init__
>>      self.init_storage()
>>    File "x:\tahoe-lafs-tahoe-lafs-**e27423e\src\allmydata\client.**py",
>> line 257, in
>> init_storage
>>      expiration_sharetypes=**expiration_sharetypes)
>>    File "x:\tahoe-lafs-tahoe-lafs-**e27423e\src\allmydata\storage\**server.py",
>> line
>> 96, in __init__
>>      expiration_sharetypes)
>>    File "x:\tahoe-lafs-tahoe-lafs-**e27423e\src\allmydata\storage\**expirer.py",
>> line
>>   71, in __init__
>>      ShareCrawler.__init__(self, server, statefile)
>>    File "x:\tahoe-lafs-tahoe-lafs-**e27423e\src\allmydata\storage\**crawler.py",
>> line
>>   86, in __init__
>>      self.load_state()
>>    File "x:\tahoe-lafs-tahoe-lafs-**e27423e\src\allmydata\storage\**crawler.py",
>> line
>>   195, in load_state
>>      state = pickle.load(f)
>> exceptions.EOFError:
>>
>> Failed to load application:
>> ______________________________**_________________
>> tahoe-dev mailing list
>> tahoe-dev at tahoe-lafs.org
>> https://tahoe-lafs.org/cgi-**bin/mailman/listinfo/tahoe-dev<https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev>
>>
>>
> ______________________________**_________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> https://tahoe-lafs.org/cgi-**bin/mailman/listinfo/tahoe-dev<https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20120707/748056d5/attachment.html>


More information about the tahoe-dev mailing list