File…
Jump to turn (6)
- 1File "C:\Python\Python310-32\lib\site-packages\reporting\reportformatter\customf
- 2raise AttributeError(msg) AttributeError: 'Context' object has no attribute 'rep
- 3need function which fetched all values of the first column values and i want ite
- 4How to get only japan string from the text by removing all the other special cha
- 5wan to remove spaces, special characters and numeric numbers also
- 6regular expression for removing spaces, special characters and numeric numbers a
- User
File "C:\Python\Python310-32\lib\site-packages\reporting\reportformatter\customformatter.py", line 60, in scenario environment_info=CustomFormatter.access.get_environment_info() AttributeError: type object 'CustomFormatter' has no attribute 'access'
- Assistant
The error is occurring in the file "C:\Python\Python310-32\lib\site-packages\reporting\reportformatter\customformatter.py" on line 60.
In this line, there is a call to
CustomFormatter.access.get_environment_info(), but the error message suggests thatCustomFormatterdoes not have an attribute calledaccess.To resolve this issue, you need to ensure that the
CustomFormatterclass has an attribute namedaccesswith a methodget_environment_info(). Make sure that you have defined this attribute and method correctly within theCustomFormatterclass in your code.