Return-Path: Received: from [216.70.64.51] (HELO n16.mail01.mtsvc.net) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4949433 for AE-List@media-motion.tv; Sun, 13 Jan 2013 20:47:55 +0100 Received: from n15.c03.server-system.net ([72.47.224.15]:52498) by n16.mail01.mtsvc.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TuTc4-0007Va-HS for AE-List@media-motion.tv; Sun, 13 Jan 2013 14:53:04 -0500 Received: from c-68-47-128-133.hsd1.ar.comcast.net ([68.47.128.133]:56738 helo=[192.168.0.191]) by n15.c03.server-system.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TuTby-0000Jm-Kp for AE-List@media-motion.tv; Sun, 13 Jan 2013 11:52:59 -0800 Subject: Re: [AE] Scripting: Crash on save References: From: Ae List Content-Type: multipart/alternative; boundary=Apple-Mail-84E14E95-115A-4D94-9025-9648DD514152 X-Mailer: iPhone Mail (10A403) In-Reply-To: Message-Id: <00FF9EC3-C717-457E-987F-E5CD1A8929AB@roetechnologies.com> Date: Sun, 13 Jan 2013 13:52:53 -0600 To: After Effects Mail List Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) X-Authenticated-User: 48122 aelist@roetechnologies.com X-MT-ID: 3239eb68718995acad8623fa414aaa1fc41231a1 X-MT-INTERNAL-ID: 3239eb68718995acad8623fa414aaa1fc41231a1 --Apple-Mail-84E14E95-115A-4D94-9025-9648DD514152 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Well in our case, because Sync is a native plug-in we created a hook that wo= uld 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 n= ew variable containing it's location. ( i'm not sure what you're doing exact= ly or I could be more specific ) =20 On Jan 13, 2013, at 1:14 PM, Byron Nash wrote: > I'll see if I can get a crash log. The line I think it's crashing on is ju= st =20 >=20 > proj.save(); >=20 > Earlier in the script I'm saving the project for the first time as a new n= ame. Did you just save to a different name and then delete the old file? >=20 >=20 > On Sun, Jan 13, 2013 at 2:07 PM, Ae List wrot= e: >> The crash log would be helpful. It may be an issue with the file temporar= ily being unavailable. When the files are saved they are removed and rewritt= en instead of updated. We had to do some trickery to work around this in Pro= ject Sync.=20 >>=20 >> Hope this helps get you started debugging. >>=20 >> - Chris >>=20 >> =20 >>=20 >> On Jan 13, 2013, at 1:03 PM, Byron Nash wrote: >>=20 >>> I have a post on aehancers but the traffic on there seems really quiet l= ately for some reason. I need to find a solution for a client but can't repr= oduce the error on my end.=20 >>>=20 >>> Here's the post.=20 >>> http://aenhancers.com/viewtopic.php?f=3D8&t=3D2165 >>>=20 >>> If anyone can shed some insight I would appreciate it. >>>=20 >>> Byron >=20 --Apple-Mail-84E14E95-115A-4D94-9025-9648DD514152 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
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

--Apple-Mail-84E14E95-115A-4D94-9025-9648DD514152--