It makes it all the way up to the point of creating the .sd file in the arcpy.StageService_server of the sddraft document. I get:
ExecuteError: ERROR 001270: Consolidating the data failed.
Using the source code found here Updating your hosted feature service for 10.2 | ArcGIS Blog and my settings.ini is correct. Am able to connect, get the Feature Service id, etc... it just cannot create the .sd doc.
Any input is appreciated!
Complete error:
Traceback (most recent call last):
File "C:\Python27\ArcGISx6410.2\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript
exec codeObject in __main__.__dict__
File "\\AGOL\py\update.py", line 292, in <module>
makeSD(MXD, serviceName, tempDir, finalSD, maxRecords)
File "\\AGOL\py\update.py", line 146, in makeSD
arcpy.StageService_server(newSDdraft, outputSD)
File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\server.py", line 1204, in StageService
raise e
ExecuteError: ERROR 001270: Consolidating the data failed.