DEV Critical Bugs A Summary of open issues
See original GitHub issueLogging critical bugs that must be fixed for deviot to be usable at all at this point. ( I assume no-one is still using this or has switched to vscode now ) If anyone wants to track these or work on them , please comment here or post your forks. I will try to start once I have the codebase figured out and some pdb debugging setup,
Enable logging in deviot sublime package settings logger_level start_listener.py doesn’t seem to work
Most of these seem fairly simple state corruption, flags, or order of operation sync checks Should be fixable fairly easily
Platformio.ini corruption
The config reader or writer corrupts newlines, it does this if there is multiple white space between
var = value // eg.
becomes
var =
value
and pio chokes
There are some other syntax it chokes on also, some comment blocks, and some valid multi line env declarations, and indentation.
workaround
disable all ini write flags TRUE, might have to fiddle to get environments to load though.
perferences_bridge.py
write_file = False
cwd.run
==============
programmer
reloading settings Packages/User/deviot.sublime-settings
==============
check_auth_ota
no command for selector: noop:
Traceback (most recent call last):
File "/Users/shawn/Library/Application Support/Sublime Text 3/Packages/Deviot (Arduino IDE)/platformio/command.py", line 241, in _finish
run_next()
File "/Users/shawn/Library/Application Support/Sublime Text 3/Packages/Deviot (Arduino IDE)/platformio/command.py", line 372, in run_next
Command().run_command(_COMMAND_QUEUE.popleft())
File "/Users/shawn/Library/Application Support/Sublime Text 3/Packages/Deviot (Arduino IDE)/platformio/command.py", line 184, in run_command
if(self.cwd):
Going from OTA back to serial
Continues to assemble cmd with serial and ota ports in args
workaround
Select devices-> Not Used, sometimes will clear it up
Serial monitor state
Serial monitor is losing state, says its running, even if it cannot start, or runs and deviot ungreys serial options “send” and fails to disable it when uploading causing upload failures
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
I’m checking all this.
I’ve tried to reproduce the “Platformio.ini corruption” adding spacing to vars but I’m not getting the corruption. Can you provide an example to reproduce it?
Investigating… “Going from OTA back to serial”
(next time would be easy if you split it in multiples issues)
I linked #272 already above, it is a library that uses platformio.ini, when I compile, deviot rewrites the ini file ( to insert baud and lib deps etc ) and corrupts the file. It does it with anything though (osx), marlin etc