Global user settings ignored

Issue #4 closed
Anonymous created an issue

Env settings in the user settings do not work. I also get the following error, which might be related to it:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 120, in reload_plugin
    m.plugin_loaded()
  File "EnvironmentSettings in /Users/ana-enderfra/Library/Application Support/Sublime Text 3/Installed Packages/Environment Settings.sublime-package", line 89, in plugin_loaded
  File "EnvironmentSettings in /Users/ana-enderfra/Library/Application Support/Sublime Text 3/Installed Packages/Environment Settings.sublime-package", line 28, in collect_variables
  File "./python3.3/posixpath.py", line 151, in dirname
AttributeError: 'NoneType' object has no attribute 'rfind'

I think the problem is that there is no project path available, but I also have no idea of python 😄

Comments (5)

  1. Daniele Niero repo owner

    I updated the code to take care of the error you have, however I'm not totally sure this is the reason why you cannot make EnvironmentSettings to work.

    P.S. You posted as "anonymous", that probably means that you don't get notifications when I comment on this issue. I strongly suggest, if you ever will come back to this page to read the issue you opened, to register next time :)

  2. Daniele Niero repo owner

    I can't get an update for whoever opened this ticket and I can't replicate the issue. I won't be able to fix this problem without more information.

    For this reason I will put it on "hold"

  3. Log in to comment