gepd / Deviot

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

DEV upload failing after platformio untouch, corruption of ini #281

Open tablatronix opened 5 years ago

tablatronix commented 5 years ago
Traceback (most recent call last):
  File "./python3.3/threading.py", line 901, in _bootstrap_inner
  File "./python3.3/threading.py", line 858, in run
  File "/Users/shawn/Library/Application Support/Sublime Text 3/Packages/Deviot (Arduino IDE)/platformio/upload.py", line 52, in start_upload
    self.add_option('lib_extra_dirs', append=True)
  File "/Users/shawn/Library/Application Support/Sublime Text 3/Packages/Deviot (Arduino IDE)/libraries/preferences_bridge.py", line 325, in add_option
    option = self.init_option + ', ' + option
TypeError: unsupported operand type(s) for +: 'int' and 'str'
tablatronix commented 5 years ago

It was working fine then suddenly started doing this, cannot upload

tablatronix commented 5 years ago

ahh I did a untouch, and it messed up the ini file. reproducible. OSX

upload_speed = 921600
lib_extra_dirs = 921600 <----- whaaaa
gepd commented 5 years ago

The last commit should fix it

tablatronix commented 5 years ago

ok Ill check, I was testing always compiling issues, was seeing alot of compiling ( I am having upload issues atm so testing alot of reuplods )