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

Error when last file open is an image #100

Closed
MSchlieper opened this issue Nov 20, 2013 · 2 comments
Closed

Error when last file open is an image #100

MSchlieper opened this issue Nov 20, 2013 · 2 comments

Comments

@MSchlieper
Copy link

I'm using PHPCS with ST3 3056 which has the ability to display images (as images and not just the raw binary data).
If I close ST3 and the last file open was such an image, I have the following output in my console when restarting ST3 and "auto-reopening" this recent image:

Traceback (most recent call last):
File "/Applications/MyApplications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 157, in on_api_ready
m.plugin_loaded()
File "phpcs in /Users/groucho/Library/Application Support/Sublime Text 3/Installed Packages/Phpcs.sublime-package", line 91, in plugin_loaded
File "phpcs in /Users/groucho/Library/Application Support/Sublime Text 3/Installed Packages/Phpcs.sublime-package", line 59, in load
AttributeError: 'NoneType' object has no attribute 'settings'

@brodkin
Copy link

brodkin commented Apr 9, 2014

I'm having the same issue, but without involving images. When using a project ST3 will restore all files that were open when the program was quit. Any file that was left open will throw these exceptions--and then some.

@benmatselby
Copy link
Owner

@MSchlieper @brodkin Should be fixed now in 6.6.3.

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

No branches or pull requests

3 participants