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

Exception ProjectError: Failed to save copy

Guest
Dec 24, 2021 Dec 24, 2021

Copy link to clipboard

Copied

I am seeing these error:

[Project] Das Speichern der Kopie unter "C:/Program Files/Adobe/Adobe Substance 3D Painter/resources/samples/MeetMat_autosave_0.spp" ist fehlgeschlagen.


[Plugin – autosave] Exception ProjectError: Failed to save copy file:///C:/Program Files/Adobe/Adobe Substance 3D Painter/resources/samples/MeetMat_autosave_0.spp (qrc:/js/project.js line 36)

 

 

TOPICS
Bugs & Crashes

Views

1.2K

Translate

Translate

Report

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
New Here ,
Apr 12, 2022 Apr 12, 2022

Copy link to clipboard

Copied

I just tried out this example from the following documentaion path

image.png
C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\python-doc\substance_painter\project.html?highlight=template

I changed where the paths of the where all the assets exist.

import substance_painter.project

# A few declarations used in this example:
workFolder = "C:/temp"
meshFile = workFolder+"/test.fbx"
templateFile = workFolder+"/test.spt"
mySettings = substance_painter.project.Settings(
    import_cameras=True,
    normal_map_format=substance_painter.project.NormalMapFormat.OpenGL)

substance_painter.project.create(mesh_file_path=meshFile, settings=mySettings)
# Save the project to a file:
substance_painter.project.save_as(workFolder+"/test.spp") # No errors
import substance_painter.project;substance_painter.project.save_as(r"C:\temp\test.spp")

Votes

Translate

Translate

Report

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
New Here ,
Apr 12, 2022 Apr 12, 2022

Copy link to clipboard

Copied

half of my message didn't come through. 😞

two of my other images didn't come through. 😞

and I am unable to edit the post either. 😞

Votes

Translate

Translate

Report

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
New Here ,
Apr 12, 2022 Apr 12, 2022

Copy link to clipboard

Copied

Painter is busy error with the following commands 

~.save_as(workFolder+"/MyNewProject.spp")
~.save_as_copy(workFolder+"/MyBackupProject.spp")
~.save_as_template(templateFile, "01_Head")
 not sure what I am doing wrong

Votes

Translate

Translate

Report

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
New Here ,
Apr 12, 2022 Apr 12, 2022

Copy link to clipboard

Copied

probably need to update your docs so that others don't waste a pile of time. 😞

 

from substance_painter import event
from substance_painter import project

root_folder = "C:/temp"
def test():
    # A few declarations used in this example:
    
    mesh_file = f"{root_folder}/test.fbx"
    prj_settings = project.Settings(
        import_cameras=True,
        normal_map_format=project.NormalMapFormat.DirectX)
    project.create(mesh_file_path=mesh_file, settings=prj_settings)
    project.execute_when_not_busy(save_project)

def save_project():
    project.save_as(f"{root_folder}/test.spp",
        project.ProjectSaveMode.Full)

 

Votes

Translate

Translate

Report

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
New Here ,
Dec 02, 2024 Dec 02, 2024

Copy link to clipboard

Copied

Hey, I just got this issue too, but was unable to understand if you actually found a solution for this?
Probably gonna need to waste tonights work but thought why not ask you. Have a good one!

Votes

Translate

Translate

Report

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
New Here ,
Dec 02, 2024 Dec 02, 2024

Copy link to clipboard

Copied

LATEST

nvm, wierdly enough it was because I had too little space on my C:

Cleaning up made it saveable again.

Votes

Translate

Translate

Report

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
Resources