Sublime Forum

'module' object has no attribute 'ok_cancel_dialog'

#1

Hello,

I was trying to test out the package SublimePeek, and it wasn’t working. I got in touch with the author who asked me to try running

sublime.ok_cancel_dialog(“TEST”)

In the console. When doing so I receive the following error:

>>> sublime.ok_cancel_dialog("TEST") Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: 'module' object has no attribute 'ok_cancel_dialog'

Any ideas? Thanks.

0 Likes

#2

You’re on a stable 2181 build.
sublime.ok_cancel_dialog was added in nightly 2187 and then dev 2190. It’s still not present in stable channel.

0 Likes

#3

Doh! What a simple explanation. Thank you.

0 Likes