Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538050 - sys-apps/portage: svn sync module failure results in AttributeError
Summary: sys-apps/portage: svn sync module failure results in AttributeError
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 484436
  Show dependency tree
 
Reported: 2015-01-28 14:46 UTC by Michał Górny
Modified: 2015-02-12 06:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/main.py", line 1121, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 3054, in run_action
    return action_sync(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 1929, in action_sync
    retvals = syncer.auto_sync(options={'return-messages': False})
  File "/usr/lib64/python3.4/site-packages/portage/emaint/modules/sync/sync.py", line 94, in auto_sync
    emaint_opts=options)
  File "/usr/lib64/python3.4/site-packages/portage/emaint/modules/sync/sync.py", line 219, in _sync
    returncode, message = sync_manager.sync(self.emerge_config, repo)
  File "/usr/lib64/python3.4/site-packages/portage/sync/controller.py", line 148, in sync
    taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib64/python3.4/site-packages/portage/sync/controller.py", line 47, in run_tasks
    inst = task()
  File "/usr/lib64/python3.4/site-packages/portage/sync/modules/svn/svn.py", line 24, in __init__
    SyncBase.__init__(self, "svn", "dev-vcs/subversion")
  File "/usr/lib64/python3.4/site-packages/portage/sync/syncbase.py", 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 2 Brian Dolbec (RETIRED) gentoo-dev 2015-01-30 20:11:43 UTC
fixed in commit https://github.com/gentoo/portage/commit/fbe5cf2702c3555fb717f8d230be7a4ab9baf1f2
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-02-12 06:09:52 UTC
Released in portage-2.2.17