Skip to content

ROM Download fails if no ROM directory is set in the settings #25

@Viren070

Description

@Viren070

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. Wipe user data.
  2. Do not set the ROM directory in settings
  3. Attempt to download a ROM for Dolphin or Xenia
  4. Download button is stuck on Downloading... and is disabled (can switch pages to enable button again)
  5. FileNotFoundError raised by os.makedirs

Expected behavior
ROM downloads in current directory or warn user that no directory has been set.

Error

Exception in thread Thread-29 (download_rom_handler):
Traceback (most recent call last):
  File "threading.py", line 1073, in _bootstrap_inner
  File "threading.py", line 1010, in run
  File "gui\frames\xenia\xenia_rom_frame.py", line 58, in download_rom_handler
  File "gui\frames\xenia\xenia_rom_frame.py", line 80, in download_rom
  File "<frozen os>", line 225, in makedirs
FileNotFoundError: [WinError 3] The system cannot find the path specified: ''
Exception in thread Thread-31 (download_rom_handler):
Traceback (most recent call last):
  File "threading.py", line 1073, in _bootstrap_inner
  File "threading.py", line 1010, in run
  File "gui\frames\dolphin\dolphin_rom_frame.py", line 60, in download_rom_handler
  File "gui\frames\dolphin\dolphin_rom_frame.py", line 82, in download_rom
  File "<frozen os>", line 225, in makedirs
FileNotFoundError: [WinError 3] The system cannot find the path specified: ''

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions