I'm experiencing a strange error when packaging a project to a project template.
I've created a project that contains two maps with featurelayers from a filegeodatabase, a predefined layout, a toolbox containing pythonscripts and a task. I've been able to create project templates from this project several times over the last two years. Yesterday I made some changes to a pythonscript and tried to create a new project template, and the packaging failed with the error:
ERROR 000185: This data type is not supported
I reverted the pythonscript to the original version, and tried to create the project template (which worked one hour before), but the process still fails with the same error.
Since I have my project and scripts in GitHub, I've tried to change to another branch which worked two days ago. This time it fails with the same error.
Have anyone experienced this before or know what might be causing this? ESRI, please add more detailed information about what causes the error, specially which data type is not supported.
Update: It seems that the geodatabase had been corrupted. I tried creating a new project with the same database, with the same error. When replacing the geodatabase with a older copy, the packaging process worked fine.