Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1946773

Summary: GUI terminal emits "undecodable token:" warnings
Product: [Fedora] Fedora Reporter: Otto Urpelainen <oturpe>
Component: octaveAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: alex, cbm, jaromir.capik, orion, rakesh.pandit, scitech-bugs, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: octave-5.2.0-12.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-24 20:08:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Otto Urpelainen 2021-04-06 19:23:18 UTC
Description of problem:
On Fedora, Octave gui emits the following kind of warning on startup and after each Enter:

  undecodable token: \001b(hex)[?2004l
  undecodable token: \001b(hex)[?2004h

Version-Release number of selected component (if applicable):
5.2.0-11.fc34

How reproducible:
Always

Steps to Reproduce:
1. Start Octave Gui
2. Type in something and press Enter

Actual results:
"Undecodable token" warnings seen at startup and after each Enter

Expected results:
No warnings seen, only normal output.

Additional info:
It is this bug from upstream, triggered by readline package being updated to 8.1 in Fedora 34, which enables "bracketed paste mode" by default: https://savannah.gnu.org/bugs/?func=detailitem&item_id=59483

The bug is closed upstream and comment contain a list of commits that fix this. With some luck they are easy to apply to Fedora's version of Octave.

Comment 1 Orion Poplawski 2021-04-07 02:53:21 UTC
Well, it was perhaps a little more complicated than I hoped - can you test out this build? - https://koji.fedoraproject.org/koji/taskinfo?taskID=65358877

Comment 2 Otto Urpelainen 2021-04-07 08:12:30 UTC
Tested. The reported error is gone, I think this update is ready Bodhi. Thank you for acting so quickly.

There is another problem, text is not pasted to Octave Gui. But that was the case even in the current version in F34 repositories, so it is not a regression from your update. I cannot find a related bug in upstream tracker. I will investigate and file any bugs as needed. I do not think the paste bug needs to block resolving this bug, because it seems unrelated.

Comment 3 Otto Urpelainen 2021-04-07 19:06:52 UTC
(In reply to Otto Urpelainen from comment #2)
> There is another problem, text is not pasted to Octave Gui. But that was the
> case even in the current version in F34 repositories, so it is not a
> regression from your update. I cannot find a related bug in upstream
> tracker. I will investigate and file any bugs as needed. I do not think the
> paste bug needs to block resolving this bug, because it seems unrelated.

I managed to reproduce this issue in multiple different setups. Not related to this bug here, reported upsteam as a separate issue: https://savannah.gnu.org/bugs/?60356

Comment 4 Fedora Update System 2021-04-09 18:26:10 UTC
FEDORA-2021-de13772322 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-de13772322

Comment 5 Fedora Update System 2021-04-10 21:37:07 UTC
FEDORA-2021-de13772322 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-de13772322`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-de13772322

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-04-24 20:08:42 UTC
FEDORA-2021-de13772322 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.