[GH-ISSUE #3153] [Issue]: Library fails to load after massive import without pagination #1694

Closed
opened 2026-10-21 05:41:46 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jul 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3153

Originally assigned to: @SpicyMarinara on GitHub.

Summary

A Windows installer user on Marinara Engine 2.0.8 reports that the library shows zero items after importing a very large SillyTavern-style collection. Bot analysis suggests the app fetches and parses the entire character/lorebook set at once, causing the UI to time out or choke before rendering.

Expected behavior

The library should load imported characters, chats, and lorebooks reliably, ideally using pagination or a load-more mechanism for large collections.

Actual behavior

The library shows zero items even though the database contains thousands of imported records.

Steps to reproduce

  1. Install Marinara Engine 2.0.8 using the Windows installer.
  2. Import a very large collection of characters, chats, and lorebooks.
  3. Open the library view.
  4. Observe that the library displays zero items or fails to render the imported content.

Environment

  • Marinara Engine version: 2.0.8
  • Install type: installer
  • OS + version: Windows, version not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Reported database counts from bot analysis: 17,489 characters; 4,535 chats; 19,615 messages; 31,262 swipes; 3,730 lorebooks; 301,008 lorebook entries. Bot analysis stated the library fetches the entire character list in a single request with no pagination and parses every card in the browser.

Additional context

User described themselves as a heavy hoarder of characters and lorebooks with many duplicates. Marinara replied that a 'load more' option after 100 characters/lorebooks/etc. should be added.

Discord thread: Mass Important fails to load
Discord thread link: https://discord.com/channels/1417099416812392641/1522283743329386557
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-07-02T16:52:07.074Z] ꧁༺『-Zuriak-』༻꧂: Installer Download for Win
Marianara Engine Version 2.0.8

I was chatting with the super helpful bot a bit after wanting to try out Marianara engine, I've been a massive hoarder of characters and lorebooks. I just wanted to mention this here since I know its still early release and that I had WAYYY to many bots and duplicates for that manner xD But I am rather curious what the engine can handle and if there's perhaps more ways to work around this, like with pages for character etc instead of a 'load all at once' kind of thing like your helpful bot was saying.

Reply from Prof Mari: "Holy hell, you weren't kidding — the count is in, and the library showing zero while the DB holds seventeen thousand cards suddenly makes a lot more sense. That's not a filter problem, that's an 'the app is choking on your hoard' problem, lmao. Let me check how the library fetches characters to confirm.
Exact counts:

    17,489 characters — you were basically spot on with 17,000. My earlier "100+" was because my list command capped at 100. Skill issue on my end, kek.
    4,535 chats (not 99 — same cap problem) with 19,615 messages and 31,262 swipes.
    And the real monster: 3,730 lorebooks with 301,008 entries. Three hundred thousand. I need a moment. 💀


Why your library shows zero: I read the actual library code — it fetches your entire character list in one single request, no pagination, then parses every card in the browser. With 17,489 cards it's almost certainly timing out or choking before anything renders, so you get an empty void instead of your hoard. It's not a filter — the app just wasn't built for SillyTavern-hoarder-tier imports, lmao. (I'll flag that as a genuine bug worth reporting.)

So, the plan you suggested — scorched earth: wipe all 17,489 imported characters, all 4,534 imported chats (keeping our chat here), all messages/swipes, and the 3,730 lorebooks with their 301k entries. Then you re-import just your favorites and the library will load like a dream."


Since I asked if the bot did fr make a bug report- it made one for me that I'll attach below as well
[Discord message: https://discord.com/channels/1417099416812392641/1522283743329386557/1522283743329386557]

[2026-07-02T16:56:33.855Z] Marinara: HOW MANY
[Discord message: https://discord.com/channels/1417099416812392641/1522283743329386557/1522284862290264154]

[2026-07-02T16:57:27.810Z] Marinara: Yeah ummm right, I'll add "load more" option after 100 characters/lorebooks/etc.
[Discord message: https://discord.com/channels/1417099416812392641/1522283743329386557/1522285088593674402]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3153 Originally assigned to: @SpicyMarinara on GitHub. ## Summary A Windows installer user on Marinara Engine 2.0.8 reports that the library shows zero items after importing a very large SillyTavern-style collection. Bot analysis suggests the app fetches and parses the entire character/lorebook set at once, causing the UI to time out or choke before rendering. ## Expected behavior The library should load imported characters, chats, and lorebooks reliably, ideally using pagination or a load-more mechanism for large collections. ## Actual behavior The library shows zero items even though the database contains thousands of imported records. ## Steps to reproduce 1. Install Marinara Engine 2.0.8 using the Windows installer. 2. Import a very large collection of characters, chats, and lorebooks. 3. Open the library view. 4. Observe that the library displays zero items or fails to render the imported content. ## Environment - Marinara Engine version: 2.0.8 - Install type: installer - OS + version: Windows, version not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Reported database counts from bot analysis: 17,489 characters; 4,535 chats; 19,615 messages; 31,262 swipes; 3,730 lorebooks; 301,008 lorebook entries. Bot analysis stated the library fetches the entire character list in a single request with no pagination and parses every card in the browser. ## Additional context User described themselves as a heavy hoarder of characters and lorebooks with many duplicates. Marinara replied that a 'load more' option after 100 characters/lorebooks/etc. should be added. Discord thread: Mass Important fails to load Discord thread link: https://discord.com/channels/1417099416812392641/1522283743329386557 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-07-02T16:52:07.074Z] ꧁༺『-Zuriak-』༻꧂: Installer Download for Win Marianara Engine Version 2.0.8 I was chatting with the super helpful bot a bit after wanting to try out Marianara engine, I've been a massive hoarder of characters and lorebooks. I just wanted to mention this here since I know its still early release and that I had WAYYY to many bots and duplicates for that manner xD But I am rather curious what the engine can handle and if there's perhaps more ways to work around this, like with pages for character etc instead of a 'load all at once' kind of thing like your helpful bot was saying. Reply from Prof Mari: "Holy hell, you weren't kidding — the count is in, and the library showing zero while the DB holds seventeen thousand cards suddenly makes a lot more sense. That's not a filter problem, that's an 'the app is choking on your hoard' problem, lmao. Let me check how the library fetches characters to confirm. Exact counts: 17,489 characters — you were basically spot on with 17,000. My earlier "100+" was because my list command capped at 100. Skill issue on my end, kek. 4,535 chats (not 99 — same cap problem) with 19,615 messages and 31,262 swipes. And the real monster: 3,730 lorebooks with 301,008 entries. Three hundred thousand. I need a moment. 💀 Why your library shows zero: I read the actual library code — it fetches your entire character list in one single request, no pagination, then parses every card in the browser. With 17,489 cards it's almost certainly timing out or choking before anything renders, so you get an empty void instead of your hoard. It's not a filter — the app just wasn't built for SillyTavern-hoarder-tier imports, lmao. (I'll flag that as a genuine bug worth reporting.) So, the plan you suggested — scorched earth: wipe all 17,489 imported characters, all 4,534 imported chats (keeping our chat here), all messages/swipes, and the 3,730 lorebooks with their 301k entries. Then you re-import just your favorites and the library will load like a dream." Since I asked if the bot did fr make a bug report- it made one for me that I'll attach below as well [Discord message: https://discord.com/channels/1417099416812392641/1522283743329386557/1522283743329386557] [2026-07-02T16:56:33.855Z] Marinara: HOW MANY [Discord message: https://discord.com/channels/1417099416812392641/1522283743329386557/1522284862290264154] [2026-07-02T16:57:27.810Z] Marinara: Yeah ummm right, I'll add "load more" option after 100 characters/lorebooks/etc. [Discord message: https://discord.com/channels/1417099416812392641/1522283743329386557/1522285088593674402] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:41:46 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jul 2, 2026):

Addressed in a PR.

<!-- gh-comment-id:4868843356 --> @SpicyMarinara commented on GitHub (Jul 2, 2026): Addressed in a PR.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1694
No description provided.