439 | | |
440 | | |
| 439 | ---- |
| 440 | |
| 441 | ==== 2/18/09 === |
| 442 | |
| 443 | Localemotion... |
| 444 | |
| 445 | After running node1-2:~/gnuradio/gr-utils/src/python# ./usrp_fft.py --help, we found that those meaningless locale barkings, were now not meaning less. It barked with this error: |
| 446 | {{{ |
| 447 | node1-2:~/gnuradio/gr-utils/src/python# ./usrp_fft.py --help |
| 448 | Traceback (most recent call last): |
| 449 | File "./usrp_fft.py", line 27, in <module> |
| 450 | from gnuradio.wxgui import stdgui2, fftsink2, waterfallsink2, scopesink2, form, slider |
| 451 | File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 24, in <module> |
| 452 | import wx |
| 453 | File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module> |
| 454 | from wx._core import * |
| 455 | File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14280, in <module> |
| 456 | default = locale.getpreferredencoding() |
| 457 | File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding |
| 458 | setlocale(LC_CTYPE, "") |
| 459 | File "/usr/lib/python2.5/locale.py", line 478, in setlocale |
| 460 | return _setlocale(category, locale) |
| 461 | locale.Error: unsupported locale setting |
| 462 | }}} |
| 463 | |
| 464 | Googling for the last bit yeilded this page (http://ubuntuforums.org/showthread.php?t=35517) which basically told us to do a reconfigure on the locale package. When I tried to reconfigure it, the session barked because locale wasn't installed. An '''apt-get install locale''' later, and the commnad runs with sucess. |
| 465 | |
| 466 | |