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

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
meslin
Posts: 154
Joined: 26 Oct 2008, 03:07
Location: Connecticut / New York

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

Post 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
User avatar
Hironori Takagi
Posts: 313
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

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

Post 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.
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

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

Post 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.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
Hironori Takagi
Posts: 313
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

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

Post 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.
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

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

Post 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 16278 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.

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

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

Post 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.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
Thierry
Site Admin
Posts: 2780
Joined: 07 Jan 2013, 08:28

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

Post 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?
User avatar
D.T. Nethery
Posts: 4225
Joined: 27 Sep 2006, 19:19

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

Post 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

Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
Post Reply