mitodl / mitodl/release-script
Error starting a release
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 16
- Forks
- 8
- Avg merge
- 11h 47m
- Merged PRs (30d)
- 2
Description
2021-09-27T15:34:44.901111+00:00 app[web.1]: Traceback (most recent call last):
2021-09-27T15:34:44.901112+00:00 app[web.1]: File "/app/bot.py", line 1442, in handle_webhook
2021-09-27T15:34:44.901113+00:00 app[web.1]: await self.release_command(
2021-09-27T15:34:44.901113+00:00 app[web.1]: File "/app/bot.py", line 559, in release_command
2021-09-27T15:34:44.901113+00:00 app[web.1]: await self._new_release(
2021-09-27T15:34:44.901114+00:00 app[web.1]: File "/app/bot.py", line 528, in _new_release
2021-09-27T15:34:44.901114+00:00 app[web.1]: await self._web_application_release(
2021-09-27T15:34:44.901115+00:00 app[web.1]: File "/app/bot.py", line 439, in _web_application_release
2021-09-27T15:34:44.901115+00:00 app[web.1]: pr_number=release_pr.number,
2021-09-27T15:34:44.901115+00:00 app[web.1]: AttributeError: 'NoneType' object has no attribute 'number'
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 in bot.py at line 439 and follow the _web_application_release call chain through lines 528, 559, and 1442. Investigate why release_pr is None when its number is accessed, then verify that starting a release no longer raises this AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100