You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
1The most important thing is missing: the errors and their stacktraces.CristiFati– CristiFati2018-01-23 20:37:58 +00:00Commented Jan 23, 2018 at 20:37
-
@CristiFati - They are not PyCharm errors. If you do not work with ArcPy you will not understand the errors so they're a bit irrelevant to my post, but I understand why you asked for them. They are errors sent by the software program because an arcpy tool failed. For instance, one of them is "Error 000732: Input Features: Dataset #1; #2 does not exist or is not supported" (they do exist and they are supported). Despite the errors being ArcPy errors, it is a problem with the IDE because I can run this script elsewhere and it works as expected. I can even run it in PyCharm if not in debug mode.MKF– MKF2018-01-23 20:53:16 +00:00Commented Jan 23, 2018 at 20:53
-
1Hmm, it might have smth to do with the way that Pycharm calls its debugger (pydevd.py) which might conflict with the other tool. Try running it with/without debug get the 1st lines from the Pycharm console (that is the cmdline) and do some comparisons.CristiFati– CristiFati2018-01-23 20:58:07 +00:00Commented Jan 23, 2018 at 20:58
-
@CristiFati - Possibly, though aside from the pyded.py being called with some extra flags (--multiproc --qt-support = auto --client 127.0.0.1 --port 5727) I'm not seeing much difference. The problem seems to stem from the breakpoints; it runs successfully in "Run" mode and "Debug" mode as long as when in debug mode there are zero breakpoints (which kinda defeats the purpose of debug).MKF– MKF2018-01-23 21:08:12 +00:00Commented Jan 23, 2018 at 21:08
-
Cross-posted as gis.stackexchange.com/q/268973/115PolyGeo– PolyGeo2018-01-24 04:27:59 +00:00Commented Jan 24, 2018 at 4:27
|
Show 4 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. python-3.x), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-py