Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 158658

Summary: PORTAGE_ELOG_SYSTEM="mail_summary" fails with 2.1.2_rc3-r8
Product: Portage Development Reporter: Chris Smith <chris>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 147007    
Attachments: fix the 'TypeError: int argument required'

Description Chris Smith 2006-12-20 08:58:48 UTC
sys-apps/portage-2.1.2_rc3-r8 cannot handle "mail_summary" as an argument to "PORTAGE_ELOG_SYSTEM", "mail" works fine.

Error in portage_exec.run_exitfuncs

  File "/usr/lib/portage/pym/portage_exec.py", line 71, in run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/portage/pym/elog_modules/mod_mail_summary.py", line 32, in finalize
    mybody = "elog messages for the following packages generated by process %d on host %s:\n" % (count, os.getpid(), socket.getfqdn())
int argument required
====================================

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib64/python2.5/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/portage/pym/portage_exec.py", line 71, in run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/portage/pym/elog_modules/mod_mail_summary.py", line 32, in finalize
    mybody = "elog messages for the following packages generated by process %d on host %s:\n" % (count, os.getpid(), socket.getfqdn())
TypeError: int argument required
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib64/python2.5/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/portage/pym/portage_exec.py", line 71, in run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/portage/pym/elog_modules/mod_mail_summary.py", line 32, in finalize
    mybody = "elog messages for the following packages generated by process %d on host %s:\n" % (count, os.getpid(), socket.getfqdn())
TypeError: int argument required
Comment 1 Zac Medico gentoo-dev 2006-12-20 18:40:51 UTC
Created attachment 104481 [details, diff]
fix the 'TypeError: int argument required'

The error that you've reported is fixed in svn r5343.  Please reopen if there are any more issues.
Comment 2 Zac Medico gentoo-dev 2006-12-20 19:20:13 UTC
This has been released in 2.1.2_rc3-r9.