You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The argument --start_date of configAdmin.py accepts a format %d/%m/%Y, while python accepts %m%d%Y. The configAdmin script does not correct the value, so the system complains:
"""
Traceback (most recent call last):
File "createAdmin.py", line 102, in
main(parser)
File "createAdmin.py", line 78, in main
if insertIntoDB(admin):
File "createAdmin.py", line 46, in insertIntoDB
admin=True)
File "../pubblicazioniASDC/userDAO.py", line 274, in add_user
'start_date': datetime.strptime(kwargs['start_date'].rstrip(), c.DATE_FORMAT),
File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data '13/01/2016' does not match format '%m/%d/%Y'
"""
The text was updated successfully, but these errors were encountered:
The argument --start_date of configAdmin.py accepts a format %d/%m/%Y, while python accepts %m%d%Y. The configAdmin script does not correct the value, so the system complains:
"""
Traceback (most recent call last):
File "createAdmin.py", line 102, in
main(parser)
File "createAdmin.py", line 78, in main
if insertIntoDB(admin):
File "createAdmin.py", line 46, in insertIntoDB
admin=True)
File "../pubblicazioniASDC/userDAO.py", line 274, in add_user
'start_date': datetime.strptime(kwargs['start_date'].rstrip(), c.DATE_FORMAT),
File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data '13/01/2016' does not match format '%m/%d/%Y'
"""
The text was updated successfully, but these errors were encountered: