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
[email protected]
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev


_______________________________________________
tahoe-dev mailing list
[email protected]
https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev

Reply via email to