I get this upon calling gourmet:
Traceback (most recent call last):
File "/usr/local/bin/gourmet", line 13, in ?
from gourmet.OptionParser import *
File "/usr/local/lib/python2.4/site-packages/gourmet/__init__.py", line 10, in ?
File "/usr/local/lib/python2.4/site-packages/gourmet/gglobals.py", line 3, in ?
from gdebug import debug
File "/usr/local/lib/python2.4/site-packages/gourmet/gdebug.py", line 2, in ?
from OptionParser import *
File "/usr/local/lib/python2.4/site-packages/gourmet/OptionParser.py", line 11, in ?
AttributeError: 'module' object has no attribute 'make_option'
This is with version 0.13.2 on a Suse 10.1 system running Python 2.4
Odd -- sounds like perhaps you have a newer or older version of optparse...
Could you try the following and report the version info you get
>>> import optparse
I get 1.5a2 here.
I get 1.5.3
More specifically my python version is: 2.4.2
I solved this problem by removing the make_option lines from within the initialization of optparser. Then I switched them to "add_option" and everything went great.
Great program, thanks.
Any chance you could submit a patch?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.