audreyfeldroy / audreyfeldroy/standardjson
i get an error while importing with a .py file
- Dominant language
- Python
- Stars
- 18
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
when i run the file converted to txt provided i get an error looking like this
"
Traceback (most recent call last):
File "/home/justin/Desktop/pkmn/main.py", line 10, in
expansion = json.load(expan_list)
File "/usr/lib/python3.6/json/__init__.py", line 296, in load
return loads(fp.read(),
AttributeError: 'str' object has no attribute 'read'
"
[main.txt](https://github.com/audreyr/standardjson/files/3171036/main.txt)
dont know what to make of it
Contributor guide
Research direction
Start with the attached main.txt and the traceback at main.py line 10, where json.load receives the reported value. Determine whether the report identifies a reproducible problem in this repository or an issue in the user's script; a contribution would need a clearly scoped, reproducible failure and a corresponding test or documented resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100