DEX-1101 / sd-webui-notebook

Stable Diffusion Web UI Notebook
30 stars 2 forks source link

Error when run the first cell #7

Open SpiritBeast opened 1 week ago

SpiritBeast commented 1 week ago

Hello, I'm new to kaggle & got this error on first cell. Do you know how to fix it?


OSError Traceback (most recent call last) File /opt/conda/lib/python3.10/site-packages/IPython/core/magics/execution.py:716, in ExecutionMagics.run(self, parameter_s, runner, file_finder) 715 fpath = arg_lst[0] --> 716 filename = file_finder(fpath) 717 except IndexError as e:

File /opt/conda/lib/python3.10/site-packages/IPython/utils/path.py:90, in get_py_filename(name) 89 return py_name ---> 90 raise IOError("File %r not found." % name)

OSError: File 'x1101.py' not found.

The above exception was the direct cause of the following exception:

Exception Traceback (most recent call last) Cell In[1], line 9 6 get_ipython().system('curl -s -OL https://github.com/DEX-1101/sd-webui-notebook/raw/main/res/pastebin_dl.py style="color:rgb(175,0,0)">') 7 get_ipython().system('curl -s -OL https://github.com/DEX-1101/sd-webui-notebook/raw/main/res/get_ip.py style="color:rgb(175,0,0)">') ----> 9 get_ipython().run_line_magic('run', 'x1101.py') 10 get_ipython().system('wget -q {import_config} -O {ui}/config.json') 12 # Custom code here ================

File /opt/conda/lib/python3.10/site-packages/IPython/core/interactiveshell.py:2456, in InteractiveShell.run_line_magic(self, magic_name, line, _stack_depth) 2454 kwargs['local_ns'] = self.get_local_scope(stack_depth) 2455 with self.builtin_trap: -> 2456 result = fn(*args, **kwargs) 2458 # The code below prevents the output from being displayed 2459 # when using magics with decorator @output_can_be_silenced 2460 # when the last Python token in the expression is a ';'. 2461 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):

File /opt/conda/lib/python3.10/site-packages/IPython/core/magics/execution.py:727, in ExecutionMagics.run(self, parameter_s, runner, file_finder) 725 if os.name == 'nt' and re.match(r"^'.*'$",fpath): 726 warn('For Windows, use double quotes to wrap a filename: %run "mypath\myfile.py"') --> 727 raise Exception(msg) from e 728 except TypeError: 729 if fpath in sys.meta_path:

Exception: File 'x1101.py' not found.

DEX-1101 commented 1 week ago

try again, the file "1101.py" is not downloaded properly Screenshot_80