BCML icon indicating copy to clipboard operation
BCML copied to clipboard

BCML Wont Launch

Open QuartzNeko opened this issue 5 years ago • 9 comments

I keep getting this error I dont know how to fix ``` raise RuntimeError("BCML could not load its settings file") from err RuntimeError: BCML could not load its settings file

QuartzNeko avatar Jun 02 '21 13:06 QuartzNeko

I would move your AppData\Local\bcml folder to your desktop as a backup, then start BCML. (Make sure you've moved it and not just copied it.) This will reset BCML to default settings, so you'll have to configure your Cemu folders again, but at least it should start working again.

  1. In Windows, click Start
  2. Type Run and hit enter
  3. Type %LOCALAPPDATA% and hit enter
  4. Find the bcml folder and move it to your desktop
  5. Start BCML

Once you've got BCML working again, you can delete the backup bcml folder on your desktop.

jordanbtucker avatar Jun 02 '21 15:06 jordanbtucker

When I do that nothing happens no error log either still does not open and then with bcml the error code is '[2021-06-02 13:16:37] Traceback (most recent call last): File "c:\users\vampire\appdata\local\programs\python\python37\lib\site-packages\bcml\util.py", line 605, in get_settings settings.update(json.loads(settings_path.read_text())) File "c:\users\vampire\appdata\local\programs\python\python37\lib\json_init_.py", line 348, in loads return _default_decoder.decode(s) File "c:\users\vampire\appdata\local\programs\python\python37\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "c:\users\vampire\appdata\local\programs\python\python37\lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Invalid \escape: line 9 column 20 (char 575)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "c:\users\vampire\appdata\local\programs\python\python37\lib\runpy.py", line 193, in run_module_as_main "main", mod_spec) File "c:\users\vampire\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\vampire\AppData\Local\Programs\Python\Python37\Scripts\bcml.exe_main.py", line 7, in sys.exit(main()) File "c:\users\vampire\appdata\local\programs\python\python37\lib\site-packages\bcml_main.py", line 94, in main configure_cef(debug) File "c:\users\vampire\appdata\local\programs\python\python37\lib\site-packages\bcml_main_.py", line 50, in configure_cef cache = util.get_storage_dir() / "cef_cache" File "c:\users\vampire\appdata\local\programs\python\python37\lib\site-packages\bcml\util.py", line 534, in get_storage_dir folder = get_settings("store_dir") File "c:\users\vampire\appdata\local\programs\python\python37\lib\site-packages\bcml\util.py", line 622, in get_settings raise RuntimeError("BCML could not load its settings file") from err RuntimeError: BCML could not load its settings file'

QuartzNeko avatar Jun 02 '21 17:06 QuartzNeko

Can you post your settings.json file located at c:\users\vampire\appdata\local\bcml\settings.json

jordanbtucker avatar Jun 02 '21 18:06 jordanbtucker

there is no settings.json

QuartzNeko avatar Jun 02 '21 22:06 QuartzNeko

Hmm. I'm not really sure how to help then. That error is saying there is a problem on line 9 of the file at %LOCALAPPDATA%\bcml\settings.json (or possibly tmp_settings.json), so I'm not sure why it's giving that error if neither of those files exist. Maybe the developer can chime in and help you out.

jordanbtucker avatar Jun 02 '21 23:06 jordanbtucker

I had this error on windows so I tried to do a clean install on my linux and I get same error

QuartzNeko avatar Jun 02 '21 23:06 QuartzNeko

Hmm. I just did a clean install on Ubuntu 20.04. I did get two different errors, but I only needed to add ~/.local/bin to my PATH and run sudo apt install qt5-default to fix them. It's working for me.

I did not get the error that you posted.

How are you installing BCML? I'm using pip install bcml with Python 3.8 on both Windows and Ubuntu.

jordanbtucker avatar Jun 03 '21 02:06 jordanbtucker

I am using the command Py -m pip install bcml, when that did not work I tried to do manual but same thing followed the githubs instructions and set paths on windows

QuartzNeko avatar Jun 03 '21 03:06 QuartzNeko

Sooo on my linux i got it working by typing xdg-mime --help windows not working but since i have it working on linux i will mark as solved

QuartzNeko avatar Jun 04 '21 08:06 QuartzNeko