discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Re g : usrp2_card_burner_gui.py


From: sumitstop
Subject: Re: [Discuss-gnuradio] Re g : usrp2_card_burner_gui.py
Date: Sun, 22 Apr 2012 13:53:48 -0700 (PDT)

Well I got the solution 


Its some python version problem. With 2.7.2 its working fine. I have 2.6 in
the problematic systems. 

So told by Josh  I removed the " errors='ignore' " from usrp2_card_burner.py
from line 53

and it worked finally. :-D







sumitstop wrote:
> 
> I am not able to guess what is it? Now it is coming on even 3.2.2 and
> 3.4.0 &-(
> 
> 
> sumitstop wrote:
>> 
>> For got to tell that I have gnuradio version 3.6.0git-41-gd5f9c571
>> 
>> 
>> 
>> sumitstop wrote:
>>> 
>>> I am getting this error while running the usrp2_card_burner_gui.py
>>> 
>>> *******************************************************************************************
>>> Traceback (most recent call last):
>>>   File "./usrp2_card_burner_gui.py", line 174, in <module>
>>>     USRP2CardBurnerApp(root, dev=options.dev, fw=options.fw,
>>> fpga=options.fpga).pack()
>>>   File "./usrp2_card_burner_gui.py", line 132, in __init__
>>>     self._raw_dev_entry = DeviceEntryWidget(self, text=dev)
>>>   File "./usrp2_card_burner_gui.py", line 74, in __init__
>>>     self._reload_cb()
>>>   File "./usrp2_card_burner_gui.py", line 87, in _reload_cb
>>>     for hint in usrp2_card_burner.get_raw_device_hints():
>>>   File "/usr/local/share/uhd/utils/usrp2_card_burner.py", line 113, in
>>> get_raw_device_hints
>>>     for line in command('cat', '/proc/partitions').splitlines():
>>>   File "/usr/local/share/uhd/utils/usrp2_card_burner.py", line 53, in
>>> command
>>>     verbose = p.stdout.read().decode('utf-8', errors='ignore')
>>> TypeError: decode() takes no keyword arguments
>>> 
>>> ******************************************************************************************************
>>> 
>>> I searched in web but couldn't find something accurate
>>> 
>>> Somebody has mentioned the same thing this year 
>>> http://pastebin.com/XjU73dCU but I couldn't understand what is the
>>> solution %-|
>>> 
>>> 
>>> 
>> 
>> 
> 
> 


-----
Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India
-- 
View this message in context: 
http://old.nabble.com/Reg-%3A-usrp2_card_burner_gui.py-tp33729482p33730193.html
Sent from the GnuRadio mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]