Bug 1141129

Summary: [abrt] hgview-common: widget.py:1358:set_edit_text:TypeError: object of type 'NoneType' has no len()
Product: [Fedora] Fedora Reporter: Dmitry Buryakov <buryakovmail>
Component: hgviewAssignee: Mads Kiilerich <mads>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: mads
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2bc1c8ea6b241c62adcce20a618658aff2b4cbde
Whiteboard: abrt_hash:7d56b808ae0db2909453657b63fd4bb8a7653c11
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 22:30:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: dso_list
none
File: environ none

Description Dmitry Buryakov 2014-09-12 09:31:19 UTC
Version-Release number of selected component:
hgview-common-1.8.1-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/hgview
executable:     /usr/bin/hgview
kernel:         3.15.10-201.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
widget.py:1358:set_edit_text:TypeError: object of type 'NoneType' has no len()

Traceback (most recent call last):
  File "/usr/bin/hgview", line 38, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/hgviewlib/application.py", line 226, in main
    sys.exit(start(repo, opts, args, parser.error))
  File "/usr/lib/python2.7/site-packages/hgviewlib/application.py", line 178, in start
    return app.exec_()
  File "/usr/lib/python2.7/site-packages/hgviewlib/curses/application.py", line 93, in exec_
    out = self.mainloop.run()
  File "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 271, in run
    self.screen.run_wrapper(self._run)
  File "/usr/lib64/python2.7/site-packages/urwid/raw_display.py", line 241, in run_wrapper
    return fn()
  File "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 336, in _run
    self.event_loop.run()
  File "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 707, in run
    self._loop()
  File "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 786, in _loop
    self._watch_files[fd]()
  File "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 387, in _update
    self.process_input(keys)
  File "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 487, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python2.7/site-packages/hgviewlib/curses/mainframe.py", line 141, in keypress
    key = super(MainFrame, self).keypress(size, key)
  File "/usr/lib64/python2.7/site-packages/urwid/container.py", line 1090, in keypress
    return self.footer.keypress((maxcol,),key)
  File "/usr/lib/python2.7/site-packages/hgviewlib/curses/mainframe.py", line 213, in keypress
    self.history(False)
  File "/usr/lib/python2.7/site-packages/hgviewlib/curses/mainframe.py", line 247, in history
    self.set_edit_text(text)
  File "/usr/lib64/python2.7/site-packages/urwid/widget.py", line 1358, in set_edit_text
    if self.edit_pos > len(text):
TypeError: object of type 'NoneType' has no len()

Local variables in innermost frame:
text: None

Comment 1 Dmitry Buryakov 2014-09-12 09:31:22 UTC
Created attachment 936888 [details]
File: backtrace

Comment 2 Dmitry Buryakov 2014-09-12 09:31:23 UTC
Created attachment 936889 [details]
File: dso_list

Comment 3 Dmitry Buryakov 2014-09-12 09:31:25 UTC
Created attachment 936890 [details]
File: environ

Comment 4 Fedora End Of Life 2015-05-29 12:51:40 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-06-29 22:30:24 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.