[GH-ISSUE #6202] [Issue]: Tracker panel throws "can't access property \"trim\", o is undefined" in roleplay mode chat #3456

Closed
opened 2026-10-21 06:03:19 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Clicking the tracker panel in a roleplay mode chat consistently triggers a JavaScript error. Reloading the application does not resolve the issue.

Expected behavior

The tracker panel should open and function normally in roleplay mode chat without throwing an error.

Actual behavior

Clicking the tracker panel produces the error "can't access property "trim", o is undefined". Reloading does not fix the problem.

Steps to reproduce

  1. Open a chat in roleplay mode.
  2. Click the tracker panel.
  3. Observe the "can't access property "trim", o is undefined" error.

Environment

  • Marinara Engine version: 2.4.5 (build 2.4.5+c3263c6427fd, commit c3263c6427)
  • Install type: Not provided
  • OS + version: Linux 7.2.4-3-cachyos (x64)
  • Browser or app shell: Mozilla/5.0 (X11; Linux x86_64; rv:155.0) Gecko/20100101 Firefox/155.0

Logs, screenshots, or video

Console log attached: https://cdn.discordapp.com/attachments/1549068622054563962/1549068622654079058/console.text?ex=6aa95a13&is=6aa80893&hm=7b736e40de48bb57ef7fd383dde3f5aee62823cc09a8f1d1f98a1e78592521a3&

Additional context

The issue was reported as occurring when clicking the tracker panel in roleplay mode chat. Reloading does not resolve it.

Discord thread: can't access property "trim", o is undefined on roleplay mode chat
Discord thread link: https://discord.com/channels/1417099416812392641/1549068622054563962
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-09-14T14:45:39.801Z] Luka: Marinara Engine diagnostics
Version: 2.4.5
Build: 2.4.5+c3263c6427fd
Commit: c3263c6427fd
Server OS: Linux 7.2.4-3-cachyos (x64)
Browser / app shell: Mozilla/5.0 (X11; Linux x86_64; rv:155.0) Gecko/20100101 Firefox/155.0

On chat when I click on tracker panel I keep getting this error, reloading does not fix

console log attached
[attached file: console.text — https://cdn.discordapp.com/attachments/1549068622054563962/1549068622654079058/console.text?ex=6aa95a13&is=6aa80893&hm=7b736e40de48bb57ef7fd383dde3f5aee62823cc09a8f1d1f98a1e78592521a3&]
[Discord message: https://discord.com/channels/1417099416812392641/1549068622054563962/1549068622054563962]

[2026-09-14T14:45:40.653Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1549068622054563962/1549068625627844629]

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 (Sep 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6202 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Clicking the tracker panel in a roleplay mode chat consistently triggers a JavaScript error. Reloading the application does not resolve the issue. ## Expected behavior The tracker panel should open and function normally in roleplay mode chat without throwing an error. ## Actual behavior Clicking the tracker panel produces the error "can't access property \"trim\", o is undefined". Reloading does not fix the problem. ## Steps to reproduce 1. Open a chat in roleplay mode. 2. Click the tracker panel. 3. Observe the "can't access property \"trim\", o is undefined" error. ## Environment - Marinara Engine version: 2.4.5 (build 2.4.5+c3263c6427fd, commit c3263c6427fd) - Install type: Not provided - OS + version: Linux 7.2.4-3-cachyos (x64) - Browser or app shell: Mozilla/5.0 (X11; Linux x86_64; rv:155.0) Gecko/20100101 Firefox/155.0 ## Logs, screenshots, or video Console log attached: https://cdn.discordapp.com/attachments/1549068622054563962/1549068622654079058/console.text?ex=6aa95a13&is=6aa80893&hm=7b736e40de48bb57ef7fd383dde3f5aee62823cc09a8f1d1f98a1e78592521a3& ## Additional context The issue was reported as occurring when clicking the tracker panel in roleplay mode chat. Reloading does not resolve it. Discord thread: can't access property "trim", o is undefined on roleplay mode chat Discord thread link: https://discord.com/channels/1417099416812392641/1549068622054563962 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-09-14T14:45:39.801Z] Luka: Marinara Engine diagnostics Version: 2.4.5 Build: 2.4.5+c3263c6427fd Commit: c3263c6427fd Server OS: Linux 7.2.4-3-cachyos (x64) Browser / app shell: Mozilla/5.0 (X11; Linux x86_64; rv:155.0) Gecko/20100101 Firefox/155.0 On chat when I click on tracker panel I keep getting this error, reloading does not fix console log attached [attached file: console.text — https://cdn.discordapp.com/attachments/1549068622054563962/1549068622654079058/console.text?ex=6aa95a13&is=6aa80893&hm=7b736e40de48bb57ef7fd383dde3f5aee62823cc09a8f1d1f98a1e78592521a3&] [Discord message: https://discord.com/channels/1417099416812392641/1549068622054563962/1549068622054563962] [2026-09-14T14:45:40.653Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1549068622054563962/1549068625627844629] ``` </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 06:03:19 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

SpicyMarinara / Codex is handling this issue in draft #6205 as part of the assigned issue sweep. I’m tracing the affected path and keeping the fix and regression proof focused on this report.

<!-- gh-comment-id:5667370412 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): SpicyMarinara / Codex is handling this issue in draft #6205 as part of the assigned issue sweep. I’m tracing the affected path and keeping the fix and regression proof focused on this report.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 14, 2026):

Fixed on staging in PR #6205 (merge commit). Tracker lookups now normalize missing and malformed character-card IDs, preserving named NPCs, avatar fallback, stat ownership and stored tracker data. The original crash reproduced before the fix; desktop and mobile Chromium controls pass after it. All required CI, CodeRabbit and 271 Node regressions passed. The local native WebKit crash and still-running optional hosted browser matrix are disclosed in the PR.

<!-- gh-comment-id:5667967267 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): Fixed on staging in [PR #6205](https://github.com/Pasta-Devs/Marinara-Engine/pull/6205) ([merge commit](https://github.com/Pasta-Devs/Marinara-Engine/commit/e6d3d4d46ea661b4154e1a6dbf902c28300fb047)). Tracker lookups now normalize missing and malformed character-card IDs, preserving named NPCs, avatar fallback, stat ownership and stored tracker data. The original crash reproduced before the fix; desktop and mobile Chromium controls pass after it. All required CI, CodeRabbit and 271 Node regressions passed. The local native WebKit crash and still-running optional hosted browser matrix are disclosed in the 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#3456
No description provided.