Bug 9845

Summary: Updated version of git-info-bar fixes environment issues seen in earlier versions.
Product: Mageia Reporter: Justin Francis <jfrancis>
Component: RPM PackagesAssignee: Guillaume Rousse <guillomovitch>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal Keywords: Triaged
Version: 3   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: git-info-bar-1.1.0-2.mga3 CVE:
Status comment:

Description Justin Francis 2013-04-24 08:03:44 CEST
Description of problem:

The following message shows up on the command line every time the enter key is depressed if certain environment variables aren't set:

Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/lib/perl5/vendor_perl/5.14.0/x86_64-linux-thread-multi/Term/ReadKey.pm line 362.

Version-Release number of selected component (if applicable):
1.1.0

How reproducible:
Any system missing the environment variables necessary for Term::Readkey 

Steps to Reproduce:
1.  Install git-info-bar
2.  Log out and back in if on a tty or close and reopen console in an X session.
3.  The message is immediately seen on some systems (including Mageia).


Reconciliation:
https://github.com/comwt/git-info-bar has been updated (tag 1.1.7) SHA: 3a00a2a
Also, a new RPM, git-info-bar-1.1.7-1.noarch.rpm, has been created and uploaded to sourceforge.net.

Reproducible: 

Steps to Reproduce:
Comment 1 Justin Francis 2013-04-24 15:34:45 CEST
probably not a good idea to use my noarch.rpm, it saves the plugin as /etc/profile.d/z99-git-info-bar.sh (whereas your .spec saves it as 93git-info-bar.sh).
Manuel Hiebel 2013-05-28 22:27:56 CEST

Keywords: (none) => Triaged
Version: Cauldron => 3
Assignee: bugsquad => guillomovitch

Comment 2 Guillaume Rousse 2013-07-17 21:41:22 CEST
The package has been upgraded in cauldron.

I can't reproduce the issue on mageia 3, even after volontarily unsetting COLUMNS and LINES environment variables. I suspect the problems comes from your environment.
Guillaume Rousse 2013-07-17 21:41:33 CEST

Status: NEW => ASSIGNED

Comment 3 Guillaume Rousse 2013-12-22 14:13:46 CET
Old and unreproductible issue, closing.

Status: ASSIGNED => RESOLVED
Resolution: (none) => WORKSFORME