[chandler-users] [Fwd: Re: URGENT Restoring from SnapShot]

Sheila Mooney sheila at osafoundation.org
Tue Oct 14 22:14:21 PDT 2008


Micheal,

You DO NOT want to pick the option "discard all data and restore from  
previous snapshot". You want to start Chandler with the Ctrl-key and  
pick the 5th option in the dialog "discard all data and start with a  
fresh repository". Chandler starts up and it only shows the default  
data. Then from the menu select Debug->Repository->Restore and pick  
the tgz file.

Cheers,
Sheila

On Oct 14, 2008, at 9:16 PM, Michael Jenkins wrote:

> OK
>
> I have the tgz file
>
> So I do Repository Restore and I can see the tgz file on my desktop.
>
> Chandler gives me the options and I click the last one - discard all  
> data and restore from previous snapshot
>
> After  several minutes get this error message
>
> Seconds since last error: 286
> Chandler Version: 1.0.2
> OS: nt
> Platform Type: win32
> Platform Details: Windows-XP-5.1.2600
> Architecture:
> Python Version: 2.5.1 (r251:54863, Nov 28 2007, 17:53:19) [MSC v. 
> 1310 32 bit (Intel)]
> Traceback (most recent call last):
> File "C:\Program Files\Chandler.py", line 101, in main
>   return realMain()
> File "C:\Program Files\Chandler.py", line 80, in realMain
>   app = wxApplication(redirect=redirect, useBestVisual=useBestVisual)
> File "C:\Program Files\release\bin\lib\site-packages\wx\_core.py",  
> line 7901, in __init__
>   self._BootstrapApp()
> File "C:\Program Files\release\bin\lib\site-packages\wx\_core.py",  
> line 7498, in _BootstrapApp
>   return _core_.PyApp__BootstrapApp(*args, **kwargs)
> File "C:\Program Files\application\Application.py", line 377, in  
> OnInit
>   options)
> File "C:\Program Files\application\Utility.py", line 1101, in  
> openRepositoryOrBackup
>   view = openRepository(options, repoDir)
> File "C:\Program Files\application\Utility.py", line 1070, in  
> openRepository
>   view = initRepository(repoDir, options)
> File "C:\Program Files\application\Utility.py", line 684, in  
> initRepository
>   repository.open(**kwds)
> File "c:\program files\release\bin\lib\site-packages 
> \chandlerdb-0.7_37-py2.5-win32.egg\chandlerdb\persistence 
> \DBRepository.py", line 970, in open
>   raise RepositoryRunRecoveryError, recover
> RepositoryRunRecoveryError: True
>
> Michael
>
> Sheila Mooney wrote:
>> Micheal,
>>
>> Don't worry about the .chex file. If you can't find one, we can't  
>> create one from the repository backup.
>>
>> We need to do this from the Desktop, the Hub can't help. You don't  
>> need to unpack the snapshot. You need to restore by selecting the  
>> tgz file. What directory is that located in? When you pick  
>> Repository->Restore, can you navigate to that directory where the  
>> tgz file is stored? Do you see the tgz file?
>>
>> Sheila
>>
>> On Oct 14, 2008, at 12:57 PM, Michael Jenkins wrote:
>>
>>> Hi again Sheila
>>>
>>> So,
>>>
>>> 1] Cannot locate a .chex file
>>>
>>> 2] When I follow your instructions to get a blank chandler and  
>>> pick Repository->Restore - I see a directory structure but no such  
>>> back up file
>>>
>>> 3] I am left with a snapshot file as my only hope
>>>
>>> Have also tried to option to restore from previous snapshot - but  
>>> chandler crashes......
>>>
>>> How do I create a .chex file from the snapshot?
>>>
>>> How do I control where that goes?
>>>
>>> If I unpack the snapshot I think I can see everything but
>>>
>>> How do I put it somewhere that Chandler can find it?
>>>
>>> Can I send you the snapshot for you to look at?
>>>
>>> Can you convert my snapshot to a .chex?
>>>
>>> Can you then upload it to the hub?
>>>
>>> Can I down load it from there?
>>>
>>> M
>>> Sheila Mooney wrote:
>>>> Micheal,
>>>>
>>>> If you don't located a .chex file anywhere, you could try the  
>>>> following. Run Chandler and bring up the start-up options (hold  
>>>> down the Ctrl-key). Select the option "Discard all my data and  
>>>> start with a fresh repository". You should end of with a "blank"  
>>>> Chandler - only the default data. Select the Debug menu and pick  
>>>> Repository->Restore and select the back up file.
>>>>
>>>> Let me know if this works.
>>>>
>>>> Cheers,
>>>> Sheila
>>>>
>>>> On Oct 14, 2008, at 11:11 AM, Michael Jenkins wrote:
>>>>
>>>>>
>>>>>
>>>>> -------- Original Message --------
>>>>> Subject:     Re: [chandler-users] URGENT Restoring from SnapShot
>>>>> Date:     Tue, 14 Oct 2008 19:06:51 +0100
>>>>> From:     Michael Jenkins <michael.jenkins at metalab.co.uk>
>>>>> Reply-To:     michael.jenkins at metalab.co.uk
>>>>> Organisation:     metaLAB
>>>>> To:     Sheila Mooney <sheila at osafoundation.org>
>>>>> References:     <48F4D47F.6040500 at metalab.co.uk> <BDA7EF9C-A27F-458D-A9D6-76764C6435B9 at osafoundation.org 
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> Hi Sheila
>>>>>
>>>>> Appreciate you getting back.
>>>>>
>>>>> I have been to the the snapshot zip file ,tgz and clicked  
>>>>> 'extract to Chandler snapshot'
>>>>> This seems happens OK and seems to generate briefly the .chex  
>>>>> file you mention
>>>>>
>>>>> But cannot see clearly where the file/ss go.  Would seem to be  
>>>>> going to  C:\Documents and Settings\Michael\Desktop 
>>>>> \ChandlerSnapshot
>>>>>
>>>>> No .chex there just  .db and .log.
>>>>>
>>>>> How can I get from that collection of files to a restore within  
>>>>> Chandler?
>>>>>
>>>>> When I click the last start up option to ' discard all my data  
>>>>> and restore from previous snapshot' I get the error message
>>>>>
>>>>> So, I cannot open the application in order to try and rebuild  
>>>>> from within it.
>>>>>
>>>>> I have attached snapshot file .tgz in case that will help you
>>>>>
>>>>> [cannot do this as your mail server rejects file size too large  
>>>>> - do you have a gmail address or similar for me to send too?
>>>>> I look forward to your guidance
>>>>>
>>>>> Michael
>>>>>
>>>>>
>>>>> Seconds since last error: 224
>>>>> Chandler Version: 1.0.2
>>>>> OS: nt
>>>>> Platform Type: win32
>>>>> Platform Details: Windows-XP-5.1.2600
>>>>> Architecture:
>>>>> Python Version: 2.5.1 (r251:54863, Nov 28 2007, 17:53:19) [MSC v. 
>>>>> 1310 32 bit (Intel)]
>>>>> Traceback (most recent call last):
>>>>> File "C:\Program Files\Chandler.py", line 101, in main
>>>>> return realMain()
>>>>> File "C:\Program Files\Chandler.py", line 80, in realMain
>>>>> app = wxApplication(redirect=redirect,  
>>>>> useBestVisual=useBestVisual)
>>>>> File "C:\Program Files\release\bin\lib\site-packages\wx 
>>>>> \_core.py", line 7901, in __init__
>>>>> self._BootstrapApp()
>>>>> File "C:\Program Files\release\bin\lib\site-packages\wx 
>>>>> \_core.py", line 7498, in _BootstrapApp
>>>>> return _core_.PyApp__BootstrapApp(*args, **kwargs)
>>>>> File "C:\Program Files\application\Application.py", line 377, in  
>>>>> OnInit
>>>>> options)
>>>>> File "C:\Program Files\application\Utility.py", line 1101, in  
>>>>> openRepositoryOrBackup
>>>>> view = openRepository(options, repoDir)
>>>>> File "C:\Program Files\application\Utility.py", line 1070, in  
>>>>> openRepository
>>>>> view = initRepository(repoDir, options)
>>>>> File "C:\Program Files\application\Utility.py", line 684, in  
>>>>> initRepository
>>>>> repository.open(**kwds)
>>>>> File "c:\program files\release\bin\lib\site-packages 
>>>>> \chandlerdb-0.7_37-py2.5-win32.egg\chandlerdb\persistence 
>>>>> \DBRepository.py", line 970, in open
>>>>> raise RepositoryRunRecoveryError, recover
>>>>> RepositoryRunRecoveryError: True
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Sheila Mooney wrote:
>>>>>> Micheal,
>>>>>>
>>>>>> Sorry about the delay in getting back to you.
>>>>>>
>>>>>> Do you by chance have a .chex file stored somewhere? Is that  
>>>>>> the snapshot you are talking about? That is the primary backup  
>>>>>> mechanism we use. A .chex file is automatically generated when  
>>>>>> you shut down the app so we should see if you have one just in  
>>>>>> case. It might be that it's too old but worth checking anyhow.
>>>>>>
>>>>>> Exactly what steps did you do to create the snapshot? This will  
>>>>>> help us figure out the best path to restore this data.
>>>>>>
>>>>>> Cheers,
>>>>>> Sheila
>>>>>>
>>>>>> On Oct 14, 2008, at 10:18 AM, Michael Jenkins wrote:
>>>>>>
>>>>>>> Hi Guys,
>>>>>>>
>>>>>>> Really would really appreciate a response/acknowledgement from  
>>>>>>> someone
>>>>>>> human.
>>>>>>>
>>>>>>> I posted error messages yesterday regarding a failure on my  
>>>>>>> local
>>>>>>> machine of the desktop copy of chandler. Seems it happened at  
>>>>>>> about same
>>>>>>> time as the main hub went down.
>>>>>>>
>>>>>>> So I cannot recover from the hub - seems to be old data - not  
>>>>>>> sure how
>>>>>>> far you guys rolled it back.
>>>>>>>
>>>>>>> I am thus utterly dependant on the snapshot - for me this is  
>>>>>>> serious.
>>>>>>>
>>>>>>> I cannot find much in way of support for this problem.  I  
>>>>>>> managed to
>>>>>>> find the menu item which pointed me towards rebuilding from  
>>>>>>> the snapshot
>>>>>>> but get this error message below
>>>>>>>
>>>>>>> Please do not leave me hanging guys.  I look forward to a  
>>>>>>> response
>>>>>>>
>>>>>>> regards
>>>>>>>
>>>>>>> Michael
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Seconds since last error: 292
>>>>>>> Chandler Version: 1.0.2
>>>>>>> OS: nt
>>>>>>> Platform Type: win32
>>>>>>> Platform Details: Windows-XP-5.1.2600
>>>>>>> Architecture:
>>>>>>> Python Version: 2.5.1 (r251:54863, Nov 28 2007, 17:53:19) [MSC  
>>>>>>> v.1310 32
>>>>>>> bit (Intel)]
>>>>>>> Traceback (most recent call last):
>>>>>>> File "C:\Program Files\Chandler.py", line 101, in main
>>>>>>> return realMain()
>>>>>>> File "C:\Program Files\Chandler.py", line 80, in realMain
>>>>>>> app = wxApplication(redirect=redirect,  
>>>>>>> useBestVisual=useBestVisual)
>>>>>>> File "C:\Program Files\release\bin\lib\site-packages\wx 
>>>>>>> \_core.py",
>>>>>>> line 7901, in __init__
>>>>>>> self._BootstrapApp()
>>>>>>> File "C:\Program Files\release\bin\lib\site-packages\wx 
>>>>>>> \_core.py",
>>>>>>> line 7498, in _BootstrapApp
>>>>>>> return _core_.PyApp__BootstrapApp(*args, **kwargs)
>>>>>>> File "C:\Program Files\application\Application.py", line 377,  
>>>>>>> in OnInit
>>>>>>> options)
>>>>>>> File "C:\Program Files\application\Utility.py", line 1101, in
>>>>>>> openRepositoryOrBackup
>>>>>>> view = openRepository(options, repoDir)
>>>>>>> File "C:\Program Files\application\Utility.py", line 1070, in
>>>>>>> openRepository
>>>>>>> view = initRepository(repoDir, options)
>>>>>>> File "C:\Program Files\application\Utility.py", line 684, in
>>>>>>> initRepository
>>>>>>> repository.open(**kwds)
>>>>>>> File "c:\program
>>>>>>> files\release\bin\lib\site-packages\chandlerdb-0.7_37-py2.5- 
>>>>>>> win32.egg\chandlerdb\persistence\DBRepository.py",
>>>>>>> line 970, in open
>>>>>>> raise RepositoryRunRecoveryError, recover
>>>>>>> RepositoryRunRecoveryError: True
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> chandler-users mailing list
>>>>>>> chandler-users at osafoundation.org
>>>>>>> http://lists.osafoundation.org/mailman/listinfo/chandler-users
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/chandler-users/attachments/20081014/fb8e35dd/attachment.htm 


More information about the chandler-users mailing list