Page 1 of 1

JSON Import JSX Script doesn't work in AE CC 2019

Posted: 04 Feb 2019, 17:49
by meslin
Hi, I've tested the following pipelines with a simple TVPP file:

Not working in AE CC 2019:
- Win 7 Ultimate x64 TVP Pro 11.0.8 - > AE CC 2019 - Browsing for .JSON file causes no import action
- macOS (latest Mojave) x64 TVP Pro 11.0.8 - > AE CC 2019 - Browsing for .JSON file causes no import action

Working in AE CC 2018:
- Win 7 Ultimate x64 TVP Pro 11.0.8 - > AE CC 2018 - Works fine
- macOS (latest Mojave) x64 TVP Pro 11.0.8 - > AE CC 2018 - Works fine


I put in some debug trace statements...seems to be hanging on line 480:
if( ReadIntFromData( dataTree, "version.major", 0) != scriptVersionMajor )...
Is this a known issue?

Thanks,
David

Re: JSON Import JSX Script doesn't work in AE CC 2019

Posted: 05 Feb 2019, 06:46
by Hironori Takagi
I do not know if that is useful, but I will reply.
The easiest trouble with writing from TVPaint is the case where "space key" is included in the layer or instance or file name.
Please check once that there are elements that contain "Space key" in the timeline.

And,
if (ReadIntFromData (dataTree, "version.major", 0)! = scriptVersionMajor) ...
Line 2 and line 3 of the JSON file
"version": {
        "major": 5,
Refer to. I think that it stops its operation at this line only if JSON does not have this element at all, so please check if it is included.

Re: JSON Import JSX Script doesn't work in AE CC 2019

Posted: 08 Mar 2019, 17:20
by D.T. Nethery
meslin wrote: 04 Feb 2019, 17:49
Is this a known issue?

I appreciate Hironori Takagi 's reply above , but could someone from TVPaint development team reply to David Meslin's question ?
Is this a known issue and can you confirm that JSON Import JSX Script does not work in AE 2019 , because I am about to
update to AE 2019 , but I don't want to update if this is still a problem.

Re: JSON Import JSX Script doesn't work in AE CC 2019

Posted: 11 Mar 2019, 02:14
by Hironori Takagi
I added After Effects CC 2019 to my current environment (TVPaint 11.0.8, Windows 10 Pro, DELL Precision M 3800) and tried it, Import-json worked normally.
I think that it is preferable to submit samples of exported json and folders from users who do not work.

Re: JSON Import JSX Script doesn't work in AE CC 2019

Posted: 18 Jun 2019, 18:34
by D.T. Nethery
meslin wrote: 04 Feb 2019, 17:49 Hi, I've tested the following pipelines with a simple TVPP file:

Not working in AE CC 2019:
- Win 7 Ultimate x64 TVP Pro 11.0.8 - > AE CC 2019 - Browsing for .JSON file causes no import action
- macOS (latest Mojave) x64 TVP Pro 11.0.8 - > AE CC 2019 - Browsing for .JSON file causes no import action

Is this a known issue?

Thanks,
David

Bumping this up from David Meslin's unanswered post on Feb. 04, 2019 .

I have recently updated my After Effects to CC 2019 (v16.1.1 - Build 4) and I am sorry to report that the TVPaint JSON import script does not work in AE CC 2019 with Mac OS 10.12 Sierra.
I am using version 5.7 of the After Effects Import script.
Screen Shot 2019-06-18 at 3.57.46 PM.jpg
Screen Shot 2019-06-18 at 3.57.46 PM.jpg (23.7 KiB) Viewed 16168 times
Could someone from the TVPaint Development Team please respond to confirm that this is a known issue and is there any fix in the works ?

Thank you.

-David N.

Re: JSON Import JSX Script doesn't work in AE CC 2019

Posted: 19 Jun 2019, 10:03
by schwarzgrau
Yea, this is something which would be very important to me soon again, but it seems there is little to none support in this forum by the TVPaint-team anymore, since a few people left.

Re: JSON Import JSX Script doesn't work in AE CC 2019

Posted: 21 Jun 2019, 11:02
by Thierry
I've run some tests on both Windows 10 (I don't think we have any Windows 7 left, we all made the swtich to W10) and macOS Sierra 10.12.6.
The After Effects version used for the test was AE 2019, v16.1.2, Build 55. I used the JSOn export in TVPaint 11.0.8 to export one of my tvpp files so the JSON file is a newly created one.

On Windows 10, no issue: the Import panel is there, I can browse and select a JSON file, import it, and have the TVPaint structure re-created in After Effects.
On macOS Sierra, it's the same, it works:
Capture d’écran 2019-06-21 à 11.55.06.png
@David:
I have recently updated my After Effects to CC 2019 (v16.1.1 - Build 4)
It seems that we are not using the same AE version: you are using v16.1.1 and we are using v16.1.2. Can you update to this version and try again?

Re: JSON Import JSX Script doesn't work in AE CC 2019

Posted: 21 Jun 2019, 18:48
by D.T. Nethery
Thierry wrote: 21 Jun 2019, 11:02
@David:
I have recently updated my After Effects to CC 2019 (v16.1.1 - Build 4)
It seems that we are not using the same AE version: you are using v16.1.1 and we are using v16.1.2. Can you update to this version and try again?
Thank you for the response.

I have updated my After Effects to v16.1.2 and now the TVPaint JSON import script works again in AE !

:D