Skip to content

alfresco.SurfRequestError #8

@x-itec

Description

@x-itec

Exporting a site (Alfresco 4.0)

python export-site.py http://127.0.0.1:8080/share/page/site/unternehmenshandbuch/dashboard bla.json --username=x--password=x --export-content

Log in (admin)
Get site information
Export all site content
Export documentLibrary
Log out (admin)
Traceback (most recent call last):
File "export-site.py", line 254, in
main(sys.argv[1:])
File "export-site.py", line 214, in main
results = sc.exportAllSiteContent(sitename, siteContainers, includePaths, tempContainerName, async)
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 810, in exportAllSiteContent
self.exportSiteContent(siteId, child['name'], includePaths, tempContainerName, async)
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 775, in exportSiteContent
self.doJSONPost('proxy/alfresco/api/actionQueue?async=%s' % (str(async).lower()), json.dumps(actionDef))
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 163, in doJSONPost
resp = self.doPost(path, dataStr, 'application/json; charset=UTF-8', method)
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 144, in doPost
return self.doRequest(method, path, data, dataType)
File "/Volumes/DMS/xp/share-import-export/shareclient/alfresco.py", line 132, in doRequest
raise SurfRequestError(method, e.url, e.code, e.msg, e.hdrs, e.fp)
alfresco.SurfRequestError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions