Hi

I can't try to initialize my own local repository running "eit" command

After configured /etc/entropy/server.conf

see error attachment

Tnx :)




# eit init backup



Traceback (most recent call last):
  File "/usr/bin/eit", line 17, in <module>
    main()
  File "/usr/lib/entropy/server/eit/main.py", line 114, in main
    exit_st = func(*func_args)
  File "/usr/lib/entropy/server/eit/commands/command.py", line 227, in _call_exclusive
    server = server_class(default_repository=repo)
  File "/usr/lib/entropy/lib/entropy/core/__init__.py", line 58, in __new__
    singleton.init_singleton(*args, **kwds)
  File "/usr/lib/entropy/lib/entropy/server/interfaces/main.py", line 1779, in init_singleton
    _("repository not configured"),
PermissionDenied: PermissionDenied: backup repository non configurata

Frame main in /usr/lib/entropy/server/eit/main.py at line 114
	           func_args = [<bound method EitInit._init of <eit.commands.init.EitInit object at 0x7fd3b97a9ed0>>, u'backup']
	                args = [u'backup']
	         _to_unicode = <function _to_unicode at 0x7fd3b17d72a8>
	            args_map = {'status': <class 'eit.commands.status.EitStatus'>, 'ci': <class 'eit.commands.commit.EitCommit'>, 'own': <class 'eit.commands.own.EitOwn'>, 'co': <class 'eit.commands.checkout.EitCheckout'>, 'cn': <class 'eit.commands.cleanup.EitCleanup'>, 'bump': <class 'eit.commands.bump.EitBump'>, 'lock': <class 'eit.commands.lock.EitLock'>, 'sync': <class 'eit.commands.push.EitPush'>, 'unlock': <class 'eit.commands.lock.EitUnlock'>, 'query': <class 'eit.commands.query.EitQuery'>, 'cp': <class 'eit.commands.cp.EitCp'>, 'help': <class 'eit.commands.help.EitHelp'>, 'rp': <class 'eit.commands.repack.EitRepack'>, 'log': <class 'eit.commands.log.EitLog'>, 'fit': <class 'eit.commands.inject.EitInject'>, 'graph': <class 'eit.commands.graph.EitGraph'>, '-h': <class 'eit.commands.help.EitHelp'>, 'init': <class 'eit.commands.init.EitInit'>, 'cleanup': <class 'eit.commands.cleanup.EitCleanup'>, 'inject': <class 'eit.commands.inject.EitInject'>, 'branch': <class 'eit.commands.branch.EitBranch'>, 'test': <class 'eit.commands.test.EitTest'>, 'rm': <class 'eit.commands.remove.EitRemove'>, 'checkout': <class 'eit.commands.checkout.EitCheckout'>, 'match': <class 'eit.commands.match.EitMatch'>, 'files': <class 'eit.commands.files.EitFiles'>, 'notice': <class 'eit.commands.notice.EitNotice'>, 'clean': <class 'eit.commands.cleanup.EitCleanup'>, 'repo': <class 'eit.commands.repo.EitRepo'>, 'pkgmove': <class 'eit.commands.pkgmove.EitPkgmove'>, 'add': <class 'eit.commands.add.EitAdd'>, 'key': <class 'eit.commands.key.EitKey'>, 'vacuum': <class 'eit.commands.cleanup.EitVacuum'>, 'revgraph': <class 'eit.commands.revgraph.EitRevgraph'>, 'reset': <class 'eit.commands.reset.EitReset'>, 'pull': <class 'eit.commands.pull.EitPull'>, 'search': <class 'eit.commands.search.EitSearch'>, 'remote': <class 'eit.commands.remote.EitRemote'>, 'f': <class 'eit.commands.files.EitFiles'>, 'repack': <class 'eit.commands.repack.EitRepack'>, 'list': <class 'eit.commands.list.EitList'>, 'remove': <class 'eit.commands.remove.EitRemove'>, 'st': <class 'eit.commands.status.EitStatus'>, 'q': <class 'eit.commands.query.EitQuery'>, 'merge': <class 'eit.commands.merge.EitMerge'>, 'mv': <class 'eit.commands.mv.EitMv'>, 'deps': <class 'eit.commands.deps.EitDeps'>, 'push': <class 'eit.commands.push.EitPush'>, 'commit': <class 'eit.commands.commit.EitCommit'>, '--help': <class 'eit.commands.help.EitHelp'>}
	             cmd_obj = <eit.commands.init.EitInit object at 0x7fd3b97a9ed0>
	                 cmd = u'init'
	           cmd_class = <class 'eit.commands.init.EitInit'>
	          descriptor = <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b184bd10>
	         is_bashcomp = False
	           catch_all = <class 'eit.commands.help.EitHelp'>
	               alias = 'co'
	               klass = <class 'eit.commands.list.EitList'>
	                func = <bound method EitInit._call_exclusive of <eit.commands.init.EitInit object at 0x7fd3b97a9ed0>>
	             allowed = True
	            last_arg = u'backup'
	         descriptors = [<eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b187a050>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b187ae90>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b187aed0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b187a6d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1882050>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1882190>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1882210>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1882510>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b18826d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b18829d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1882c50>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b18942d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1894710>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1894ad0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1894f90>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b181d1d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b181d9d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b181d8d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b181ddd0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b181de90>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b182a110>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b182a2d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b182a650>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b182a6d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b182a8d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b182aa90>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b182af50>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1840090>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b18403d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1840650>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b18408d0>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b1840d90>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b184b090>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b184b410>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b184b510>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b184bb10>, <eit.commands.descriptor.EitCommandDescriptor object at 0x7fd3b184bd10>]

Frame _call_exclusive in /usr/lib/entropy/server/eit/commands/command.py at line 242
	        server_class = <class 'entropy.server.interfaces.main.Server'>
	            acquired = True
	                lock = <entropy.locks.EntropyResourcesLock object at 0x7fd3b97a9e90>
	                self = <eit.commands.init.EitInit object at 0x7fd3b97a9ed0>
	              server = None
	                repo = u'backup'
	                func = <bound method EitInit._init of <eit.commands.init.EitInit object at 0x7fd3b97a9ed0>>
	           skip_lock = False

Frame __new__ in /usr/lib/entropy/lib/entropy/core/__init__.py at line 58
	           singleton = <entropy.server.interfaces.main.Server object at 0x7fd3b20f2610>
	                args = ()
	                kwds = {'default_repository': u'backup'}
	                 cls = <class 'entropy.server.interfaces.main.Server'>

Frame init_singleton in /usr/lib/entropy/lib/entropy/server/interfaces/main.py at line 1779
	fake_default_repo_id = None
	  default_repository = u'backup'
	             srv_set = {'default_repository_id': u'backup', 'weak_package_files': False, 'qa_langs': [u'en_US', u'C'], 'packages_expiration_days': 15, 'rss': {'max_entries': 10000, 'light_name': u'updates.rss', 'name': u'packages.rss', 'light_max_entries': 300, 'enabled': True, 'base_url': u'http://packages.sabayon.org/?quicksearch=', 'website_url': u'http://www.sabayon.org/', 'editor': u'lx...@sabayon.org'}, 'broken_revdeps_qa_check': True, 'changelog': True, 'sync_speed_limit': None, 'database_file_format': u'bz2', 'repositories': {'__system__': {'database_dir': '/var/lib/entropy/server/__system__/database/amd64', 'description': u'Community Repositories System Repository', 'repo_mirrors': [], 'packages_dir_nonfree': '/var/lib/entropy/server/__system__/packages-nonfree/amd64', 'pkg_mirrors': [], 'community': False, 'upload_basedir': '/var/lib/entropy/server/__system__/upload', 'exclude_qa': False, 'store_dir': '/var/lib/entropy/server/__system__/store/amd64', 'remote_repo_basedir': u'standard/__system__', 'override_database_remote_path': None, 'repo_basedir': '/var/lib/entropy/server/__system__', 'database_remote_path': u'standard/__system__/database/amd64', 'repoid': '__system__', 'packages_dir_restricted': '/var/lib/entropy/server/__system__/packages-restricted/amd64', 'packages_dir': '/var/lib/entropy/server/__system__/packages/amd64'}}, 'disabled_eapis': set([]), 'exp_based_scope': False, 'nonfree_packages_dir_support': False, 'base_repository_id': '__system__', 'community_mode': True}
	                self = <entropy.server.interfaces.main.Server object at 0x7fd3b20f2610>
	     save_repository = False
	handle_uninitialized = True
	   fake_default_repo = False
	              kwargs = {'installed_repo': False, 'repo_validation': False}
	fake_default_repo_desc = 'this is a fake repository'


Reply via email to