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

Bug 674594

Summary: app-portage/layman-2.4.2-r1 - variable name misspelled in pylayman.py: AttributeError: 'PyLayman' object has no attribute 'xter_titles'
Product: Portage Development Reporter: Fabio Rossi <rossi.f>
Component: Third-Party ToolsAssignee: Layman Overlay Manager project <layman>
Status: RESOLVED FIXED    
Severity: normal CC: robink
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 710650    
Attachments: layman-2.4.2-bug674594.patch

Description Fabio Rossi 2019-01-05 09:54:32 UTC
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/portage/util/_async/AsyncFunction.py", line 39, in _run
    result = self.target(*(self.args or []), **(self.kwargs or {}))
  File "/usr/lib64/python2.7/site-packages/portage/sync/controller.py", line 168, in sync
    taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib64/python2.7/site-packages/portage/sync/controller.py", line 67, in run_tasks
    result = getattr(inst, func)(**kwargs)
  File "/usr/lib64/python2.7/site-packages/portage/sync/syncbase.py", line 304, in sync
    return self.update()
  File "/usr/lib64/python2.7/site-packages/portage/sync/modules/laymansync/pylayman.py", line 210, in update
    exitcode = self.new()[0]
  File "/usr/lib64/python2.7/site-packages/portage/sync/modules/laymansync/pylayman.py", line 164, in new
    xterm_titles=self.xter_titles)
AttributeError: 'PyLayman' object has no attribute 'xter_titles'


the fix is straight forward, the variable is xterm_titles :-)
Comment 1 Fabio Rossi 2019-01-26 09:16:07 UTC
Created attachment 562858 [details, diff]
layman-2.4.2-bug674594.patch
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2020-04-24 19:23:48 UTC
Fix will be in layman-2.4.3
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2020-04-24 21:43:55 UTC
Fixed in layman-2.4.3