-
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
persisting/new issues with mDNSCheck() #59
Comments
Sorry about that @ubidefeo Can you try replacing the if for this line? if(search(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$", PORT) is not None and "esp" not in MCU.lower()): (Remember to restart ST after the change) It should not show the error this time |
worked like a charm, mister :) thank you |
by the way, about having to restart ST all the time, isn't there some way to tell ST to just reload a plugin? |
To avoid restart everytime I use this plugin: https://github.com/randy3k/PackageReloader |
ace! |
hi @gepd
I'm still having issues on Mac with how detection of port and board is handled in
mDNSCheck()
.I've placed some debugging code in there to see where it halts, and it's clearly the regExp failing something.
Unluckily I'm clueless about regExp, so I don't know what fails there.
Sure thing is if I execute
search(r"[\d{3}\.]{3}", PORT)
withPORT='/dev/tty.usbserial-A900adQQ'
(my USB Serial port) in a Python console I get nothing.I temporarily fixed it by just commenting out the
return False
so I can at least move on and work, but I think a better solution needs to be found here.The previous fix based on
if
worked, but maybe not for everyone.In my opinion, searching for the presence of
tty
,cu.
,COM
(case insensitive) followed by a number might fix it for all the cases I'm aware of.thanks for your attention
u.
The text was updated successfully, but these errors were encountered: