-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help testing Deviot 2.0 #117
Comments
After update I only have a blank drop down with greyed out languages. Cannot select any.
|
Can you try removing |
windows 10 yes en, I reinstalled and now have menus.
on select board i get
all options sub menus greyed out |
I've pushed a fix, try again... you shouldn't see the first error, the second one is related with the file If it keeps showing it, please paste here the content of |
this is in the file
|
Now its telling me needs python, so maybe my env path is broken is not actually working, let me check that real quick. |
Ok working now, my python path was not working. |
Excellent, I've fixed that too, so next time will not care if the python isn't in your global envs |
My options menus are still greyed out however. |
All of them? Is the console showing some error? |
yes all menu items under options, no errors. |
oh, that menu. Yes, it's disabled on purpose, I'm working in that menu, I will update it soon. I have added it to the task list |
Hi @gepd , I'm happy to help test. I updated via git (I manually pull commits and then restart Sublime). Here's a few issues I've found (please let me know if there's a better way to report these:
The next time it showed up (in Deviot > Serial Port(s)), I clicked it, unplugged my USB serial cable, and clicked upload. I got the following message:
The "Generic 192.168.1.119" port was in the list, but when I clicked on it, it just showed the message and the port list again. After clicking "upload" and choosing the "Generic" port entry a few more times, I got it to attempt an upload, but it didn't use the OTA password I'm almost positive I entered earlier (so the upload failed). I then clicked Deviot > Change OTA Password, re-entered my OTA password, and hit enter. An OTA upload immediately started (which I wasn't expecting), and it worked! I just thought to check the Sublime console, and both of these errors show up multiple times:
my guess is that they're related to the "Generic" (network) port disappearing from the list. EDIT:
|
Thanks for the report @airdrummingfool
|
Wow, thanks for addressing things so quickly! Here's some updates:
|
However this behavior will happen always when you try to compile a sketch and it's interrupt to select a board or port, in that case it will always continue compiling/uploading the sketch automatically. -I have increased the time to wait the mdns service, I hope it improves the reliability detecting it (the IP). My ESP displays the same name (Generic) and I do not see that error, so I left two prints to know the list of ports. It will be printed after you select the port, please paste the output here It will look like this: [['SELECT A PORT FROM THE LIST'], ['Add IP Manually'], ['Silicon Labs CP210x USB to UART Bridge (COM3)', 'COM3'], ['Generic (192.168.0.17)', '192.168.0.17', 'no']]
3
|
Thanks! |
Let me know if the last commit solved the problem |
Yep, that seems to have fixed it. I'm still having a few issues with OTA:
Those are really minor issues that probably don't affect Deviot much - I'll keep testing and let you know if I find anything else. Thanks again! |
Thanks you for all reports!
What could be causing the problem is the reliability reading the device information, Deviot checks this information each time before to upload the sketch. So I'll keep adjusting this last point. I'll let you know when I push a new fix for this |
Hey @airdrummingfool I've though in a way to improve the reliability of the IPs, I've pushed some changes, let me know if it make a change in your machine |
@gepd that is definitely an improvement! I've opened the serial port menu now ~20 times, and it has only not been listed once. Previously I would only see it one out of every five or so times I checked the menu. |
Confirming that #64 seem to be alright so far. I'm on arch linux with |
Thanks for the report @jwhendy! |
I thought that after #119 the Python detection also worked on Gentoo. But after a fresh install, I still get the warning to install Python. A couple of sublime restarts later, I do get the Deviot menu, but it seems non-functional. The terminal gives me the following output:
How can I troubleshoot this? |
@m4rcu5 What strikes me is that it's looking in the Deviot package, whereas my
|
@jwhendy Your PlatformIO seems to be installed by pacman (Arch Linux has a nice AUR package for it, opposed to Gentoo). In that case this function https://github.com/gepd/Deviot/blob/deviot_2/beginning/pio_install.py#L251 will exit the installer routine and use the external PlatformIO. |
I found some related log entries. The following is logged during the package installation. At this point I also get the prompt to install Python2.7 although this is already installed.
|
Thanks for the clarification, and I did not understand that. Would it goof things if your |
Fixed that erros in the console (there was not related with symlink)
Please confirm you haven't problem too
If you can't see the new option your menu go to |
It seems your latest commits have fixed my issues on startup. One more console log remaining during first startup:
|
Thanks, fixed with c278181 |
Creating a new sketch, results in the following error after selecting a path:
I noticed that the path selection is acting a bit erratic. "Select Current Dir ($PATH)" sometimes displays 0 as current path. Or lacks behind, for example entering |
Fixed both issues :) |
@gepd I can confirm :) Something I do notice is that, even when not actively using any Deviot functions, the plugin is using up to 25% CPU on my machine. Do you have any background loops running? |
Most of the process are running in background because the main thread is used for the UI I'm working in the completions and the highlight features, I'll finishing that to check whatI let in the background. Thanks a lot for your reports! |
Hi everyone!,
I have been working in the version 2 of Deviot. Now I'm ready to to receive feedback of this version, there are still some features not ready, but I think you can use without problem with most of your projects.
The plugin has been written from scratch, so maybe there is not much new features, but I hope this version is more consistent and with less bugs. Plus the code now is more organized, this is really good to maintain the plugin!.
To install this version read Install developer version but instead of use the
developer
branch use:New features already implemented
PlatformIO console.
Quick bar, access to all deviot features easily
Auto-clean the serial monitor window (after 1600000 characters)
Clean serial monitor window command (from menu)
Support to symlink python installation
Search library with less than 4 charactes
Features NOT implemented Yet:
Auto-discover OTA servicesAutomatic discovery of PlatformIO updatesFull Translation of the pluginPlugin information in the status bar (optional)Console not coloredHighlight lint errorOptions MenuFix ShorcutsAdd code highlight & completionsPlease test all features and report any problem in this post.
Thanks!
The text was updated successfully, but these errors were encountered: