AttributeError when running with --verbose option
Open
@zvr is already working on this.
Since Feb 20, 2025.
- Dominant language
- Python
- Stars
- 11
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
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'
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.
Assessment
This issue has not been assessed yet.