jlegewie/SublimePeek

Not working with ST3 on OS X Mavericks

Opened this issue · 4 comments

I just installed this on Mavericks through the package control with a pretty fresh installation of ST3. Nothing happens when I hit (super+shift+h) in a python file.

Hey, it works for me on Mavericks. Can you post the error message from the console? And maybe check whether the package is unpacked in the ST package folder (Sublime Text -> Preferences -> Browse Packages)?

Error message:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 549, in run_
    return self.run(edit)
  File "/Users/demmeln/Library/Application Support/Sublime Text 3/Packages/SublimePeek/SublimePeek.py", line 68, in run
    keyword = self.create_help_file(keyword)
  File "/Users/demmeln/Library/Application Support/Sublime Text 3/Packages/SublimePeek/SublimePeek.py", line 248, in create_help_file
    args = calls[self.lang] + [keyword]
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'

Should be fixed now. Can you try? The settings files was not loading correctly during startup...

Hm, now I get this:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 549, in run_
    return self.run(edit)
  File "/Users/demmeln/Library/Application Support/Sublime Text 3/Packages/SublimePeek/SublimePeek.py", line 69, in run
    keyword = self.create_help_file(keyword)
  File "/Users/demmeln/Library/Application Support/Sublime Text 3/Packages/SublimePeek/SublimePeek.py", line 240, in create_help_file
    html = doc.html
  File "/Users/demmeln/Library/Application Support/Sublime Text 3/Packages/SublimePeek/SublimePeek.py", line 708, in <lambda>
    (lambda x, fmt=fmt: cls._output(x, fmt)),
  File "/Users/demmeln/Library/Application Support/Sublime Text 3/Packages/SublimePeek/SublimePeek.py", line 724, in _output
    return p.communicate(self._content)[0]
  File "X/subprocess.py", line 906, in communicate
  File "X/subprocess.py", line 1513, in _communicate
  File "X/subprocess.py", line 1608, in _communicate_with_poll
TypeError: 'str' does not support the buffer interface