5rahim / seanime

Scan, automate and enjoy your anime collection, read manga, track your progress and more - all in one place.
https://seanime.rahim.app
MIT License
159 stars 7 forks source link

bug: Error: manga feature not enabled #90

Closed GiFuJo closed 1 day ago

GiFuJo commented 3 days ago

Checklist

Bug Severity

Low

Bug Area

Settings

Bug Description / Steps to Reproduce

Whenever I start the server and access the web interface I get the error:

Error: manga feature not enabled

I have disabled manga in settings and still get this error every time I access the web interface.

Expected Behavior

If the manga functionality is disabled in settings this shouldn't trigger an error telling you so.

Screenshots

No response

Logs

C:\Users\REDACTED\Documents\Projects\seanime>seanime.exe --datadir data

        .-----.
       /    _ /
       \_..`--.
       .-._)   \
       \       /
        `-----'

    Seanime
        1.7.0
            Tsuru

|2024-07-02 17:50:16| |INF| app > Seanime 1.7.0-Tsuru
|2024-07-02 17:50:16| |INF| app > OS: windows
|2024-07-02 17:50:16| |INF| app > Arch: amd64
|2024-07-02 17:50:16| |INF| app > Processor count: 24
|2024-07-02 17:50:16| |DBG| app > Initializing config
|2024-07-02 17:50:16| |TRC| app > Overriding default data directory dataDir=data
|2024-07-02 17:50:16| |INF| app > Data directory: data
|2024-07-02 17:50:16| |INF| app > Working directory: C:\Users\REDACTED\Documents\Projects\seanime
|2024-07-02 17:50:16| |INF| db > Database instantiated name=seanime.db
|2024-07-02 17:50:16| |DBG| db > Local files retrieved
|2024-07-02 17:50:16| |DBG| manga downloader > Reading download directory
|2024-07-02 17:50:16| |TRC| ws > Sending message type=refreshed-manga-download-data
|2024-07-02 17:50:16| |DBG| app > Refreshing modules
|2024-07-02 17:50:16| |DBG| app > Initializing Anilist data
|2024-07-02 17:50:16| |DBG| anilist > Fetching anime collection username=REDACTED
|2024-07-02 17:50:16| |INF| watcher > Watching directory: "anime"
|2024-07-02 17:50:16| |INF| app > Library size: 0 B
|2024-07-02 17:50:18| |WRN| anilist > Successful Request (slow) rlr=89 rtt=2.238s
|2024-07-02 17:50:18| |INF| app > Fetched Anilist collection
|2024-07-02 17:50:18| |INF| app > Refreshed modules
|2024-07-02 17:50:18| |INF| mediastream > Module initialized
|2024-07-02 17:50:18| |INF| torrentstream > Module is disabled
|2024-07-02 17:50:18| |INF| app > Serving embedded web interface
|2024-07-02 17:50:18| |INF| app > Web assets path: data\assets
|2024-07-02 17:50:18| |INF| app > Manga downloads path: data\manga
|2024-07-02 17:50:18| |INF| app > Server Address: 127.0.0.1:43211
|2024-07-02 17:50:18| |INF| app > Seanime started at http://127.0.0.1:43211
|2024-07-02 17:55:36| |INF| api > Success latency=2.3199ms method=GET url=/api/v1/status
|2024-07-02 17:55:36| |DBG| ws > Client connected id=REDACTED
|2024-07-02 17:55:36| |ERR| api > Error latency=0s method=GET url=/api/v1/manga/collection
|2024-07-02 17:55:36| |INF| api > Success latency=0s method=GET url=/api/v1/auto-downloader/items
|2024-07-02 17:55:36| |INF| api > Success latency=4.6626ms method=GET url=/api/v1/library/missing-episodes
|2024-07-02 17:55:36| |INF| api > Success latency=6.3622ms method=GET url=/api/v1/anilist/collection
|2024-07-02 17:55:36| |INF| api > Success latency=6.0005ms method=GET url=/api/v1/library/collection
|2024-07-02 17:55:43| |INF| api > Success latency="85.2µs" method=POST url=/api/v1/directory-selector
|2024-07-02 17:55:43| |INF| api > Success latency="418.6µs" method=GET url=/api/v1/mediastream/settings
|2024-07-02 17:55:43| |INF| api > Success latency=0s method=GET url=/api/v1/torrentstream/settings
|2024-07-02 17:55:47| |INF| api > Success latency="493µs" method=POST url=/api/v1/directory-selector
|2024-07-02 17:56:01| |INF| api > Success latency=6.7084ms method=GET url=/api/v1/library/collection
|2024-07-02 17:56:02| |DBG| ws > Client disconnection
|2024-07-02 17:56:05| |INF| api > Success latency="917.1µs" method=GET url=/api/v1/status
|2024-07-02 17:56:05| |DBG| ws > Client connected id=REDACTED
|2024-07-02 17:56:05| |INF| api > Success latency=0s method=GET url=/api/v1/auto-downloader/items
|2024-07-02 17:56:05| |INF| api > Success latency=1.5666ms method=GET url=/api/v1/library/missing-episodes
|2024-07-02 17:56:05| |INF| api > Success latency=4.8895ms method=GET url=/api/v1/anilist/collection
|2024-07-02 17:56:05| |INF| api > Success latency=6.6897ms method=GET url=/api/v1/library/collection
|2024-07-02 17:56:05| |ERR| api > Error latency=0s method=GET url=/api/v1/manga/collection
|2024-07-02 17:57:28| |INF| api > Success latency="157.1µs" method=POST url=/api/v1/directory-selector
|2024-07-02 17:57:28| |INF| api > Success latency=0s method=GET url=/api/v1/mediastream/settings
|2024-07-02 17:57:28| |INF| api > Success latency=12.6672ms method=GET url=/api/v1/torrentstream/settings

Debugging Checklist

App Version

v1.7.0

Operating System

Windows

5rahim commented 3 days ago

Thanks for reporting it. This might be the dumbest mistake I've made.