Re: New add-on: Chessmart


Ângelo Abrantes
 

hi,

Here's the .log:

It's not working with last alpha:


Error importing global plugin chessmart
Traceback (most recent call last):
  File "globalPluginHandler.pyc", line 23, in listPlugins
  File "importlib\__init__.pyc", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\__init__.py", line 43, in <module>
    from .graphical_interface.new_game_dialog import NewGameOptionsDialog
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\graphical_interface\new_game_dialog.py", line 12, in <module>
    from ..internet_chess import LichessAPIClient
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\internet_chess\__init__.py", line 11, in <module>
    from .lichess import LichessAPIClient
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\internet_chess\lichess.py", line 40, in <module>
    import lichess_client
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\lib\lichess\lichess_client\__init__.py", line 1, in <module>
    from lichess_client.clients import APIClient
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\lib\lichess\lichess_client\clients\__init__.py", line 1, in <module>
    from lichess_client.clients.client import APIClient
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\lib\lichess\lichess_client\clients\client.py", line 2, in <module>
    from lichess_client.clients.base_client import BaseClient
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\lib\lichess\lichess_client\clients\base_client.py", line 7, in <module>
    from aiohttp import ClientSession, ClientTimeout
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\lib\lichess\aiohttp\__init__.py", line 6, in <module>
    from .client import (
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\lib\lichess\aiohttp\client.py", line 35, in <module>
    from . import hdrs, http, payload
  File "C:\programas_portateis\NVDAAlfa5\userConfig\addons\chessmart\globalPlugins\chessmart\lib\lichess\aiohttp\http.py", line 71, in <module>
    http.server.BaseHTTPRequestHandler.responses
AttributeError: module 'http' has no attribute 'server'
INFO - core.main (12:49:10.076) - MainThread (4956):

Às 08:19 de 14-08-2022, Héctor Javier Benítez Corredera escreveu:

Good morning Mr. Musharraf.

First of all, I have been able to test the add-on and I think it is wonderful.

Thank you very much.

Well, I'm still having problems running it in NVDA 2022.3 Beta 2 version both in the copy I have installed and in a clean portable copy.

Create a portable copy of NVDA 2022.2 Final and I have not had any problem running it, this is because the new version of NVDA is just around the corner and I do not know if there will be something that affects the add-on.

Well I would like to ask you to make the add-on to translate in my case I would translate it to Spanish as I think it will like it a lot.

Also ask if you can document all the keys of the add-on, looking at the code I see that there are functions on the board with the keys F1, F2, F3, F4, shift+F1 and I still see code.

I join the request of if you could implement the movement instead of having to scroll through the board and make the selection.

In the documentation it says that if it is requested to play over the internet it would be valued. I think it would be an interesting option if it is almost implemented to enable it more if we could choose a user friend through invitation and be able to play with another friend who has the add-on installed.

I know it is easy to ask and difficult to implement but I think this add-on has an incredible potential.

I make a note for the executables that are in the BIN folder, if you search the internet you will find that they are chess engines and that if you go through Virus total one will realize that there is no problem with them.

The fact that an executable comes in a plugin does not mean virus. Python allows without executables to do evil things.

Again thank you very much for your work.

El 14/08/2022 a las 8:43, Akash Kakkar escribió:
Wonderful buddy! I haven't played chess since a long time, I think I played it when I was in school.

Gonna try it out!

On 8/14/2022 1:30 AM, Musharraf wrote:
Hello NVDA Community,

This is Musharraf from Blind Pandas Team.

We're pleased to announce the public availability  of Chessmart add-on for NVDA.

What is Chessmart?
Chessmart (chess: smart) is an add-on for NVDA that provides a fully featured, completely accessible chess playing environment for blind and visually impaired chess players.

How to use
1. Install the add-on
2. Start a new game from the add-on;s menu, which you can find in NVDA's main menu
3. Set the game options as follows:
◦ Play mode: user versus computer, or user versus user (two players)
◦ Chess variant: the add-on supports standard chess and other 7 different chess variants including Chess 960, Anti chess, Atomic chess, Kings of the hill, Racing kings, Hords, and Three check.
◦ Time control: choose among classical, rapid play, blitz, bullit, or custom time controls
◦ FEN: use a custom chessboard Fen
◦ If the play mode is user versus computer; you can adjust the engine options, including engine strength and engine delay
4. Enjoy!


You can download the add-on from the GitHub release page:
https://github.com/blindpandas/chessmart/releases/tag/v0.2


Best
Musharraf










--
Cordiais Cumprimentos
Ângelo Abrantes, Equipa <Portuguesa do NVDA
--
Este e-mail foi analisado pelo software antivírus Avast para verificar a presença de vírus.
www.avast.com

Join nvda-addons@nvda-addons.groups.io to automatically receive all group messages.