Repository: spyder-ide/spyder

Issue:
Troubleshoting Guide from issue reporter not working
## Description

### What steps will reproduce the problem?

<!--- You can use Markdown here --->

issue reporter asks to consult Troubleshooting guide, but when clicked returns 404 error - page not found

### Traceback
```python-traceback
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000521659851074,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0151731967926025,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0000829696655273,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0036203861236572,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0047097206115723,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.012406349182129,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0046489238739014,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0005300045013428,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0001060962677,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0004782676696777,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000619649887085,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000807762145996,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000246286392212,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0082154273986816,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0083224773406982,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0038793087005615,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0005555152893066,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0007426738739014,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.001133441925049,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0009796619415283,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.001063346862793,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0010476112365723,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000412940979004,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000772714614868,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0006041526794434,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0009372234344482,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0101122856140137,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0118417739868164,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0079684257507324,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0008089542388916,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0007033348083496,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0004019737243652,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.001345157623291,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0003762245178223,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0013582706451416,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0005810260772705,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000267744064331,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000847339630127,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000065565109253,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0010712146759033,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0001978874206543,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000138282775879,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0014288425445557,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.001479387283325,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (2.9999783039093018,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000321388244629,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.014986276626587,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0023369789123535,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.01210880279541,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000720262527466,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0072062015533447,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.042808771133423,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.013871192932129,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0000855922698975,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.009319543838501,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.001063346862793,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0014255046844482,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.014360189437866,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0058984756469727,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.013353109359741,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0019960403442383,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0000171661376953,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.005117416381836,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0000503063201904,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0006000995635986,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0004465579986572,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0054657459259033,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0126707553863525,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.013340473175049,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0005385875701904,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0004239082336426,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000683546066284,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.001103401184082,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0011723041534424,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000760555267334,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0005691051483154,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.007730722427368,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0075812339782715,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.006502151489258,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0072689056396484,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0000007152557373,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0005950927734375,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0000786781311035,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0145208835601807,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000845193862915,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0001907348632812,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0056798458099365,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.012345314025879,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0065410137176514,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.009462356567383,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.001521587371826,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.00868558883667,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0114550590515137,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0004079341888428,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0011534690856934,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000861883163452,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0104565620422363,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000437021255493,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000147819519043,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0009312629699707,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0007143020629883,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0106019973754883,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.011075973510742,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0103118419647217,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0023036003112793,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0147578716278076,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.004093647003174,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.002164363861084,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000410556793213,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.003103494644165,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0067057609558105,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000772714614868,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000105142593384,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0153563022613525,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000640392303467,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0001256465911865,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000624656677246,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000457763671875,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0039138793945312,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0002498626708984,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.007061719894409,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000265598297119,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0104453563690186,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0011911392211914,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0002946853637695,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.001467704772949,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.012162685394287,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0001089572906494,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0108959674835205,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000128746032715,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.009587287902832,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000722646713257,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\reporterror.py", line 380, in _submit_to_github
    github_report = github_backend.send_report(title, issue_text)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 126, in send_report
    credentials = self.get_user_credentials()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\backend.py", line 216, in get_user_credentials
    credentials = DlgGitHubLogin.login(
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\widgets\github\gh_login.py", line 145, in login
    if dlg.exec_() == dlg.Accepted:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0002667903900146,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0150866508483887,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0004312992095947,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0066146850585938,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.000864267349243,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\start.py", line 227, in main
    mainwindow.main(options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2311, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\spyder\app\mainwindow.py", line 2207, in create_window
    app.exec_()
  File "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (3.0012993812561035,)
```

## Versions

* Spyder version: 5.0.1 
* Python version: 3.8.5
* Qt version: 5.12.10
* PyQt5 version: 5.12.3
* Operating System: Windows 10

### Dependencies

```

# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  3.0.4 (OK)
cloudpickle >=0.5.0           :  1.6.0 (OK)
cookiecutter >=1.6.0          :  1.7.2 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.1.0 (OK)
IPython >=7.6.0               :  7.18.1 (OK)
jedi =0.17.2                  :  0.17.2 (OK)
jsonschema >=3.2.0            :  3.2.0 (OK)
keyring >=17.0.0              :  21.4.0 (OK)
nbconvert >=4.0               :  5.6.1 (OK)
numpydoc >=0.6.0              :  1.1.0 (OK)
paramiko >=2.4.0              :  2.7.2 (OK)
parso =0.7.0                  :  0.7.0 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.7.2 (OK)
pygments >=2.0                :  2.6.1 (OK)
pylint >=1.0                  :  2.6.0 (OK)
pyls >=0.36.2;<1.0.0          :  0.36.2 (OK)
pyls_black >=0.4.6            :  0.4.6 (OK)
pyls_spyder >=0.3.2           :  0.3.2 (OK)
qdarkstyle =3.0.2             :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.1.10 (OK)
qtawesome >=1.0.2             :  1.0.2 (OK)
qtconsole >=5.0.3             :  5.0.3 (OK)
qtpy >=1.5.0                  :  1.9.0 (OK)
rtree >=0.8.3                 :  0.9.4 (OK)
setuptools >=39.0.0           :  49.6.0.post20200814 (OK)
sphinx >=0.6.6                :  3.2.1 (OK)
spyder_kernels >=2.0.1;<2.1.0 :  2.0.1 (OK)
textdistance >=4.2.0          :  4.2.1 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3;<2.0.0      :  0.10.3 (OK)
zmq >=17                      :  19.0.1 (OK)

# Optional:
cython >=0.21                 :  0.29.14 (OK)
matplotlib >=2.0.0            :  3.3.1 (OK)
numpy >=1.7                   :  1.19.1 (OK)
pandas >=1.1.1                :  1.1.1 (OK)
scipy >=0.17.0                :  1.5.0 (OK)
sympy >=0.7.3                 :  None (NOK)
```



Discussion:
This issue was found while trying to report another issue, related to remote connection to WSL2 in windows
Hi @kamfonas,

Can you please explain me how can I try to reproduce this issue? 
Hi StephannieTry the URL https://docs.spyder-ide.org/current/first-steps.html. From my browser it leads to a 404. This happens to be the link under "Troubleshooting Guide" in the issue reporter popup, raised when an internal error occurs. In my case, i was trying to connect to a remote existing  python kernel (Consoles > connect to an existing kernel, and try to connect to a WSL2 python kernel from windows) and i got the issue reporter screen saying that Spyder encountered an internal problem. When i tried to follow the directions to check the troubleshooting guide, I came across the dangling link. The problem I am reporting is just the bad link. I understand that the issue came with a lot of specifics about the remote kernel connection,  which I plan to troubleshoot before reporting it if i find it to be a problem.To reproduce the dangling URL problem, come up with any way to bring up the "issue reporter" screen and click on the link "Troubleshooting Guide". This link leads to nowhere.I am on Spyder 5.0.1.MichaelSent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: Stephannie Jimenez Gacha ***@***.***> Date: 4/19/21  5:51 PM  (GMT-05:00) To: spyder-ide/spyder ***@***.***> Cc: farsipal ***@***.***>, Mention ***@***.***> Subject: Re: [spyder-ide/spyder] Troubleshoting Guide from issue reporter not working (#15348) 
Hi @kamfonas,
Can you please explain me how can I try to reproduce this issue?

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for the explanation @kamfonas, we will work on fixing this broken link for our next release.

Please open a new issue once you troubleshoot the kernel connection error.

Resolving patch:
diff --git a/spyder/__init__.py b/spyder/__init__.py
--- a/spyder/__init__.py
+++ b/spyder/__init__.py
@@ -38,7 +38,7 @@
 __license__ = __doc__
 __project_url__ = 'https://github.com/spyder-ide/spyder'
 __forum_url__   = 'https://groups.google.com/group/spyderlib'
-__trouble_url__ = 'https://docs.spyder-ide.org/current/first-steps.html'
+__trouble_url__ = 'https://tinyurl.com/spyder-first-steps'
 __trouble_url_short__ = 'https://tinyurl.com/SpyderHelp'
 __website_url__ = 'https://www.spyder-ide.org/'
 __docs_url__ = 'https://docs.spyder-ide.org/'


Test patch: