void-linux / void-linux/void-packages

papis: No module named 'cgi'

Open
#55,258 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 6.12.24_1 x86_64 GenuineIntel notuptodate rrFFFFFF

Package(s) Affected

papis-0.13_4

Does a report exist for this bug with the project's home (upstream) and/or another distro?

A similar (error message wise) but different bug is reported https://github.com/papis/papis/discussions/867

Expected behaviour

No error message thrown when running papis.

The necessity of having papis in the repository could also be revised as this python project can easily be installed with pipx.

Actual behaviour
Error while loading entrypoint 'EntryPoint(name='serve', value='papis.commands.serve:cli', group='papis.command')': No module named 'cgi'.
Steps to reproduce
  1. Run papis

Contributor guide

Open the contributing guide

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 with the papis-0.13_4 package definition in the Void packages repository and reproduce the issue by running papis. Check the package's Python compatibility and the upstream discussion linked in the report. Done means the packaged papis command runs without the No module named 'cgi' error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.