scverse / scverse/decoupler

SSLError: [ASN1: NOT_ENOUGH_DATA] when calling dc.op.progeny() on Windows

Open
#342 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
294
Forks
38
Avg merge
4d 17h
Merged PRs (30d)
3

Description

Hello,
When I try to call dc.op.progeny(organism="human") it raises an SSLError on Windows.

Example

import decoupler as dc
progeny = dc.op.progeny(organism="human")


File .../decoupler/op/_progeny.py:68, in progeny(...)
    p = resource(name="PROGENy", ...)

File .../decoupler/op/_resource.py:79, in resource(...)
    names = set(show_resources()["name"])

File .../decoupler/op/_resource.py:30, in show_resources()
    ann = pd.read_csv("https://omnipathdb.org/queries/annotations", sep="\t")

...

File .../ssl.py:584, in SSLContext._load_windows_store_certs(self, storename, purpose)
    self.load_verify_locations(cadata=certs)

SSLError: [ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4030)`

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing dc.op.progeny(organism="human") on Windows and trace the call through decoupler/op/_progeny.py and decoupler/op/_resource.py to the pd.read_csv request shown in the traceback. The work is done when the Windows call no longer raises the reported ASN1 SSL error; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.