Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Erase all items Failed to execute #65

Closed
jpdeboos opened this issue Jun 26, 2015 · 4 comments
Closed

Erase all items Failed to execute #65

jpdeboos opened this issue Jun 26, 2015 · 4 comments

Comments

@jpdeboos
Copy link

Hi,

I use ArcRest Toolbox. I have a problem with Erase all items tool since several month. i have this message
scriptDeleteUserContent...
error on line: line 73
error in file name: C:\Users\jpdeboos\Documents\ArcGIS\ArcREST-July15Release\tools\src\deleteUserContent.py
with error message: KeyError: 'items'
Completed script scriptDeleteUserContent...
Failed to execute (scriptDeleteUserContent).

I try with the new version (july15) but it's the same.

Someone has a solution ?

@MikeMillerGIS
Copy link
Member

I am not able to reproduce the issue. Can you provide more details? Can you verify you have the most current ArcRest installed.

Are you using Portal or Online?

@jpdeboos
Copy link
Author

I have this message. I use Online.

capture

Tks

@MikeMillerGIS
Copy link
Member

I am not able to reproduce it, can you run the process in debug mode and let me know what 'c' is on line 72. It should look similar to this:
{'username': 'USERNAME', 'currentFolder': {'username': 'USERNAME', 'title': 'segg', 'id': 'e01be9b1feb14f8d985dea3bfa814edf', 'created': 1435329474000L}, 'nextStart': -1, 'items': [], 'start': 1, 'num': 0, 'total': 0}

@jpdeboos
Copy link
Author

I use the last version (july 2015). We use ArcGIS Online in french.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants