[Nvda-dev] [NVDA] #534: Provide an isRunning method

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

[Nvda-dev] [NVDA] #534: Provide an isRunning method

NVDA Trac-2
#534: Provide an isRunning method
--------------------------------------+-------------------------------------
 Reporter:  Q                         |       Owner:        
     Type:  enhancement               |      Status:  new  
 Priority:  minor                     |   Milestone:  2010.1
Component:  Core                      |     Version:  trunk
 Keywords:  controller api isRunning  |          Os:        
Blockedby:                            |    Blocking:        
--------------------------------------+-------------------------------------
 The NVDA controller interface should provide a method to easily determine
 if there is an active instance of NVDA.  A simple bool would suffice.

--
Ticket URL: <http://www.nvda-project.org/ticket/534>
NVDA <http://www.nvda-project.org/>
A free and open-source screen reader for Windows
Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] [NVDA] #534: Provide an isRunning method

NVDA Trac-2
#534: Provide an isRunning method
--------------------------------------+-------------------------------------
 Reporter:  Q                         |       Owner:  mdcurran
     Type:  enhancement               |      Status:  new    
 Priority:  minor                     |   Milestone:  2010.1  
Component:  Controller                |     Version:  trunk  
 Keywords:  controller api isRunning  |          Os:          
Blockedby:                            |    Blocking:          
--------------------------------------+-------------------------------------
Changes (by Q):

  * owner:  => mdcurran
  * component:  Core => Controller


--
Ticket URL: <http://www.nvda-project.org/ticket/534#comment:1>
NVDA <http://www.nvda-project.org/>
A free and open-source screen reader for Windows
Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] [NVDA] #534: Provide an isRunning method

NVDA Trac-2
In reply to this post by NVDA Trac-2
#534: Provide an isRunning method
--------------------------------------+-------------------------------------
 Reporter:  Q                         |       Owner:  mdcurran
     Type:  enhancement               |      Status:  new    
 Priority:  minor                     |   Milestone:  2010.1  
Component:  Controller                |     Version:  trunk  
 Keywords:  controller api isRunning  |          Os:          
Blockedby:                            |    Blocking:          
--------------------------------------+-------------------------------------

Comment(by mdcurran):

 Very happy to add one. However out of interest, how exactly would your app
 use this.
 The way we have designed NVDAControllerClient is so that you can safely
 call the methods no matter if its running or not. The return code will be
 non-0 if there was an error communicating with NVDA.
 So I guess I just want to be sure (for best performance on your side) that
 you're not just going to call one NVDA method if it is running. If so, you
 would have called two methods rather than one.
 Also if we did add an isRunning method, it would return 0 if it was
 running, and an error code (non-zero) if it was not. Is this ok?
 Thats just part of how we've chosen to use RPC etc.

--
Ticket URL: <http://www.nvda-project.org/ticket/534#comment:2>
NVDA <http://www.nvda-project.org/>
A free and open-source screen reader for Windows
Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] [NVDA] #534: Provide an isRunning method

NVDA Trac-2
In reply to this post by NVDA Trac-2
#534: Provide an isRunning method
--------------------------------------+-------------------------------------
 Reporter:  Q                         |       Owner:  mdcurran
     Type:  enhancement               |      Status:  new    
 Priority:  minor                     |   Milestone:  2010.1  
Component:  Controller                |     Version:  trunk  
 Keywords:  controller api isRunning  |          Os:          
Blockedby:                            |    Blocking:          
--------------------------------------+-------------------------------------

Comment(by bramd):

 Replying to [comment:2 mdcurran]:
 > Very happy to add one. However out of interest, how exactly would your
 app use this.

 Q, I and others work on the Qwitter client for Twitter. We support various
 speech outputs and have to determine which one to use. If a speech output
 module is unavailable, aka screenreader is not running, we'll skip it and
 select the next one.

 Of course, how you implement this is your choice. Just do what is
 consistent with the rest of your interface.

--
Ticket URL: <http://www.nvda-project.org/ticket/534#comment:3>
NVDA <http://www.nvda-project.org/>
A free and open-source screen reader for Windows
Reply | Threaded
Open this post in threaded view
|

[Nvda-dev] error sound when starting NVDA

Allan
In reply to this post by NVDA Trac-2
OS: Windows 7; 32-bit
NVDA: R3471; installer

error log:
ERROR - NVDAHelper.initialize (10:07:16):
nvdaHelperLocal function pointer for cancelSpeech could not be found, possibly old nvdaHelperLocal dll
ERROR - NVDAHelper.initialize (10:07:16):
nvdaHelperLocal function pointer for brailleMessage could not be found, possibly old nvdaHelperLocal dll
INFO - core.main (10:07:16):
NVDA initialized
INFO - config.save (10:07:24):
Configuration saved


Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] error sound when starting NVDA

James Teh
Issue already fixed. Fix will be available in next snapshots.

On 22/01/2010 12:17 PM, Allan wrote:

> OS: Windows 7; 32-bit
> NVDA: R3471; installer
>
> error log:
> ERROR - NVDAHelper.initialize (10:07:16):
> nvdaHelperLocal function pointer for cancelSpeech could not be found, possibly old nvdaHelperLocal dll
> ERROR - NVDAHelper.initialize (10:07:16):
> nvdaHelperLocal function pointer for brailleMessage could not be found, possibly old nvdaHelperLocal dll
> INFO - core.main (10:07:16):
> NVDA initialized
> INFO - config.save (10:07:24):
> Configuration saved
>
> _______________________________________________
> Nvda-dev mailing list
> [hidden email]
> http://lists.nvaccess.org/listinfo/nvda-dev

--
James Teh
Vice President
NV Access Inc, ABN 61773362390
Email: [hidden email]
Web site: http://www.nvaccess.org/


Reply | Threaded
Open this post in threaded view
|

[Nvda-dev] unclean uninstallation of NVDA

Allan
OS: windows 7; 32-bit
NVDA: R3471; installer

the following folders did not empty or removed while uninstalling NVDA:

C:\Program Files\NVDA
C:\Users\Allan\AppData\Roaming\nvda

apologize if this is a known issue.

Allan



Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] unclean uninstallation of NVDA

James Teh
On 22/01/2010 12:41 PM, Allan wrote:
> the following folders did not empty or removed while uninstalling NVDA:
> C:\Program Files\NVDA
Were you prompted to restart and, if so, have you done so yet? If you
have and the directory is still there, can you please report as to what
files are inside?

> C:\Users\Allan\AppData\Roaming\nvda
This is not really an issue we can (or will) fix. Two reasons:
1. NVDA could be used by more users on the system than just one, so
removing these would require searching all users for the NVDA config
directory.
2. Users may have config data that they want to keep (e.g. if you are
uninstalling NVDA and then reinstalling). It is bad to assume that all
users want their config data deleted.

Jamie

--
James Teh
Vice President
NV Access Inc, ABN 61773362390
Email: [hidden email]
Web site: http://www.nvaccess.org/


Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] unclean uninstallation of NVDA

Allan
Jamie Wrote:
>> the following folders did not empty or removed while uninstalling NVDA:
>> C:\Program Files\NVDA
> Were you prompted to restart and, if so, have you done so yet? If you have and the directory is still there, can you please report
> as to what files are inside?

Yes, i've restarted and here's the list of files and folders in the NVDA folder:

appModules 01/22/2010 10:06 File folder
brailleDisplayDrivers 01/22/2010 10:06 File folder
comInterfaces 01/22/2010 10:06 File folder
documentation 01/22/2010 10:06 File folder
images 01/22/2010 10:06 File folder
lib 01/22/2010 10:06 File folder
lib64 01/22/2010 10:06 File folder
locale 01/22/2010 10:06 File folder
louis 01/22/2010 10:06 File folder
synthDrivers 01/22/2010 10:06 File folder
waves 01/22/2010 10:06 File folder
_ctypes.pyd 10/26/2009 05:25 PYD File 72 KB
_socket.pyd 10/26/2009 05:25 PYD File 40 KB
_ssl.pyd 10/26/2009 05:25 PYD File 630 KB
_win32sysloader.pyd 07/28/2008 07:39 PYD File 9 KB
brlapi.pyd 06/02/2009 10:36 PYD File 94 KB
brlapi-0.5.dll 01/10/2010 13:50 Application extension 60 KB

>> C:\Users\Allan\AppData\Roaming\nvda
> This is not really an issue we can (or will) fix. Two reasons:
> 1. NVDA could be used by more users on the system than just one, so removing these would require searching all users for the NVDA
> config directory.
> 2. Users may have config data that they want to keep (e.g. if you are uninstalling NVDA and then reinstalling). It is bad to
> assume that all users want their config data deleted.

perhaps add an option during the process uninstallation to ask the user whether to remove the share components or otherwise. just my
thought.

Allan



Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] [NVDA] #534: Provide an isRunning method

Mike Bledig
In reply to this post by NVDA Trac-2


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of NVDA Trac
Sent: 21 January 2010 11:30 PM
Cc: [hidden email]
Subject: [Nvda-dev] [NVDA] #534: Provide an isRunning method

#534: Provide an isRunning method
--------------------------------------+-------------------------------------
 Reporter:  Q                         |       Owner:        
     Type:  enhancement               |      Status:  new  
 Priority:  minor                     |   Milestone:  2010.1
Component:  Core                      |     Version:  trunk
 Keywords:  controller api isRunning  |          Os:        
Blockedby:                            |    Blocking:        
--------------------------------------+-------------------------------------

Q                          wrote:
 The NVDA controller interface should provide a method to easily determine
 if there is an active instance of NVDA.  A simple bool would suffice.

Surely the program calling the function would receive an error code on a
unsuccessful call of the function.  I cant see how this would be useful?

If a app calls the speakText for example and it returns a code, indicating a
unsuccessful call of the function, that would be enough for the calling app
to know that nvda isn't there?

One could even use the getNVDAVersionString, and if there was no response
from the call, the calling app would then know NVDA is not present

Mike




Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] [NVDA] #534: Provide an isRunning method

NVDA Trac-2
In reply to this post by NVDA Trac-2
#534: Provide an isRunning method
--------------------------+-------------------------------------------------
  Reporter:  Q            |       Owner:  mdcurran                
      Type:  enhancement  |      Status:  closed                  
  Priority:  minor        |   Milestone:  2010.1                  
 Component:  Controller   |     Version:  trunk                  
Resolution:  fixed        |    Keywords:  controller api isRunning
        Os:               |   Blockedby:                          
  Blocking:               |  
--------------------------+-------------------------------------------------
Changes (by mdcurran):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Implemented in r3480.
 nvdaController_testIfRunning()
 Like all of the other functions, returns 0 on success (in this case, NVDA
 is running), non-zero otherwize.

--
Ticket URL: <http://www.nvda-project.org/ticket/534#comment:4>
NVDA <http://www.nvda-project.org/>
A free and open-source screen reader for Windows
Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] unclean uninstallation of NVDA

Geoff Shang
In reply to this post by James Teh
On Fri, 22 Jan 2010, James Teh wrote:

> 2. Users may have config data that they want to keep (e.g. if you are
> uninstalling NVDA and then reinstalling). It is bad to assume that all users
> want their config data deleted.

Could you not ask the user about removal of configuration data when
uninstalling?  OR would this be problematic?

Geoff.



Reply | Threaded
Open this post in threaded view
|

Re: [Nvda-dev] unclean uninstallation of NVDA

Brian Gaff Lineone downstairs
Could I ask what exactly is supposed to be there when you let it uninstall,
and before the reinstall. There are a lot of folders still there, but as
nothing has gone wrong, I assumed all was well.

I'm not sure why you would want to wipe out your config data myself. If you
wanted to do this, maybe its better the other  way around, ie, unless you
tick a box it will use tyour data.

You can have too many things in an installer.

Brian
Brian Gaff  [hidden email]- If you need to email me please send it
to
[hidden email]
Making sure the name 'Brian Gaff' is in the display name field.
Failure to do this may result in delays or message loss.

Some sacrifices are a fact of life in our junk mail  riddled world!
----- Original Message -----
From: "Geoff Shang" <[hidden email]>
To: "News and discussion for NVDA \(NonVisual Desktop Access\),a free and
open source screen reader for Microsoft Windows"
<[hidden email]>
Sent: Friday, January 22, 2010 6:26 PM
Subject: Re: [Nvda-dev] unclean uninstallation of NVDA


> On Fri, 22 Jan 2010, James Teh wrote:
>
>> 2. Users may have config data that they want to keep (e.g. if you are
>> uninstalling NVDA and then reinstalling). It is bad to assume that all
>> users
>> want their config data deleted.
>
> Could you not ask the user about removal of configuration data when
> uninstalling?  OR would this be problematic?
>
> Geoff.
>
>
> _______________________________________________
> Nvda-dev mailing list
> [hidden email]
> http://lists.nvaccess.org/listinfo/nvda-dev


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.730 / Virus Database: 271.1.1/2638 - Release Date: 01/22/10
07:34:00