[Revisor-users] Question about strip_copy_dir & %post directives

Kevin Wilson kevin.wilson at comtrol.com
Thu Sep 6 13:58:48 UTC 2007


Here are a couple more that stop the app from building an optical. I
checked the bugs site and then git. The git tree did show your comment
about ksobj.set in the update posted 6 hours ago but I'm not sure if
that covers all of these listed below. I'll see if I can comment these
out too to get back to testing the copy_dir patch you applied a while back.

Traceback (most recent call last):
  File "/root/revisor/revisor/lm_bootloader.py", line 74, in
button_forward_clicked
    self.gui.displayLMNetwork()
  File "/root/revisor/revisor/gui.py", line 253, in displayLMNetwork
    self.LMConfNetwork = lm_network.LMNetwork(self)
  File "/root/revisor/revisor/lm_network.py", line 129, in __init__
    self.restore_options()
  File "/root/revisor/revisor/lm_network.py", line 422, in restore_options
    for nic in self.kshandler.network.network:
AttributeError: LMNetwork instance has no attribute 'kshandler'
Traceback (most recent call last):
  File "/root/revisor/revisor/lm_network.py", line 472, in
button_forward_clicked
    self.store_options()
  File "/root/revisor/revisor/lm_network.py", line 379, in store_options
    self.cfg.ksobj._network_network([])
TypeError: _network_network() takes exactly 1 argument (2 given)

Kevin Wilson wrote:
> Grabbed the latest from git yesterday evening but there are a couple
> glitches in lm_basic_py. For my purposes of testing the copy_dir fix you
> applied I am going to comment these lines out and see if will let me
> continue on to doing a build.
> 
> #1)
> 
>   File "/root/revisor/revisor/lm_basic.py", line 307, in
> button_forward_clicked
>     self.store_options()
>   File "/root/revisor/revisor/lm_basic.py", line 326, in store_options
> 
> self.cfg.ksobj.set_lang_lang(self.langDict[self.lang_combo.get_active_text()])
> AttributeError: RevisorKickstart instance has no attribute 'set'
> 
> #2)
> 
> File "/root/revisor/revisor/lm_basic.py", line 307, in
> button_forward_clicked
>     self.store_options()
>   File "/root/revisor/revisor/lm_basic.py", line 364, in store_options
>     self.cfg.ksobj.set_platform(self.platform_combo.entry.get_text())
> AttributeError: RevisorKickstart instance has no attribute 'set_platform'
> 
> 
> 
> Kevin Wilson wrote:
>>>> I think I fixed it
>> Primo! I'll give it a spin. 
>>
>>>> Is there a /bench directory with all files now, on the host system?
>> Before running revisor I made a copy of my bench folder from its nfs-linked location into /tmp/revisor-test/. The folder contents you see listed as being copied are correct.
>>
>> -----Original Message-----
>> From: revisor-users-bounces at fedoraunity.org
>> [mailto:revisor-users-bounces at fedoraunity.org]On Behalf Of Jeroen van
>> Meeuwen
>> Sent: Monday, August 27, 2007 15:39
>> To: Revisor User Discussion and Support List
>> Subject: Re: [Revisor-users] Question about strip_copy_dir & %post
>> directives
>>
>>
>> Jeroen van Meeuwen wrote:
>>> Kevin Wilson wrote:
>>>> FYI: No luck on that 2nd cd build I did on Friday. Here are the exact
>>>> copy messages from the debug log. The only thing I see out of the
>>>> ordinary is the .Trash-0 folder cmds. Right after that it goes right
>>>> into creating the cd. This cd build did boot up to cmd line and I logged
>>>> into root. A search for bench*, bench, and *bench* yielded nada.
>>>> Copying /tmp/revisor-test/bench/.project to /bench/.project
>>>> Copying /tmp/revisor-test/bench/rp2bench to /bench/rp2bench
>>>> Copying /tmp/revisor-test/bench/Module.symvers to /bench/Module.symvers
>>>> Copying /tmp/revisor-test/bench/Makefile to /bench/Makefile
>>> Perfect, this is what I needed! See it should have been saying something
>>> similar to:
>>> Copying /tmp/revisor-test/bench/file to /var/tmp/revisor/bench/file
>>> Is there a /bench directory with all files now, on the host system?
>>> I'm fixing this problem right now, I'll let you know when it's done.
>>
>> I think I fixed it ;-) It's in GIT if you want.
>>
> _______________________________________________
> Revisor-users mailing list
> Revisor-users at fedoraunity.org
> http://lists.fedoraunity.org/mailman/listinfo/revisor-users
> _______________________________________________
> Revisor-users mailing list
> Revisor-users at fedoraunity.org
> http://lists.fedoraunity.org/mailman/listinfo/revisor-users
> 
> 


More information about the Revisor-users mailing list