-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ownfoil:v2 Unable to read json file #54
Comments
To identify every games Ownfoil uses the database from Tinfoil, which gets updated periodically by the creator by scraping the Nintendo e-shop. But sometimes files are updated with errors and so that breaks Ownfoil too, I opened an issue on the repository to see if we can prevent that from happening in the future (blawar/titledb#28). In the meantime, in Ownfoil the database is updated every start of the app (it will be updated periodically in the future), so you need to wait for the database to be fixed upstream and then a restart of the container should grab the latest update. Also make sure to pull the latest image, I should have fixed the git sparse-checkout issues with the latest commits. |
have the same with latest image of V2 Starting ownfoil |
I also verify that I have the same problem with the latest version. Starting ownfoil |
Fixed upstream by blawar, restarting Ownfoil should fix it locally. |
check the container log.. mabybe its indexing everything |
@shoyrock maybe you ran the app twice ? I would suggest stopping the container, removing the ./config/ownfoil.db file (you'll lose the users registered but the library will be indexed again) and restarting the container. |
I removed the container and did a clean install that seems to have worked, and I've also been having an issue where I’m unable to use a container on custom docker networks. It only works when using the host; I can’t use the bridge also. |
I updated to version 2 that came out yesterday, but I'm now getting this erroI was was working fine on the older version 2
Traceback (most recent call last):
File "/app/app.py", line 174, in
init()
File "/app/app.py", line 15, in init
update_titledb(app_settings)
File "/app/titles.py", line 173, in update_titledb
load_titledb(app_settings)
File "/app/titles.py", line 82, in load_titledb
cnmts_db = json.load(f)
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1115346 column 14 (char 37282819)
warning: The following paths are not up to date and were left despite sparse patterns:
US.en.json
After fixing the above paths, you may want to run
git sparse-checkout reapply
.Traceback (most recent call last):
File "/app/app.py", line 174, in
init()
File "/app/app.py", line 15, in init
update_titledb(app_settings)
File "/app/titles.py", line 173, in update_titledb
load_titledb(app_settings)
File "/app/titles.py", line 82, in load_titledb
cnmts_db = json.load(f)
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1115346 column 14 (char 37282819)
warning: The following paths are not up to date and were left despite sparse patterns:
US.en.json
After fixing the above paths, you may want to run
git sparse-checkout reapply
.Traceback (most recent call last):
File "/app/app.py", line 174, in
init()
File "/app/app.py", line 15, in init
update_titledb(app_settings)
File "/app/titles.py", line 173, in update_titledb
load_titledb(app_settings)
File "/app/titles.py", line 82, in load_titledb
cnmts_db = json.load(f)
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1115346 column 14 (char 37282819)
users:x:100:games
Starting ownfoil
users:x:100:games,ownfoil
ownfoil:x:99:100:Linux User,,,:/home/ownfoil:/sbin/nologin
Starting ownfoil
reading conf file
users:x:100:games,ownfoil
ownfoil:x:99:100:Linux User,,,:/home/ownfoil:/sbin/nologin
Starting ownfoil
reading conf file
The text was updated successfully, but these errors were encountered: