Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

DiskClick

Emulate Old hard drive sounds in Windows Using Your Own C Drive · By Deervo

Not finding sound files

A topic by Krusher created Feb 20, 2024 Views: 182 Replies: 3
Viewing posts 1 to 4

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>

Developer

make sure the load sound folder has a looping.wav and a load.wav 

Developer

if that does not work delete the saved drives txt folder or find where the seagate st drive is copy the directory and paste it into the txt 

Deleted the saved drives txt and it works now, thanks!