[BUG] WI Deletion errors on missing associated card(s).

Author: HibananCreated Sep 25, 2026Updated Sep 25, 2026
Labels🐛 Bug

Environment

Windows

System

Chrome version 153.0.8010.53 (Official Build) (64-bit)

Version

1.19.0 'staging' (bc81b9f7e)

Desktop Information

node.js: v25.9.0

Describe the problem

If a lorebook is associated with a character card through linking from the "More..." -> Link to World Info -> Primary Lorebook setting, when the character card is deleted first, deletion of the lorebook causes a "Failed to read image: /path/to/card/" and "Could not load Buffer from URL: /path/to/card/" (errno: -4058/ENOENT) error. Further, deletion of the lorebook causes the previous character card to be reinserted into the character list with no image.

Additional info

No response

Please tick the boxes

  • I have explained the issue clearly, and I included all relevant info
  • I have checked that this issue hasn't already been raised
  • I have checked the docs important
  • I confirm that my issue is not related to third-party content, unofficial extension or patch. If in doubt, check with a new user account and with extensions disabled