TypeError when loading task json data
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 95
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 1
Description
Traceback (most recent call last):
File "./test.py", line 4, in purge_tasktiger_error_queues
count, tasks = Task.tasks_from_queue(tiger, queue, ERROR)
File "./venv/lib/python3.5/site-packages/tasktiger/task.py", line 393, in tasks_from_queue
data = json.loads(serialized_data)
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'NoneType'
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 at task.py:393 in Task.tasks_from_queue and trace the serialized_data path from the test.py call shown in the traceback. Determine why None reaches json.loads, then confirm the intended handling with maintainers; done should include an agreed behavior and a regression test for this failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100