Deleted the saved drives txt and it works now, thanks!
Krusher
Recent community posts
When executed on Windows 10 with Python 3:
D:\programas\DiskClick>python DiskClick.pyw
pygame 2.5.2 (SDL 2.28.3, Python 3.12.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "D:\programas\DiskClick\DiskClick.pyw", line 274, in <module>
start_disk_activity_monitor()
File "D:\programas\DiskClick\DiskClick.pyw", line 250, in start_disk_activity_monitor
load_sounds_from_folder(saved_folder)
File "D:\programas\DiskClick\DiskClick.pyw", line 123, in load_sounds_from_folder
load_sound_files = [file for file in os.listdir(folder_path) if file.startswith("load") and file.endswith(".wav")]
^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] El sistema no puede encontrar la ruta especificada: "C:/Users/Administrator/Desktop/DiskClick/Hard Drive Samples/1980'S/Seagate ST-125"
Exception in thread Thread-1 (monitor_disk_activity):
Traceback (most recent call last):
File "C:\Python312\Lib\threading.py", line 1073, in _bootstrap_inner
self.run()
File "C:\Python312\Lib\threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "D:\programas\DiskClick\DiskClick.pyw", line 92, in monitor_disk_activity
append_to_debug_window(text_area, "Disk activity below threshold.\n")
File "D:\programas\DiskClick\DiskClick.pyw", line 174, in append_to_debug_window
text_area.insert(tk.END, text)
File "C:\Python312\Lib\tkinter\__init__.py", line 3826, in insert
self.tk.call((self._w, 'insert', index, chars) + args)
RuntimeError: main thread is not in main loop
D:\programas\DiskClick>