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: Josh Blum
Subject: Re: [Discuss-gnuradio] Re g : usrp2_card_burner_gui.py
Date: Sun, 22 Apr 2012 13:18:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0


On 04/22/2012 01:02 PM, sumitstop wrote:
> 
> I am not able to guess what is it? Now it is coming on even 3.2.2 and 3.4.0
> &-(
> 

This is not a gnuradio problem. Its a UHD bug that was introduced from a
language fix for the card burner. So I can fix it, please tell me:

What version of python are you running?

Does the app work if you remove "errors='ignore'"?

-josh

> 
> 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



reply via email to

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