Skip to main content
Participant
Jan 26, 2023 1:11 AM UTC
Answered

Python API - loadUserPackage fails silently

Hey friends!

 

I worked on some custom tooling to open and manage designer graphs. I'm hitting an issue where some of our sbs files won't load via the loadUserPackage function. I verified the local paths are correct and exist, updatePackages is False, and reloadIfModified is False. Upon further digging, I noticed I'm getting the following error:

 

SDApiError.NoErrorOutputParamNotSet, the value is 1.

 

I'm curious about what this output parameter could be.

 

Thanks!

- B

This topic is closed to new replies. Start a new post to keep the conversation going.
bruvansCorrect answer
Participant
Jan 26, 2023 6:08 PM UTC

Turns out this was due to a version upgrade in our pipeline, doing a manual save of the SBS file in the new version lets me use the loadUserPackage function. All is well!

4 replies

bruvansAuthorCorrect answer
Participant
Jan 26, 2023 6:08 PM UTC

Turns out this was due to a version upgrade in our pipeline, doing a manual save of the SBS file in the new version lets me use the loadUserPackage function. All is well!

Translate
Luca Giarrizzo
Community Manager
Community Manager
Jan 27, 2023 10:19 AM UTC

Hello,

 

Thank you for keeping us updated, I am glad the issue was eventually solved! We will check the possibility of this impacting other users in the future.

 

Best regards.

Translate
Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe
Luca Giarrizzo
Community Manager
Community Manager
Jan 26, 2023 1:31 PM UTC

Hello!

 

In addition to the question of Est. below, may you please share you scripts and input filepaths with me in a private direct message? This would help us investigate the issue efficiently.

 

Thank you for your help!

Translate
Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe
Participating Frequently
Jan 26, 2023 9:25 AM UTC

Hi!

 

I am not sure what is the problem yet. Do you have any non Python error in the console?

 

Est.

Translate