Bug 923594 - _curses error: addnstr() returned ERR
Summary: _curses error: addnstr() returned ERR
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: glances
Version: el6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Edouard Bourguignon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-20 07:24 UTC by Michel Lind
Modified: 2013-05-04 18:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-04 18:45:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michel Lind 2013-03-20 07:24:41 UTC
Description of problem:
I'm getting this error running glances on EL6 x86_64, starting from yesterday (a few days ago, glances worked fine).

Upgrading to a scratch build of glances 1.6-1 solves the problem, so hopefully this could be pushed as an update for el6 as well. 

Version-Release number of selected component (if applicable):
glances-1.5.1-el6.x86_64

How reproducible:
Always (since yesterday)

Steps to Reproduce:
1. Run glances
  
Actual results:
    load_entry_point('Glances==1.5.1', 'console_scripts', 'glances')()
                                                                        File "/u
sr/lib/python2.6/site-packages/glances/glances.py", line 2710, in main
                                                                          screen
.update(stats)
                File "/usr/lib/python2.6/site-packages/glances/glances.py", line
 1249, in update
                    self.flush(stats, cs_status = cs_status)
                                                              File "/usr/lib/pyt
hon2.6/site-packages/glances/glances.py", line 1237, in flush
                                                                 self.display(st
ats, cs_status = cs_status)
                             File "/usr/lib/python2.6/site-packages/glances/glan
ces.py", line 1206, in display
                                  self.displaySystem(stats.getHost(), stats.getS
ystem())
          File "/usr/lib/python2.6/site-packages/glances/glances.py", line 1280,
 in displaySystem
                     system_msg, 80, curses.A_UNDERLINE)
                                                        _curses.error: addnstr()
 returned ERR


Expected results:
No error, should work normally

Additional info:
Scratch build here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5146084

no change made from the SRPM generated from the F19 branch

Comment 1 Fedora Update System 2013-04-18 08:29:06 UTC
glances-1.6-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/glances-1.6-1.el6

Comment 2 Fedora Update System 2013-04-18 18:11:50 UTC
Package glances-1.6-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing glances-1.6-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-5479/glances-1.6-1.el6
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-05-04 18:45:23 UTC
glances-1.6-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.