OpenPrinting / OpenPrinting/system-config-printer
Doesn't run with PYTHONSAFEPATH enabled
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 204
- Forks
- 108
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
Doesn't run with PYTHONSAFEPATH enabled
dbus-:1.2-org.fedoraproject.Config.Printing@6.service: 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
Contributor guide
No contributing guide indexed for this repository
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.
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.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100