Skip to main content
Participant
January 26, 2023
Answered

Python API - loadUserPackage fails silently

  • January 26, 2023
  • 3 replies
  • 525 views

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 has been closed for replies.
Correct answer bruvans

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!

3 replies

bruvansAuthorCorrect answer
Participant
January 26, 2023

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!

Luca Giarrizzo
Community Manager
Community Manager
January 27, 2023

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.

Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe
Luca Giarrizzo
Community Manager
Community Manager
January 26, 2023

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!

Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe
Participating Frequently
January 26, 2023

Hi!

 

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

 

Est.