Traceback (most recent call last):
File "C:\Users\Razin\Documents\Python Scripts\Python_Venv\temp\webdriver_prac.py", line 55, in
print(msg.date)
File "C:\Users\Razin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\simon\chat\elements.py", line 38, in date
return self.get_cleaned_datetime()
File "C:\Users\Razin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\simon\chat\elements.py", line 60, in get_cleaned_datetime
return datetime.datetime.strptime(datetime_str, "[%H:%M, %m/%d/%Y]")
File "C:\Users\Razin\AppData\Local\Programs\Python\Python38-32\lib_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "C:\Users\Razin\AppData\Local\Programs\Python\Python38-32\lib_strptime.py", line 349, in _strptime
raise ValueError("time data %r does not match format %r" %
ValueError: time data '[6:35 am, 10/08/2020] Shanjabi' does not match format '[%H:%M, %m/%d/%Y]'
Traceback (most recent call last): File "C:\Users\Razin\Documents\Python Scripts\Python_Venv\temp\webdriver_prac.py", line 55, in
print(msg.date)
File "C:\Users\Razin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\simon\chat\elements.py", line 38, in date
return self.get_cleaned_datetime()
File "C:\Users\Razin\AppData\Local\Programs\Python\Python38-32\lib\site-packages\simon\chat\elements.py", line 60, in get_cleaned_datetime
return datetime.datetime.strptime(datetime_str, "[%H:%M, %m/%d/%Y]")
File "C:\Users\Razin\AppData\Local\Programs\Python\Python38-32\lib_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "C:\Users\Razin\AppData\Local\Programs\Python\Python38-32\lib_strptime.py", line 349, in _strptime
raise ValueError("time data %r does not match format %r" %
ValueError: time data '[6:35 am, 10/08/2020] Shanjabi' does not match format '[%H:%M, %m/%d/%Y]'