View previous topic :: View next topic |
Author |
Message |
Apreche Guru
Joined: 18 Sep 2003 Posts: 506 Location: Beacon, NY
|
Posted: Sun Nov 07, 2004 10:02 pm Post subject: dispatch-conf broken |
|
|
So I just did a little emerge -uDva world after a weekend away from my pc. Quite a few updates. Not surprising since I run a ~x86 system. But, this update has caused dispatch-conf to stop working. Not pleasant. Code: | # dispatch-conf
RCS file: /etc/config-archive/etc/conf.d/crypto-loop,v
1.2 locked
done
/etc/config-archive/etc/conf.d/crypto-loop,v <-- /etc/config-archive/etc/conf.d/crypto-loop
file is unchanged; reverting to previous revision 1.2
done
/etc/config-archive/etc/conf.d/crypto-loop,v --> /etc/config-archive/etc/conf.d/crypto-loop
revision 1.1.1.1
done
RCS file: /etc/config-archive/etc/conf.d/crypto-loop,v
retrieving revision 1.1.1.1
retrieving revision 1.2
Merging differences between 1.1.1.1 and 1.2 into /etc/config-archive/etc/conf.d/crypto-loop; result to stdout
Traceback (most recent call last):
File "/usr/sbin/dispatch-conf", line 309, in ?
d.grind (portage.settings ['CONFIG_PROTECT'])
File "/usr/sbin/dispatch-conf", line 145, in grind
confs = filter (f, confs)
File "/usr/sbin/dispatch-conf", line 135, in f
self.replace(newconf, conf['current'])
File "/usr/sbin/dispatch-conf", line 222, in replace
os.system((DIFF_CONTENTS % (curconf, newconf)) + '>>' + self.config["log-file"])
AttributeError: dispatch instance has no attribute 'config' |
What do you make of this? How can I fix it? Do I just have to wait for another update? |
|
Back to top |
|
|
ThePsychoHobbit Tux's lil' helper
Joined: 04 Apr 2004 Posts: 86
|
Posted: Sun Nov 07, 2004 10:10 pm Post subject: |
|
|
I was experiencing the same problem, so I did a search on the forums. Here's the thread with the solution, and the solution itself:
https://forums.gentoo.org/viewtopic.php?t=247802
Tyris wrote: | This seems to be a problem with the dispatch-conf in portage-2.0.51-r3. You can easily fix this by editing line 222 of dispatch-conf:
Original:
os.system((DIFF_CONTENTS % (curconf, newconf)) + '>>' + self.config["log-file"])
Corrected:
os.system((DIFF_CONTENTS % (curconf, newconf)) + '>>' + self.options["log-file"])
I've added this fix to bug 70282 about this problem, so hopefully a new version will include it. |
|
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|