Mailing List AE-List@media-motion.tv ? Message #47522
From: Byron Nash <byronnash@gmail.com>
Subject: Re: [AE] Scripting: Crash on save
Date: Mon, 28 Jan 2013 15:25:39 -0500
To: After Effects Mail List <AE-List@media-motion.tv>
I got my client to send me crash logs. What am I looking for in the logs?


On Sun, Jan 13, 2013 at 2:52 PM, Ae List <AEList@roetechnologies.com> wrote:
Well in our case, because Sync is a native plug-in we created a hook that would wait/watch for the file to reappear before attempted further operations. For a script maybe set a timeout or check that the file exists / obtain a new variable containing it's location. ( i'm not sure what you're doing exactly or I could be more specific )

 

On Jan 13, 2013, at 1:14 PM, Byron Nash <byronnash@gmail.com> wrote:

I'll see if I can get a crash log. The line I think it's crashing on is just  

proj.save();

Earlier in the script I'm saving the project for the first time as a new name. Did you just save to a different name and then delete the old file?


On Sun, Jan 13, 2013 at 2:07 PM, Ae List <AEList@roetechnologies.com> wrote:
The crash log would be helpful. It may be an issue with the file temporarily being unavailable. When the files are saved they are removed and rewritten instead of updated. We had to do some trickery to work around this in Project Sync. 

Hope this helps get you started debugging.

- Chris

 

On Jan 13, 2013, at 1:03 PM, Byron Nash <byronnash@gmail.com> wrote:

I have a post on aehancers but the traffic on there seems really quiet lately for some reason. I need to find a solution for a client but can't reproduce the error on my end. 

Here's the post. 

If anyone can shed some insight I would appreciate it.

Byron


 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster