Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Javascript SDK - crash bug on large file load

Community Beginner ,
Sep 23, 2024 Sep 23, 2024

I am trying to build a plugin with the PremierePro javascript SDK. 

I want to build a plugin that lets you upload a file.   I am reading my file with the code below.  However, the the code seems to crash on big files.  I am currently trying on a 700mb file.  Have you had any luck or related issues in the past?

Thanks!


code:

const fileContent = cep.fs.readFile(filePath, cep.encoding.Base64);


This is the error I see:

Screenshot 2024-09-23 at 1.12.33 PM.png





Bug Needs More Info
TOPICS
Import and ingest , Performance or Stability
338
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Pinned Reply

Adobe Employee , Sep 23, 2024 Sep 23, 2024

It'd be useful to see the actual report (visible if you click "View Report" in that dialog)...?

 

Also...any difference in behavior, if you don't declare fileContent as const?

Translate
4 Comments
Adobe Employee ,
Sep 23, 2024 Sep 23, 2024

It'd be useful to see the actual report (visible if you click "View Report" in that dialog)...?

 

Also...any difference in behavior, if you don't declare fileContent as const?

Translate
Report
Community Beginner ,
Sep 23, 2024 Sep 23, 2024

Thanks. I tried 'let' and I got the same result. I got an error report with sentry-id: a2d79261-6de6-4af2-8ce2-45ce343a9632.  It's a binary file that I can't open, and I don't think I can attach here. I'll send it an email if that's ok

Translate
Report
Adobe Employee ,
Sep 23, 2024 Sep 23, 2024

The status of this bug report is updated. A team member has asked for more information.

Kevin Monahan - Sr. Community & Engagement Strategist – Pro Video and Audio
Status Needs More Info
Translate
Report
Community Beginner ,
Sep 23, 2024 Sep 23, 2024
LATEST

Email sent.  Thanks for taking a look!

Translate
Report