Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Revisor fails on Creating Repository, Revisor fails on Creating Repository
londonnet
 Posted: Jul 28 2015, 11:04 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 15
Member No.: 2641
Joined: 29-July 13









Hi I have been using revisor for some time but I have hit a problem I can't or haven't fix before.

The build process runs as normal but it breaks when creating repository information.

Has anyone seen this and know what the fix is?

Thanks

CODE
Linking in binary packages:      ######################################## 100.0%
Creating Repository Information:                                            0.0% Traceback (most recent call last):
 File "/usr/lib/python2.6/site-packages/revisor/__init__.py", line 535, in run
   self.base.run()
 File "/usr/lib/python2.6/site-packages/revisor/base.py", line 107, in run
   self.cli.run()
 File "/usr/lib/python2.6/site-packages/revisor/cli.py", line 44, in run
   self.base.lift_off()
 File "/usr/lib/python2.6/site-packages/revisor/base.py", line 884, in lift_off
   self.buildInstallationMedia()
 File "/usr/lib/python2.6/site-packages/revisor/base.py", line 1137, in buildInstallationMedia
   mypungi.doCreateRepo(database=database,callback=pungicallback)
 File "/usr/lib/python2.6/site-packages/revisor/pungi.py", line 160, in doCreateRepo
   comps = self.cfg.get_comps()
 File "/usr/lib/python2.6/site-packages/revisor/cfg.py", line 161, in get_comps
   nodes = repo_root.walk_breadth_first()
AttributeError: 'NoneType' object has no attribute 'walk_breadth_first'
Traceback occurred, please report a bug at http://fedorahosted.org/revisor
PM
^
londonnet
 Posted: Jul 30 2015, 10:07 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 15
Member No.: 2641
Joined: 29-July 13









QUOTE (londonnet @ Jul 28 2015, 11:04 PM)
Hi I have been using revisor for some time but I have hit a problem I can't or haven't fix before.

The build process runs as normal but it breaks when creating repository information.

Has anyone seen this and know what the fix is?

Thanks

CODE
Linking in binary packages:      ######################################## 100.0%
Creating Repository Information:                                            0.0% Traceback (most recent call last):
 File "/usr/lib/python2.6/site-packages/revisor/__init__.py", line 535, in run
   self.base.run()
 File "/usr/lib/python2.6/site-packages/revisor/base.py", line 107, in run
   self.cli.run()
 File "/usr/lib/python2.6/site-packages/revisor/cli.py", line 44, in run
   self.base.lift_off()
 File "/usr/lib/python2.6/site-packages/revisor/base.py", line 884, in lift_off
   self.buildInstallationMedia()
 File "/usr/lib/python2.6/site-packages/revisor/base.py", line 1137, in buildInstallationMedia
   mypungi.doCreateRepo(database=database,callback=pungicallback)
 File "/usr/lib/python2.6/site-packages/revisor/pungi.py", line 160, in doCreateRepo
   comps = self.cfg.get_comps()
 File "/usr/lib/python2.6/site-packages/revisor/cfg.py", line 161, in get_comps
   nodes = repo_root.walk_breadth_first()
AttributeError: 'NoneType' object has no attribute 'walk_breadth_first'
Traceback occurred, please report a bug at http://fedorahosted.org/revisor


Is this a comparability issue with mock?
PM
^
londonnet
 Posted: Aug 3 2015, 11:25 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 15
Member No.: 2641
Joined: 29-July 13









So after much time of tinkering around it looks like the issue is with epel6 repo.

If I remove the epel6 repo from the list the build goes quite a bit further.

It ultimately fails but I think that is because there are so may packages missing because epel6 is not available.

The result is the same if I create my own local epel6 repo and build the repodata as it does if use the public repo's

Anyone have any good ideas?

Thanks
PM
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll