Home Download Buy Blog Forum Support

'module' object has no attribute 'ok_cancel_dialog'

'module' object has no attribute 'ok_cancel_dialog'

Postby jonheller on Thu Apr 26, 2012 2:09 pm

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:

Code: Select all
>>> 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.
jonheller
 
Posts: 2
Joined: Thu Apr 26, 2012 2:06 pm

Re: 'module' object has no attribute 'ok_cancel_dialog'

Postby wuub on Thu Apr 26, 2012 2:13 pm

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.
SublimeREPL via Package Control & SublimePTY dev/pre-alpha. Donations are appreciated, but not required :) Twitter: @wuub
wuub
 
Posts: 218
Joined: Wed Aug 10, 2011 8:16 am
Location: Poland

Re: 'module' object has no attribute 'ok_cancel_dialog'

Postby jonheller on Fri Apr 27, 2012 12:19 pm

Doh! What a simple explanation. Thank you.
jonheller
 
Posts: 2
Joined: Thu Apr 26, 2012 2:06 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 35 guests