rohdef/pysmell — Issue #15: Can't use auto-compelte
Author: rohdef
Created: 2011-10-24 10:18:30+00:00
State: open
Labels: Editors

What steps will reproduce the problem?
1. Try to autocomplete in textmate on OSX
2.
3.

What is the expected output? What do you see instead?
I expect to see the PySmell autocomplete dialog

What version of the product are you using? On what operating system?
OSX latest version of pysmell from github copied on 4/29 11:30am

Please provide any additional information below.
Error output is:
Traceback (most recent call last):
File "", line 1, in
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pysmell/textmate.py",
line 5, in
from pysmell import tm_dialog
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pysmell/tm_dialog.py",
line 12, in
dialog = os.environ["DIALOG"]
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/UserDict.py",
line 22, in __getitem__
raise KeyError(key)
KeyError: 'DIALOG'

That text actually fills into my document.