IDEA
|
pathlib seems to be the preferred method for working with system paths in Python 3. We've started using it in place of `os.path` in our office recently and really like it. However, we've run into problems with using it with arcpy. For example: workspace = pathlib.Path('C:\some path') \ 'anotherfolder' \ 'connection.sde' with arcpy.EnvManager(workspace=workspace): pass Throws this error: "RuntimeError: Object: Error in accessing environment
04-09-202009:20 AM
|
23
|
8
|
2026
|
POST
|
Do you have a bug number that you can share? I'm running up against this same issue.
... View more
02-03-202012:47 PM
|
0
|
4
|
647
|
POST
|
I'm also experiencing this same issue. Did you ever find a resolution?
... View more
11-27-201909:19 AM
|
0
|
0
|
257
|
POST
|
I was experiencing almost the exact same situation as Detaille Octave. A GP task that ran successfully the first time and then failed on subsequent runs. Switching to `pypyodbc` fixed the issue for me. THANKS!
... View more
07-02-201911:27 AM
|
0
|
0
|
438
|
POST
|
Did you ever find a solution to your problem? I'm having the same issue. I'd love to see an example of someone using the `in_public` parameter successfully.
... View more
09-20-201801:55 PM
|
1
|
0
|
495
|
POST
|
Any updates on this issue? I'm beginning a project the may use custom WAB widgets and I don't want to start down the 3.x road (2D) if 4.x support is coming soon. Thanks!
... View more
08-17-201804:22 PM
|
0
|
3
|
234
|
POST
|
I'm experiencing this same issue. Upgrading is not an option at the moment. Is there any work around?
... View more
01-18-201802:43 PM
|
0
|
4
|
491
|
POST
|
I think that I found the solution for me: pass `-E` (clears PYTHONPATH) to the python invocation command. Something like this: command = [ 'propy' , '-E' , vector_module , basemap , summary , tags ] process = subprocess . Popen ( command , stdout = subprocess . PIPE , stderr = subprocess . PIPE , shell = True ) Ref: 1. Command line and environment — Python 2.7.14 documentation
... View more
01-08-201810:28 AM
|
0
|
0
|
1426
|
POST
|
卢克:你能够加强ort arcpy from your v3 script? That's where I have the issues.
... View more
01-08-201810:17 AM
|
0
|
1
|
1426
|
POST
|
SetOnUndone & SetOnRedone - What am I doing wrong? · GitHub
... View more
12-15-201710:37 AM
|
0
|
1
|
328
|
Title | Kudos | Posted |
---|---|---|
1 | 06-21-2016唯一点 | |
23 | 04-09-202009:20 AM | |
1 | 06-13-201706:31 AM | |
1 | 09-20-201801:55 PM | |
5 | 01-04-201612:17 PM |
Online Status |
Offline
|
Date Last Visited |
10-27-202210:48 PM
|