Skip to content
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

I'm afraid it doesn't actually work on nvda 2022.2/2022.3 #1

Open
zersiax opened this issue Oct 19, 2022 · 2 comments
Open

I'm afraid it doesn't actually work on nvda 2022.2/2022.3 #1

zersiax opened this issue Oct 19, 2022 · 2 comments

Comments

@zersiax
Copy link

zersiax commented Oct 19, 2022

Just tried to install this one, but get the error below when trying to run it:

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 "", line 1006, in gcd_import
File "", line 983, in find_and_load
File "", line 967, in find_and_load_unlocked
File "", line 677, in load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart_init
.py", line 43, in
from .graphical_interface.new_game_dialog import NewGameOptionsDialog
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\graphical_interface\new_game_dialog.py", line 12, in
from ..internet_chess import LichessAPIClient
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\internet_chess_init
.py", line 11, in
from .lichess import LichessAPIClient
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\internet_chess\lichess.py", line 40, in
import lichess_client
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\lib\lichess\lichess_client_init.py", line 1, in
from lichess_client.clients import APIClient
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\lib\lichess\lichess_client\clients_init.py", line 1, in
from lichess_client.clients.client import APIClient
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\lib\lichess\lichess_client\clients\client.py", line 2, in
from lichess_client.clients.base_client import BaseClient
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\lib\lichess\lichess_client\clients\base_client.py", line 7, in
from aiohttp import ClientSession, ClientTimeout
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\lib\lichess\aiohttp_init.py", line 6, in
from .client import (
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\lib\lichess\aiohttp\client.py", line 35, in
from . import hdrs, http, payload
File "C:\Users\flori\AppData\Roaming\nvda\addons\chessmart\globalPlugins\chessmart\lib\lichess\aiohttp\http.py", line 71, in
http.server.BaseHTTPRequestHandler.responses
AttributeError: module 'http' has no attribute 'server'

Might be a capitalization thing, or it's just broken outright :)

@ivnc
Copy link

ivnc commented Nov 11, 2022

@zersiax have you any add-on from André, such as Braille Extender, Markdown Forever etc. installed? Try disabling it, that may do the trick. An user has reported the exact same error via Facebook to the NVDA.es page and he determined that was a conflict with Markdown Forever. We tried to reproduce it and discovered that it happens also with BrailleExtender. I suspect that one of these add-ons, or even this one itself, may be patching the http module and that patch affects Chessmart initialization.

@denizsincar29
Copy link

just use your own http module. why does something patch global things? it'd be nice if an addon can patch something just in their namespace!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants