Code Monkey home page Code Monkey logo

Comments (8)

a1ex4 avatar a1ex4 commented on May 14, 2024 1

@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.

from ownfoil.

a1ex4 avatar a1ex4 commented on May 14, 2024

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.

from ownfoil.

acaltas avatar acaltas commented on May 14, 2024

have the same with latest image of V2

Starting ownfoil
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
reading conf file
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)

from ownfoil.

SiscuPrats avatar SiscuPrats commented on May 14, 2024

I also verify that I have the same problem with the latest version.

Starting ownfoil
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)

from ownfoil.

a1ex4 avatar a1ex4 commented on May 14, 2024

Fixed upstream by blawar, restarting Ownfoil should fix it locally.

from ownfoil.

shoyrock avatar shoyrock commented on May 14, 2024

Nice, I was able to get the container running but now I’m running into another error
image

from ownfoil.

acaltas avatar acaltas commented on May 14, 2024

check the container log.. mabybe its indexing everything

from ownfoil.

shoyrock avatar shoyrock commented on May 14, 2024

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.

from ownfoil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.