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
When starting to play with it I encountered an issue: when intentionally introducing an error (here absence of starttls on an account that needs it), he logging of your module flips. Generating long and iterated logs about logging errors, such as:
TypeError: not all arguments converted during string formatting
Call stack:
File "cb_mail.py", line 333, in <module>
rv = QApplication.instance().exec_()
File "cb_mail.py", line 259, in cb_on_account_login
self.an_account.cb_login()
File "D:\Software_MyDevelopment\Active\cb_mail\cb_account.py", line 162, in cb_login
login_function()
File "D:\Software_MyDevelopment\Active\cb_mail\cb_account.py", line 159, in login_function
self.settings["password"])
File "C:\Python37\lib\site-packages\imapclient\imapclient.py", line 379, in login
unpack=True,
File "C:\Python37\lib\site-packages\imapclient\imapclient.py", line 1707, in _command_and_check
typ, data = meth(*args)
File "C:\Python37\lib\imaplib.py", line 596, in login
typ, dat = self._simple_command('LOGIN', user, self._quote(password))
File "C:\Python37\lib\imaplib.py", line 1196, in _simple_command
return self._command_complete(name, self._command(name, *args))
File "C:\Python37\lib\imaplib.py", line 1019, in _command_complete
typ, data = self._get_tagged_response(tag)
File "C:\Python37\lib\imaplib.py", line 1143, in _get_tagged_response
self.print_log()
File "C:\Python37\lib\imaplib.py", line 1240, in print_log
self._mesg(*self._cmd_log[i])
Hi there, thanks for a great lib!
When starting to play with it I encountered an issue: when intentionally introducing an error (here absence of starttls on an account that needs it), he logging of your module flips. Generating long and iterated logs about logging errors, such as:
I don't think it matters, but this was the code:
My current workaround is selectively disabling logging:
You might want to review,
Camiel B.
The text was updated successfully, but these errors were encountered: