question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SystemError: error return without exception set

See original GitHub issue

I have same issue from #4367

Exception ignored in: <generator object urlsplit.<locals>.<genexpr> at 0x1087bdca8>
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/parse.py", line 431, in <genexpr>
    if not rest or any(c not in '0123456789' for c in rest):
SystemError: error return without exception set
Exception ignored in: <generator object urlsplit.<locals>.<genexpr> at 0x108788830>
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/parse.py", line 431, in <genexpr>
    if not rest or any(c not in '0123456789' for c in rest):
SystemError: error return without exception set
Exception ignored in: <generator object urlsplit.<locals>.<genexpr> at 0x108788360>
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/parse.py", line 431, in <genexpr>
    if not rest or any(c not in '0123456789' for c in rest):
SystemError: error return without exception set
Exception ignored in: <generator object iter_slices at 0x108788360>
Traceback (most recent call last):
  File "~/.venv/lib/python3.6/site-packages/requests/utils.py", line 449, in iter_slices
    def iter_slices(string, slice_length):
SystemError: error return without exception set
Exception ignored in: <generator object urlsplit.<locals>.<genexpr> at 0x1095fffc0>
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/parse.py", line 431, in <genexpr>
    if not rest or any(c not in '0123456789' for c in rest):
SystemError: error return without exception set
Exception ignored in: <generator object iter_slices at 0x1095ffba0>
Traceback (most recent call last):
  File "~/.venv/lib/python3.6/site-packages/requests/utils.py", line 449, in iter_slices
    def iter_slices(string, slice_length):
SystemError: error return without exception set

It happens when I make requests in many threading.Thread

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
fhlee74commented, May 2, 2018

Have anyone figured out how to fix this issue?

9reactions
jimas14commented, Jun 13, 2018

@fhlee74 I seem to have fixed this issue by running my script in a 2.7 env instead of 3.6. The issue did seem to be worse when running > 1 threads in 3.6 but would still happen with just one thread. On 2.7 I have 10 threads running again and haven’t seen the exception.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SystemError: error return without exception set, when using ...
I had a similar problem when using Gensim Word2vec models, also using debugger in Python 3.6 / PyCharm 2018.2. Just as a quick...
Read more >
Solved: SystemError: error return without exception set
Solved: This error "SystemError: error return without exception set" only recently popped up in an implementation and it only happens on ...
Read more >
SystemError: error return without exception set, when using ...
SystemError : error return without exception set, when using requests and debugger. 1. Relates to 1. Relates to 1 issue (0 unresolved).
Read more >
1058297 – SystemError: error return without exception set
Under certain rare circumstances, the anaconda installer does not interact correctly with yum and returns an error with no exception set.
Read more >
SystemError: error return without exception set!!!
i see this error: "SystemError: error return without exception set" Does anybody can help me? why i have this? because i did not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found