Git Product home page Git Product logo

Comments (5)

LexiconCode avatar LexiconCode commented on July 17, 2024

I can concur that this is an issue that I'm experiencing as well.

from aenea.

calmofthestorm avatar calmofthestorm commented on July 17, 2024

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).

from aenea.

dylan-chong avatar dylan-chong commented on July 17, 2024

Socket error connecting to aenea server. To avoid slowing dictation, we won\'t try again for %i seconds doesn't get printed until i try to say a command

This text comes up when i open dragon without the server started

 -- natlinkmain starting...
--- natlinkstartup starting...
======
SendInput, a Vocola extension written by Mark Lillibridge,  is 
used for all normal playString calls!  If you do not want this,
change the variable useMarkSendInput to 0 in line 65 of
natlinkutils.py.  This file is located in the directory 
NatLink\MacroSystem\Core.  Then restart Dragon...
======
Vocola not active
Aenea client-side modules loaded successfully
Settings:
	HOST: 192.168.56.1
	PORT: 8240
	PLATFORM: proxy
	USE_MULTIPLE_ACTIONS: True
	SCREEN_RESOLUTION: [6400, 1440]
Aenea: Successfully connected to server.
Loading _charwise_vim.py
Aenea hello world grammar: Loaded.
natlinkmain started from C:\NatLink\NatLink\MacroSystem\core:
  NatLink version: 4.1whiskey
  DNS version: 13
  Python version: 27
  Windows Version: 7
----------------------------------------

from aenea.

calmofthestorm avatar calmofthestorm commented on July 17, 2024

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.

from aenea.

dylan-chong avatar dylan-chong commented on July 17, 2024

from aenea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.