Why doesn't ArcMap think I'm starting an edit session?! =(

1695
8
Jump to solution
01-03-2017 10:39 AM
by Anonymous User
Not applicable

okay peeps. Help me, a well-meaning state employee, out. 😃  Why do I keep getting:

from this?! =(

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DarrenWiens2
MVP Honored Contributor

Can you try printing workspace to make sure it's what you want? I think by using os.path.dirname you're backing up to the ArcCatalog folder, but you actually want it to be the .sde, at least according to the example here.

View solution in original post

8 Replies
DarrenWiens2
MVP Honored Contributor

Can you try printing workspace to make sure it's what you want? I think by using os.path.dirname you're backing up to the ArcCatalog folder, but you actually want it to be the .sde, at least according to the example here.

by Anonymous User
Not applicable

You're right. It goes to C:\Users\joanna.grossman\AppData\Roaming\ESRI\Desktop10.4\ArcCatalog.

0 Kudos
MitchHolley1
MVP Regular Contributor

I thought we already solved this problem. 

0 Kudos
by Anonymous User
Not applicable

we did. It came back with persistance. =(

0 Kudos
MitchHolley1
MVP Regular Contributor

edit = arcpy.da.Editor(filepath)

by Anonymous User
Not applicable

hmmm. Thanks.

0 Kudos
by Anonymous User
Not applicable

When I change it to that I can't access my data layer which is why I moved away from it. It throws

0 Kudos
by Anonymous User
Not applicable

Just FYI. I had to change it back again to get it to work. I'll keep it commented out this time just in case, tho. I appreciate your help.

0 Kudos