Failed to start a local webserver listening on either port 8080
or port 8090. Please check your firewall settings and locally
running programs that may be blocking or using those ports.
Falling back to --noauth_local_webserver and continuing with
authorization.
Go to the following link in your browser:
https://accounts.google.com/o/oauth2/auth?client_id=209731223819-lvbgmogno5i1fqo79kumthk68rrspha2.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.readonly&access_type=offline&response_type=code
Enter verification code:
--> -->
EOFError |
Python 3.11.12: /usr/bin/python3 Mon Sep 1 17:49:09 2025 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/httpdocs/cgi-bin/GetEvents.py in <module> |
413 CreateTable(maxItems,dates,thisMonth,thisYear,int(monthsAhead))
|
414
|
415
|
416 if __name__ == '__main__':
|
=> 417 main()
|
main = <function main> |
/httpdocs/cgi-bin/GetEvents.py in main() |
408 #print ("</body")
|
409 #print ("</html>")
|
=> 410 (thisMonth,thisYear)=FillDatabase(monthsAhead)
|
411 (maxItems,dates) = AllEvents()
|
412
|
thisMonth undefined, thisYear undefined, global FillDatabase = <function FillDatabase>, monthsAhead = '1' |
/httpdocs/cgi-bin/GetEvents.py in FillDatabase(monthsAhead='1') |
89 if not creds or creds.invalid:
|
90 flow = client.flow_from_clientsecrets('credentials.json', SCOPES)
|
=> 91 creds = tools.run_flow(flow, store)
|
92 service = build('calendar', 'v3', http=creds.authorize(Http()))
|
93
|
creds = None, global tools = <module 'oauth2client.tools' from '/httpdocs/cgi-bin/oauth2client/tools.py'>, tools.run_flow = <function run_flow>, flow = <oauth2client.client.OAuth2WebServerFlow object>, store = <oauth2client.file.Storage object> |
/httpdocs/cgi-bin/oauth2client/_helpers.py in positional_wrapper(*args=(<oauth2client.client.OAuth2WebServerFlow object>, <oauth2client.file.Storage object>), **kwargs={}) |
131 elif positional_parameters_enforcement == POSITIONAL_WARNING:
|
132 logger.warning(message)
|
=> 133 return wrapped(*args, **kwargs)
|
134 return positional_wrapper
|
135
|
wrapped = <function run_flow>, args = (<oauth2client.client.OAuth2WebServerFlow object>, <oauth2client.file.Storage object>), kwargs = {} |
/httpdocs/cgi-bin/oauth2client/tools.py in run_flow(flow=<oauth2client.client.OAuth2WebServerFlow object>, storage=<oauth2client.file.Storage object>, flags=Namespace(auth_host_name='localhost', noauth_loc...th_host_port=[8080, 8090], logging_level='ERROR'), http=None) |
238 sys.exit('Try running with --noauth_local_webserver.')
|
239 else:
|
=> 240 code = input('Enter verification code: ').strip()
|
241
|
242 try:
|
code = None, global input = <built-in function input>, ).strip undefined |
EOFError: EOF when reading a line
add_note =
<built-in method add_note of EOFError object>
args =
('EOF when reading a line',)
with_traceback =
<built-in method with_traceback of EOFError object>