[chandler-users] Re: chandler-users Digest, Vol 17, Issue 13

Grant Baillie grant at osafoundation.org
Mon May 19 10:06:12 PDT 2008

On 18 May, 2008, at 00:48, Benjamin Wilreker wrote:

> Hi guys,
> I just went to install 0.7.6.  I'm currently running  When  
> I try to export the .chex file from, I get the following  
> traceback, and chandler does not create the file.  Any suggestions?

Hi, Wil

Looking at the error:

> 2008-05-18 00:19:58,312 osaf.dumpreload ERROR: Error during export
> Traceback (most recent call last):
> File "C:\Program Files\Chandler0.7\parcels\osaf\dumpreload.py", line  
> 140, in dump
>   activity.update(msg=_(u"Exporting %(total)d records") %  
> {'total':count}, totalWork=count)
> File "C:\Program Files\Chandler0.7\parcels\osaf\activity.py", line  
> 144, in update
>   super(TimeoutActivity, self).update(*args, **kwds)
> File "C:\Program Files\Chandler0.7\parcels\osaf\activity.py", line  
> 123, in update
>   raise ActivityAborted(_(u"Cancelled by user."))
> ActivityAborted: Cancelled by user.

I'm pretty sure this is a problem in Chandler that I fixed in Chandler  
for 0.7.6, Bug 12001 (https://bugzilla.osafoundation.org/show_bug.cgi?id=12001 
). It makes it impossible to export if the following 3 are all true:

- You disabled auto-export at quit time (in 0.7.5, there's a dialog  
that allows you to do this)
- You are manually exporting
- Your export takes longer than 15 seconds

Assuming I'm right, for the moment, the only way around this I can  
think of is to re-enable export on quit, by tweaking your repository  
directly, as follows:

1) Quit Chandler
2) From a Windows command shell, go do C:\Program Files\Chandler0.7,  
and enter the following command:
.\release\RunPython.bat -m tools.headless

3) This will bring up a Python shell, where you should enter the  

schema.ns('osaf.app', view).prefs.backupOnQuit = True

and now I think it's Control-Z on windows to exit the python shell.

4) Relaunch Chandler, and manually export as needed.

Let me know how things work out,


More information about the chandler-users mailing list