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

1237
8
Jump to solution
01-03-2017 10:39 AM
JoannaGrossman2
New Contributor III

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.

JoannaGrossman2
New Contributor III

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
JoannaGrossman2
New Contributor III

we did. It came back with persistance. =(

0 Kudos
MitchHolley1
MVP Regular Contributor

edit = arcpy.da.Editor(filepath)

JoannaGrossman2
New Contributor III

hmmm. Thanks.

0 Kudos
JoannaGrossman2
New Contributor III

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
JoannaGrossman2
New Contributor III

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