LEAP API for LLMediaAPI missing ReqID

Open Beginner friendly
#6,421 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

A pull request for this has already been merged.

  • #6423 by @jellyfish-linden — merged

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
api

Research direction

Start by locating LLMediaAPI's getMediaText implementation and the outleap request/reply handling it uses; reproduce the missing-reqid error with the command in the issue. Trace where the request ID is expected in the reply, then verify the call returns the media text without the extra error.

Written by the indexing model from the issue text.

Description

bug
Environment

26.4+ viewers

Description

LLMediaAPI's getMediaText replies but it is missing a needed reqid to make the reply correct. As such we're getting an error message in addition to the reply which is gobbling up the reply.

Reproduction steps
  1. Launch viewer with outleap.
  2. Login and run (from the outleap repl):
await LLMediaAPI(client).get_media_text("/main_view/menu_stack/world_panel/Floater View/Search/stack1/external_controls/webbrowser")

You should not get an error about a missing reqid, but you do!

Dominant language
C++
Stars
310
Forks
155
Avg merge
1d 2h
Merged PRs (30d)
111

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from secondlife/viewer

All issues in secondlife/viewer

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.