python-o365 icon indicating copy to clipboard operation
python-o365 copied to clipboard

EOFError: EOF when reading a line in s/O365/account.py", line 96 & /O365/utils/consent.py

Open udhaya28031995 opened this issue 3 years ago • 3 comments

After the authenticationURL is printed in logs, EOFError: EOF when reading a line

Logs below: [2022-03-17 07:00:50,854] {logging_mixin.py:120} INFO - Visit the following url to give consent: [2022-03-17 07:00:50,855] {logging_mixin.py:120} INFO - *** URL *** (deleted the URL for security reasons) INFO - Paste the authenticated url here: WARNING - --- Logging error --- During handling of the above exception, another exception occurred: [2022-03-17 07:00:50,870] {taskinstance.py:1152} ERROR - ('unable to authenticate', EOFError('EOF when reading a line')) Traceback (most recent call last):

udhaya28031995 avatar Mar 17 '22 11:03 udhaya28031995

Not O365 related but I think this is what happens:

It's something that happens when using certain console and when the text overflows the screen.

After pasting the url But before hitting enter go to the first char in the line then hit enter

alejcas avatar Mar 31 '22 11:03 alejcas

Not O365 related but I think this is what happens:

It's something that happens when using certain console and when the text overflows the screen.

After pasting the url But before hitting enter go to the first char in the line then hit enter

I'm executing the code in GCP airflow. Not through command line.

udhaya28031995 avatar Jun 09 '22 13:06 udhaya28031995

I've never used that so I can't say Don't know what limitations GCP airflow have.

alejcas avatar Jul 11 '22 09:07 alejcas