Bug #485

gnuradio-companion crashes when GR_DONT_LOAD_PREFS is set

Added by Martin Braun over 1 year ago. Updated 4 months ago.

Status:Closed Start date:02/17/2012
Priority:Normal Due date:
Assignee:Martin Braun % Done:

0%

Category:grc
Target version:release-3.6.4
Resolution:fixed

Description

This crashes horribly:
% GR_DONT_LOAD_PREFS=1 gnuradio-companion

This horrible, ugly patch makes it work:

import os
if os.environ['GR_DONT_LOAD_PREFS']:
del os.environ['GR_DONT_LOAD_PREFS']
import pygtk
pygtk.require('2.0')
import gtk

History

Updated by Josh Blum about 1 year ago

Just FYI

export GRC_BLOCKS_PATH=/usr/local/share/gnuradio/grc/blocks
#now the following command should work fine
GR_DONT_LOAD_PREFS=1 gnuradio-companion

Updated by Martin Braun 5 months ago

  • Assignee set to Martin Braun
  • Target version changed from release-3.6 to release-3.6.4

Updated by Tom Rondeau 4 months ago

  • Status changed from New to Resolved
  • Resolution set to fixed

Fixed by Martin Braun in commit:
cf2a4f174bb49a6c9e839217369b1e22741a10da

Updated by Ben Reynwar 4 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF