Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158658 - PORTAGE_ELOG_SYSTEM="mail_summary" fails with 2.1.2_rc3-r8
Summary: PORTAGE_ELOG_SYSTEM="mail_summary" fails with 2.1.2_rc3-r8
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-12-20 08:58 UTC by Chris Smith
Modified: 2006-12-20 19:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix the 'TypeError: int argument required' (typeerror.patch,688 bytes, patch)
2006-12-20 18:40 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.