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

Bug 538050

Summary: sys-apps/portage: svn sync module failure results in AttributeError
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 484436    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-28 14:46:24 UTC
With recent git.

Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 1121, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 3054, in run_action
    return action_sync(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 1929, in action_sync
    retvals = syncer.auto_sync(options={'return-messages': False})
  File "/usr/lib64/python3.4/site-packages/portage/emaint/modules/sync/", line 94, in auto_sync
  File "/usr/lib64/python3.4/site-packages/portage/emaint/modules/sync/", line 219, in _sync
    returncode, message = sync_manager.sync(self.emerge_config, repo)
  File "/usr/lib64/python3.4/site-packages/portage/sync/", line 148, in sync
    taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib64/python3.4/site-packages/portage/sync/", line 47, in run_tasks
    inst = task()
  File "/usr/lib64/python3.4/site-packages/portage/sync/modules/svn/", line 24, in __init__
    SyncBase.__init__(self, "svn", "dev-vcs/subversion")
  File "/usr/lib64/python3.4/site-packages/portage/sync/", line 46, in __init__
    level=self.logger.ERROR, noiselevel=-1)
AttributeError: 'NoneType' object has no attribute 'ERROR'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-28 14:47:16 UTC
To add, all repos are on read-only squashfs here (I accidentally tried to sync the wrong host).
Comment 3 Brian Dolbec gentoo-dev 2015-02-12 06:09:52 UTC
Released in portage-2.2.17