![](https://secure.gravatar.com/avatar/dbaf195c2af6db8e50751583016180b0.jpg?s=120&d=mm&r=g)
Dec. 21, 2012
10:34 a.m.
Did you type this into the interpreter prompt? If so, how did you start Python? Where exactly did you "run this"?
Yes i was using python's default interpreter which was causing problems. /bin/py worked.
While making "class FakeArgs" for starting master process in mailman, i am doing config = make_config(), which gives the following error :
[config_file = os.path.join(os.path.dirname(config.filename), new_config) File "/usr/lib/python2.6/posixpath.py", line 119, in dirname i = p.rfind('/') + 1 AttributeError: 'NoneType' object has no attribute 'rfind'
i searched everything regarding this but could not find how to resolve it