Permission issue rolling over log file
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Use the traceback's Python logging.handlers.doRollover path and the /database/herald.log to /database/herald.log.1 rename as the starting point. Reproduce the rollover and confirm it completes without PermissionError; the issue does not identify a repository file or test.
Written by the indexing model from the issue text.
Description
herald_1 | --- Logging error ---
herald_1 | Traceback (most recent call last):
herald_1 | File "/usr/lib/python3.9/logging/handlers.py", line 74, in emit
herald_1 | self.doRollover()
herald_1 | File "/usr/lib/python3.9/logging/handlers.py", line 177, in doRollover
herald_1 | self.rotate(self.baseFilename, dfn)
herald_1 | File "/usr/lib/python3.9/logging/handlers.py", line 115, in rotate
herald_1 | os.rename(source, dest)
herald_1 | PermissionError: [Errno 13] Permission denied: '/database/herald.log' -> '/database/herald.log.1'
- Dominant language
- Python
- Stars
- 15
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. 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 lbryio/hub
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Bump to protobuf==3.18.3 within lbry-sdk repo causes MacOS unit test failuresMay be free again @moodyjon claimed this 1351 days ago, and no pull request is open. Openpriority: high
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Herald needs to accept ipv6 ping and reply with an ipv6 pongMay be free again @moodyjon claimed this 1377 days ago, and no pull request is open. Openarea: herald new feature
-
area: herald type: bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
instance instance add
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
searxng/searx-instances#941 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
FluidNumerics/fluid-walk-blocker#89 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day