Doesn't run with PYTHONSAFEPATH enabled
Maintainers usually reply within 2 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
Research direction
Start by reproducing the D-Bus service failure with PYTHONSAFEPATH enabled, then inspect scp-dbus-service.py at line 33 and the referenced debug import. Done means the service starts successfully in that environment without the ModuleNotFoundError.
Written by the indexing model from the issue text.
Description
Doesn't run with PYTHONSAFEPATH enabled
dbus-:[email protected]: Main process exited, code=exited, status=1/FAILURE
ModuleNotFoundError: No module named 'debug'
from debug import *
File "/usr/share/system-config-printer/scp-dbus-service.py", line 33, in <module>
Relative imports should be relative imports, or sys.path should be modified with PYTHONPATH
- Dominant language
- Python
- Stars
- 209
- Forks
- 111
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/system-config-printer
-
Job viewer shows "Printer error" for cups-waiting-for-job-completedPossibly taken @RonitMehta08 claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
OpenPrinting/system-config-printer#494 ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 44/100
OpenPrinting/system-config-printer#499 ·
Maintainers usually reply within 2 days
-
[Release Tracking] system-config-printer 1.5.19 milestonePossibly taken @alexpevzner claimed this 16 days ago. Open
OpenPrinting/system-config-printer#492 · 1 comment · 2 assignees ·
Maintainers usually reply within 2 days
-
ScannerOpen
Difficulty 3/5 1-2 days Newbie friendliness 25/100
OpenPrinting/system-config-printer#407 · 1 comment ·
Maintainers usually reply within 2 days
-
system-config-printer can't open printer properties because job-cancel-after value is NonePossibly taken @xovishnukosuri claimed this 250 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
OpenPrinting/system-config-printer#385 · 1 comment ·
Maintainers usually reply within 2 days
All issues in OpenPrinting/system-config-printer
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NVlabs/physical_ai_av#29 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
UKGovernmentBEIS/inspect_ai#6666 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day