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

Another NoneType error #2

Closed
Darkle opened this issue Sep 5, 2014 · 7 comments
Closed

Another NoneType error #2

Darkle opened this issue Sep 5, 2014 · 7 comments
Assignees

Comments

@Darkle
Copy link

Darkle commented Sep 5, 2014

I'm getting the following error when I run the package:

Traceback (most recent call last):
  File "/Applications/Coding/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 303, in on_activated
    callback.on_activated(v)
  File "ThemeAutomator in /Users/coop/Library/Application Support/Sublime Text 3/Installed Packages/ThemeAutomator.sublime-package", line 64, in on_activated
  File "ThemeAutomator in /Users/coop/Library/Application Support/Sublime Text 3/Installed Packages/ThemeAutomator.sublime-package", line 41, in add_scheme
AttributeError: 'NoneType' object has no attribute 'append'
found 12 files for base name Main.sublime-menu
Traceback (most recent call last):
  File "/Applications/Coding/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 319, in on_deactivated
    callback.on_deactivated(v)
  File "ThemeAutomator in /Users/coop/Library/Application Support/Sublime Text 3/Installed Packages/ThemeAutomator.sublime-package", line 69, in on_deactivated
  File "ThemeAutomator in /Users/coop/Library/Application Support/Sublime Text 3/Installed Packages/ThemeAutomator.sublime-package", line 51, in set_scheme_for_extension
  File "ThemeAutomator in /Users/coop/Library/Application Support/Sublime Text 3/Installed Packages/ThemeAutomator.sublime-package", line 41, in add_scheme
AttributeError: 'NoneType' object has no attribute 'append'

I'm not sure if it's the same thing as in this earlier bug: #1 as the error seems a little bit different.

When I first installed the package it worked fine, but after I restarted Sublime it no longer worked and that error shows up in the console.

My details:
OSX 10.9.4
Sublime Text 4, build 3065

@vitto
Copy link
Owner

vitto commented Sep 5, 2014

Thanks for the notification, I'll take a look soon!

vitto pushed a commit that referenced this issue Oct 2, 2014
@vitto
Copy link
Owner

vitto commented Oct 2, 2014

I think now the problem should be fixed, now i don't get the error anymore.

@vitto vitto closed this as completed Oct 2, 2014
@vitto
Copy link
Owner

vitto commented Oct 2, 2014

No, it still not working, sorry for delay, I hope to fix it in the next week

@vitto vitto reopened this Oct 2, 2014
@vitto
Copy link
Owner

vitto commented Oct 2, 2014

I'm not sure what the problem is, my steps are:

  1. if I install it, it works.
  2. if I reload Sublime it throw error.
  3. if I open ThemeAutomator.py and save it without touch anything it works again.

I'll try to gain infos about the possible causes.

@vitto vitto self-assigned this Oct 2, 2014
@Darkle
Copy link
Author

Darkle commented Jan 29, 2015

Just wondering if there has been any progress on this?

@vitto
Copy link
Owner

vitto commented Jan 29, 2015

Yeah, I've just fixed it, thanks for the ping!
Now it should be finally fixed.

@vitto vitto closed this as completed Jan 29, 2015
@Darkle
Copy link
Author

Darkle commented Jan 30, 2015

Awesome! Just tried it and restarted and it's working great. Thanks.

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

No branches or pull requests

2 participants