AttributeError when running with --verbose option
@zvr is already working on this.
Since Feb 20, 2025.
Assessment
This issue has not been assessed yet.
Description
When running the spec-parser with a print verbose information option, an AttributeError occurs.
Command line:
python spec-parser/main.py -v -n spdx-3-model/model
Error messages:
Traceback (most recent call last):
File "/Users/arthit/projects/spec-parser/main.py", line 9, in <module>
cfg = RunParams("spec-parser")
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/arthit/projects/spec-parser/runparams.py", line 19, in __init__
opt_force = self.process_args()
^^^^^^^^^^^^^^^^^^^
File "/Users/arthit/projects/spec-parser/runparams.py", line 95, in process_args
self.log.basicConfig(level=logging.INFO)
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Logger' object has no attribute 'basicConfig'
- Dominant language
- Python
- Stars
- 11
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
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.
More from spdx/spec-parser
-
spdx/spec-parser#214 · 5 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
spdx/spec-parser#207 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
spdx/spec-parser#204 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
spdx/spec-parser#203 ·
-
spdx/spec-parser#198 · 1 comment · 2 assignees ·
All issues in spdx/spec-parser
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100