View previous topic :: View next topic |
Author |
Message |
mercurator Tux's lil' helper
Joined: 09 Aug 2004 Posts: 92 Location: Slovenia
|
Posted: Sat Nov 06, 2004 8:54 am Post subject: Dispatch-conf and attribute 'config' |
|
|
So far I've been using the dispatch-conf without a problem. This morning I ran it to update some files and then this showed up:
Code: | RCS file: /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
Marging 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 gring
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' |
This is the first time I've had problems with dispatch-conf. Does anyone have an idea what is wrong here?
George _________________ "Ignorantia non est Argumentum" - Benedict de Spinoza |
|
Back to top |
|
|
Tyris n00b
Joined: 04 May 2003 Posts: 44 Location: Cincinnati, OH
|
Posted: Sun Nov 07, 2004 2:09 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|