tralph3 / Steam-Metadata-Editor

An easy to use GUI that edits the metadata of your Steam Apps
GNU General Public License v3.0
161 stars 18 forks source link

Config files creation problem on start #9

Closed TheBill2001 closed 2 years ago

TheBill2001 commented 2 years ago

Installed through AUR. Start the program from terminal prompt these errors:

Traceback (most recent call last):
  File "/usr/bin/steammetadataeditor", line 1553, in <module>
    STEAM_PATH = get_steam_path()
  File "/usr/bin/steammetadataeditor", line 1536, in get_steam_path
    makedirs(CONFIG_PATH)
  File "/usr/lib/python3.9/os.py", line 225, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/home/tuantran1632001/.local/share/Steam-Metadata-Editor/config'

Deleting the folder prompt these errors:

Traceback (most recent call last):
  File "/usr/bin/steammetadataeditor", line 1547, in <module>
    with open(f'{CONFIG_PATH}/config.cfg', 'w'):
FileNotFoundError: [Errno 2] No such file or directory: '/home/tuantran1632001/.local/share/Steam-Metadata-Editor/config/config.cfg'
cverstege commented 2 years ago

I can confirm the exact same behavior under Manjaro.

tralph3 commented 2 years ago

Should be fixed now. Thanks for reporting.