question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DEV Critical Bugs A Summary of open issues

See original GitHub issue

Logging 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:open
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
gepdcommented, Jul 12, 2020

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)

0reactions
tablatronixcommented, Jul 12, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Write A Good Bug Report? Tips and Tricks
#5) Description​​ Bug description helps the developer to understand the bug. It describes the problem encountered. A poor description will create ...
Read more >
coq/critical-bugs at master - GitHub
Preliminary compilation of critical bugs in stable releases of Coq ... summary: issue with two parameters in the same universe level.
Read more >
Issue Tracker - Google Developers
Issue Tracker considers issues as being either Open or Closed depending on their status. Open issues are those that are awaiting resolution.
Read more >
How to write a good software bug report | TechTarget
Developers need clear, well-supported documentation to classify, investigate and remediate defects. Here are five criteria that QA professionals ...
Read more >
How to Write a Bug Report That Will Make Your Developers ...
1. Title · 2. Summary · 3. Visual proof/Screenshot · 4. Expected vs. actual results · 5. Steps to reproduce · 6. Environment...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found