Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caught AttributeError when openning first file #68

Closed
Timandes opened this issue Jul 5, 2016 · 2 comments
Closed

Caught AttributeError when openning first file #68

Timandes opened this issue Jul 5, 2016 · 2 comments
Labels

Comments

@Timandes
Copy link

Timandes commented Jul 5, 2016

After disabling and enabling the plugin, when I opened some file, I got an error in console:

Traceback (most recent call last):
  File "C:\Users\名字\AppData\Roaming\Sublime Text 3\Packages\ConvertToUTF8\ConvertToUTF8.py", line 50, in save_on_dirty
    sublime.set_timeout(self.save_on_dirty, 10000)
AttributeError: 'NoneType' object has no attribute 'set_timeout'

Then the plugin seems stucked and does not convert any file until I disable an enable it again.

Could you guide me to solve that?

@seanliang seanliang added the bug label Jul 10, 2016
seanliang added a commit that referenced this issue Jul 10, 2016
- Handle the unload event to avoid AttributeError (#68, thanks to @Timandes)
@seanliang
Copy link
Owner

seanliang commented Jul 10, 2016

This bug is fixed in v1.2.11, please update the plugin and have a check. Thanks!

@Timandes
Copy link
Author

It works fine. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants