I just checkout and compiled g.extension for RC5 here on Mac OS X.
If I just enter g.extension at the prompt, the GUI comes up. If I run it from the GUI or the command line I get this error:
(Tue Sep 1 19:11:25 2009)
g.extension -l svnurl=https://svn.osgeo.org/grass/grass-addons/grass7 prefix=$(HOME)/.grass6/addons
Traceback (most recent call last):
File
"/Library/OpenOSX/grass/grass-6.4.0RC5/scripts/g.extension",
line 237, in <module>
sys.exit(main())
File
"/Library/OpenOSX/grass/grass-6.4.0RC5/scripts/g.extension",
line 206, in main
list_available_modules(options['svnurl'])
File
"/Library/OpenOSX/grass/grass-6.4.0RC5/scripts/g.extension",
line 112, in list_available_modules
grass.message(_('Fetching list of modules from GRASS-
Addons SVN (be patient)...'))
NameError: global name '_' is not defined
(Tue Sep 1 19:11:26 2009) Command finished (0 sec)
I am pretty much a python noob, so not sure where to start looking.