gepd / Deviot

Sublime Text plugin for IoT development based in PlatformIO ecosystem (Arduino IDE)
Apache License 2.0
306 stars 56 forks source link

None environment selected #16

Closed ghost closed 8 years ago

ghost commented 8 years ago

Get this error. No clue what environment it means.

gepd commented 8 years ago

First you need to select one or more boards from the board list Deviot Menu > Select Board(s) after that, select the environment (board) you would like to work with Menu > Select Environment

You should do the same as in this gif

ghost commented 8 years ago

The 'Select Environment' is grayed out. I do have a board selected (Arduino Pro Mini)

gepd commented 8 years ago

can you please copy and paste here the output of your console? View > Show Console

ghost commented 8 years ago

These are the parts from the console. The last part repeats a couple of times.

warning: mnemonic t not found in menu caption Tools

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 493, in is_checked_
    ret = self.is_checked(**args)
TypeError: is_checked() got an unexpected keyword argument 'id_lang'
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 497, in is_checked_
    ret = self.is_checked()
TypeError: is_checked() missing 1 required positional argument: 'lang_id'
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 493, in is_checked_
    ret = self.is_checked(**args)
TypeError: is_checked() got an unexpected keyword argument 'id_lang'
gepd commented 8 years ago

What is you OS? are you using ST3?

Please copy the full output to debug the problem

ghost commented 8 years ago

DPI scale: 1 startup, version: 3103 linux x64 channel: stable executable: /opt/sublime_text/sublime_text working dir: / packages path: /home/thijs/.config/sublime-text-3/Packages state path: /home/thijs/.config/sublime-text-3/Local zip path: /opt/sublime_text/Packages zip path: /home/thijs/.config/sublime-text-3/Installed Packages ignored_packages: ["Vintage"] scan: /home/thijs/.config/sublime-text-3/Packages/User/Deviot/penv/local/include has been seen before, skipping (using inode) previous path: /home/thijs/.config/sublime-text-3/Packages/User/Deviot/penv/include inode: 1460302 scan: /home/thijs/.config/sublime-text-3/Packages/User/Deviot/penv/local/bin has been seen before, skipping (using inode) previous path: /home/thijs/.config/sublime-text-3/Packages/User/Deviot/penv/bin inode: 1460233 scan: /home/thijs/.config/sublime-text-3/Packages/User/Deviot/penv/local/lib has been seen before, skipping (using inode) previous path: /home/thijs/.config/sublime-text-3/Packages/User/Deviot/penv/lib inode: 1460237 pre session restore time: 0.0908 warning: mnemonic t not found in menu caption Tools startup time: 0.184211 first paint time: 0.202477 reloading plugin Default.block reloading plugin Default.comment reloading plugin Default.convert_syntax reloading plugin Default.copy_path reloading plugin Default.delete_word reloading plugin Default.detect_indentation reloading plugin Default.duplicate_line reloading plugin Default.echo reloading plugin Default.exec reloading plugin Default.fold reloading plugin Default.font reloading plugin Default.goto_line reloading plugin Default.history_list reloading plugin Default.indentation reloading plugin Default.kill_ring reloading plugin Default.mark reloading plugin Default.new_templates reloading plugin Default.open_context_url reloading plugin Default.open_file_settings reloading plugin Default.open_in_browser reloading plugin Default.pane reloading plugin Default.paragraph reloading plugin Default.paste_from_history reloading plugin Default.profile reloading plugin Default.profile_syntax_definition reloading plugin Default.quick_panel reloading plugin Default.run_syntax_tests reloading plugin Default.save_on_focus_lost reloading plugin Default.scroll reloading plugin Default.set_unsaved_view_name reloading plugin Default.side_bar reloading plugin Default.sort reloading plugin Default.swap_line reloading plugin Default.switch_file reloading plugin Default.symbol reloading plugin Default.transform reloading plugin Default.transpose reloading plugin Default.trim_trailing_white_space reloading plugin CSS.css_completions reloading plugin Diff.diff reloading plugin HTML.encode_html_entities reloading plugin HTML.html_completions reloading plugin Python.syntax_test_python reloading plugin 0_package_control_loader.00-package_control reloading plugin 0_package_control_loader.01-pygments reloading plugin 0_package_control_loader.01-ssl-linux Package Control: Linux SSL: successfully loaded _ssl module for libssl.so.1.0.0 reloading plugin 0_package_control_loader.02-bz2 reloading plugin 0_package_control_loader.50-pyyaml reloading plugin AngularJS.AngularJS-sublime-package reloading plugin AngularJS.jscompletions reloading plugin AngularJS.message reloading plugin AngularJS.sublime_commands reloading plugin AngularJS.viewlocation reloading plugin DocBlockr.jsdocs reloading plugin GitGutter.git_gutter reloading plugin GitGutter.git_gutter_change reloading plugin GitGutter.git_gutter_compare reloading plugin GitGutter.git_gutter_events reloading plugin GitGutter.git_gutter_handler reloading plugin GitGutter.git_helper reloading plugin GitGutter.view_collection reloading plugin JsFormat.js_formatter reloading plugin MarkLogic.MarkLogic reloading plugin Markdown Preview.MarkdownPreview reloading plugin Markdown Preview.helper reloading plugin Markdown Preview.markdown_settings reloading plugin Markdown Preview.markdown_wrapper reloading plugin Package Control.1_reloader reloading plugin Package Control.2_bootstrap reloading plugin Package Control.Package Control reloading plugin SideBarEnhancements.SideBar reloading plugin SideBarEnhancements.SideBarAPI reloading plugin SideBarEnhancements.SideBarDefaultDisable reloading plugin SublimeLinter-json.linter SublimeLinter: json linter loaded reloading plugin SublimeLinter-pep8.linter SublimeLinter: pep8 linter loaded reloading plugin Anaconda.anaconda reloading plugin Anaconda.version reloading plugin Babel.Babel reloading plugin CodeFormatter.CodeFormatter CodeFormatter: formatting python files on ST3 not supported. reloading plugin Deviot.DeviotStarter reloading plugin JSHint.JSHint reloading plugin Stino.StinoStarter warning: mnemonic t not found in menu caption Tools reloading plugin SublimeLinter.commands reloading plugin SublimeLinter.sublimelinter plugins loaded CodeFormatter: Plugin Initialized SublimeLinter: debug mode: off SublimeLinter: WARNING: import of pep8 module in pep8 failed, linter will not work with python 3 code generating syntax summary warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools generating syntax summary warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' warning: mnemonic t not found in menu caption Tools Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Package Control: No updated packages Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' warning: mnemonic t not found in menu caption Tools warning: mnemonic t not found in menu caption Tools Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 493, in ischecked ret = self.is_checked(**args) TypeError: is_checked() got an unexpected keyword argument 'id_lang'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 497, in ischecked ret = self.is_checked() TypeError: is_checked() missing 1 required positional argument: 'lang_id'

ghost commented 8 years ago

Linux Mint 64-bit ST3 3103

gepd commented 8 years ago

I've released a new versión of Deviot with a fix for this problem, please check you're runing version 1.1.7 and tell me if the problem was solved.

ghost commented 8 years ago

Ok, I think it's much better now. The Build now fails on a missing Lib. Not sure if Deviot should point to the Arduino IDE Lib folder in some way..

[ Deviot 1.1.7 ] attiny_sleeper.ino
08:16:43 Initializing the project | SUCCESS | it took 0.49s
08:16:43 Building the project | Processing...
/home/thijs/Repos/plantControl/arduino/attiny_sleeper/tmp_ino_to.cpp:3:24: fatal error: Manchester.h: No such file or directory
#include <manchester.h>
^
gepd commented 8 years ago

At this moment Deviot can't point to the Arduino library folder. Instead you have to copy or install the library.

ghost commented 8 years ago

thanks, I will open an other issue for the libs if needed