ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 22, in
get_ipython().run_line_magic('cd', '/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/')
File "/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py", line 2314, in run_line_magic
result = fn(*args, kwargs)
File "", line 2, in cd
File "/usr/local/lib/python3.9/dist-packages/IPython/core/magic.py", line 187, in
call = lambda f, *a, *k: f(a, k)
File "/usr/local/lib/python3.9/dist-packages/IPython/core/magics/osm.py", line 334, in cd
oldcwd = os.getcwd()
OSError: [Errno 107] Transport endpoint is not connected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py", line 2040, in showtraceback
stb = value._rendertraceback()
AttributeError: 'OSError' object has no attribute '_rendertraceback'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/IPython/core/ultratb.py", line 1101, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "/usr/local/lib/python3.9/dist-packages/IPython/core/ultratb.py", line 319, in wrapped
return f(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/IPython/core/ultratb.py", line 353, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "/usr/lib/python3.9/inspect.py", line 1543, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "/usr/lib/python3.9/inspect.py", line 1501, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "/usr/lib/python3.9/inspect.py", line 709, in getsourcefile
if getattr(getmodule(object, filename), 'loader', None) is not None:
File "/usr/lib/python3.9/inspect.py", line 738, in getmodule
file = getabsfile(object, _filename)
File "/usr/lib/python3.9/inspect.py", line 722, in getabsfile
return os.path.normcase(os.path.abspath(_filename))
File "/usr/lib/python3.9/posixpath.py", line 380, in abspath
cwd = os.getcwd()
OSError: [Errno 107] Transport endpoint is not connected
ERROR:root:Internal Python error in the inspect module. Below is the traceback from this internal error.
Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py", line 3326, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 22, in
get_ipython().run_line_magic('cd', '/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/')
File "/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py", line 2314, in run_line_magic
result = fn(*args, kwargs)
File "", line 2, in cd
File "/usr/local/lib/python3.9/dist-packages/IPython/core/magic.py", line 187, in
call = lambda f, *a, *k: f(a, k)
File "/usr/local/lib/python3.9/dist-packages/IPython/core/magics/osm.py", line 334, in cd
oldcwd = os.getcwd()
OSError: [Errno 107] Transport endpoint is not connected
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py", line 2040, in showtraceback stb = value._rendertraceback() AttributeError: 'OSError' object has no attribute '_rendertraceback'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/IPython/core/ultratb.py", line 1101, in get_records return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset) File "/usr/local/lib/python3.9/dist-packages/IPython/core/ultratb.py", line 319, in wrapped return f(*args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/IPython/core/ultratb.py", line 353, in _fixed_getinnerframes records = fix_frame_records_filenames(inspect.getinnerframes(etb, context)) File "/usr/lib/python3.9/inspect.py", line 1543, in getinnerframes frameinfo = (tb.tb_frame,) + getframeinfo(tb, context) File "/usr/lib/python3.9/inspect.py", line 1501, in getframeinfo filename = getsourcefile(frame) or getfile(frame) File "/usr/lib/python3.9/inspect.py", line 709, in getsourcefile if getattr(getmodule(object, filename), 'loader', None) is not None: File "/usr/lib/python3.9/inspect.py", line 738, in getmodule file = getabsfile(object, _filename) File "/usr/lib/python3.9/inspect.py", line 722, in getabsfile return os.path.normcase(os.path.abspath(_filename)) File "/usr/lib/python3.9/posixpath.py", line 380, in abspath cwd = os.getcwd() OSError: [Errno 107] Transport endpoint is not connected
This is in the UI notebook.