Has anyone gotten the Sublime plugin working on Windows?


#1

The doc states it has only been tested on MacOS, and that is backed up by my experience.

Issues:

  • When running their install script, I get this error:
    Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 795, in run_ return self.run(**args) File "exec in C:\Program Files\Sublime Text 3\Packages\Default.sublime-package", line 259, in run FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\*****\\AppData\\Roaming\\Sublime Text 3\\Packages\\imp-developer'
    I worked around this by using package control to install it

  • When creating a new project, I get this error:
    Traceback (most recent call last): File "modules.Sublime_AdvancedNewFile_1_0_0.advanced_new_file.commands.command_base in C:\Users\*****\AppData\Roaming\Sublime Text 3\Installed Packages\Electric Imp Developer.sublime-package", line 315, in on_done File "modules.Sublime_AdvancedNewFile_1_0_0.advanced_new_file.commands.command_base in C:\Users\*****\AppData\Roaming\Sublime Text 3\Installed Packages\Electric Imp Developer.sublime-package", line 344, in entered_filename File "imp_developer in C:\Users\*****\AppData\Roaming\Sublime Text 3\Installed Packages\Electric Imp Developer.sublime-package", line 1166, in entered_file_action File "imp_developer in C:\Users\*****\AppData\Roaming\Sublime Text 3\Installed Packages\Electric Imp Developer.sublime-package", line 935, in on_project_path_provided File "imp_developer in C:\Users\*****\AppData\Roaming\Sublime Text 3\Installed Packages\Electric Imp Developer.sublime-package", line 948, in create_project File "imp_developer in C:\Users\*****\AppData\Roaming\Sublime Text 3\Installed Packages\Electric Imp Developer.sublime-package", line 995, in copy_template_resource File "C:\Program Files\Sublime Text 3\sublime.py", line 192, in load_resource raise IOError("resource not found") OSError: resource not found
    I haven’t figured out a fix for that one yet.

So has anyone successfully set the plugin up, or is it only stable on MacOS?


#2

The developer of the plugin is on vacation for the next week – I’ll be sure he sees the question when he gets back (if it hasn’t been answered already).


#3

The issue is fixed in the version 1.1.7 that was released today. Please install it through the Package Control and let me know if it works now.


#4

Hi ppetrosh,

If you’re still out there, please help…
I have the plugin working under Windows 10 and I am able to build and run my project. My question is, how do I execute ‘run and build’ from Windows command line? I got as far as this:

C:\Users\Marien\AppData\Roaming\Sublime Text 3\Packages\ElectricImp-Sublime-master>python imp_developer.py C:\Users\Marien\electric-imp-project-Marien-Dev\settings\electric-imp.settings

and got the response:

Traceback (most recent call last):
File “imp_developer.py”, line 33, in
import urllib.request
ImportError: No module named request

I have Python 2.7 installed.

Thanks in advance,
Marien