-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'os' has no attribute 'startfile' #25
Comments
Fixed. |
Thaks for your work. @hako-mikan Traceback (most recent call last): |
That button is not for selecting files but for opening folders, so it's working as intended. |
Thanks for your reply. What can I do for the "apply" issue? After target file path inputed into the text box, when I clicked the "apply" button, many error boxes poped up on every inputbox. In the terminal, the below information was printed out: Traceback (most recent call last): |
Enter only the file name, not the full path. |
Thanks. Traceback (most recent call last): |
on Ubuntu, while the open folder button was clicked, it did nothing, and an error was printed in the terminal, as below shown. Seems the scripts does not consider platform difference for this feature.
Traceback (most recent call last): File "/home/u01/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "/home/u01/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api result = await self.call_function( File "/home/u01/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "/home/u01/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/u01/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/u01/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/u01/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper response = f(*args, **kwargs) File "/home/u01/stable-diffusion-webui/extensions/sd-webui-traintrain/scripts/traintrain.py", line 392, in openfolder_f os.startfile(jsonspath) AttributeError: module 'os' has no attribute 'startfile'
The text was updated successfully, but these errors were encountered: