-
Notifications
You must be signed in to change notification settings - Fork 62
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
Aenea: Successfully connected to server.
printed when not connected to server
#183
Comments
I can concur that this is an issue that I'm experiencing as well. |
Is anything else being printed? Wondering if this is the problem: https://github.com/dictation-toolbox/aenea/blob/master/client/aenea/communications.py#L97 Socket error is caught and we return None, which then gets converted into an empty context of {}. Since the printed message you note is just testing the absence of a general except:, it still gets printed. If this is the problem, the solution should be to either use a smarter/more explicit check that the connection is up (this state is being tracked in the Proxy as part of retry and cooldown, so maybe we should just add a method to check directly?), or to propagate the socket.error exception (but I worry that could introduce further issues for intermittant problems or when using multiple servers on different computers, if things expect socket.error to be swallowed). |
This text comes up when i open dragon without the server started
|
Hmmm ok, I'll try to take a look at this when I have a chance, but I'm about to head out of town for awhile so it might be a few weeks. |
Thanks, no rush.
… On 21/11/2018, at 3:12 PM, Alex Roper ***@***.***> wrote:
Hmmm ok, I'll try to take a look at this when I have a chance, but I'm about to head out of town for awhile so it might be a few weeks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#183 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AQrCbThAmdJj0sByhPpZzCvloyvPjduIks5uxLZ0gaJpZM4Ynt-o>.
|
If I don't even start the Aenea server,
Aenea: Successfully connected to server.
is printed to the natlink console when i open dragon, incorrectly, at line 2 https://github.com/dictation-toolbox/aenea/blob/master/client/_aenea.py#L54The text was updated successfully, but these errors were encountered: