Comments (4)
Hello everyone, sorry for the very late response!
I am developing a new simplified version of chessli with a graphical user interface.
Since I switch to the new https://github.com/lichess-org/berserk this issue will become obsolete.
from chessli.
I am also getting this error.
from chessli.
Anyone know a fix to this issue?
from chessli.
Also getting this error. (After running poetry update berserk
which did ineed fix the previous error.
https://lichess.org/api#tag/Puzzles/operation/apiPuzzleActivity
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/berserk/exceptions.py", line 63, in _catch_exception
response.raise_for_status()
File "/opt/homebrew/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://lichess.org/api/user/puzzle-activity
TL;DR; We're calling a deprecated method in berserk. Should be using Puzzles.get_puzzle_activity not the deprecated get_puzzle_activity
This is wrong (deprecated method in latest version of v0.12.8):
def get_puzzle_activity(self, max=None):
"""Stream puzzle activity history starting with the most recent.
:param int max: maximum number of entries to stream
:return: puzzle activity history
:rtype: iter
"""
- path = 'api/user//puzzle-activity'
+ path = 'api/user/puzzle/activity'
params = {'max': max}
return self._r.get(path, params=params, fmt=NDJSON, stream=True,
converter=models.PuzzleActivity.convert)
If you compare berserk/clients.py::get_puzzle_activity
with the Lichess apiUserActivity Docs it is puzzle/activity
Side note:
This error can be reproduced by running:
poetry update berserk
chessli --user DrDrunkenstein tactics ankify --export-only
from chessli.
Related Issues (20)
- Make chessli easier to install for windows users. HOT 1
- chessli games ankify clarification on mistakes HOT 2
- Cannot ankify mistakes and games sequentially from last-time due to shared tag HOT 1
- Totally new programmer HOT 3
- Feature request for option to import only incorrect puzzles from lichess HOT 5
- [Question] How to setup chessli for testing and install from local directory HOT 4
- how do i get this to work on anki? HOT 1
- does anyone know of a way that i can download all of the FEN codes from a book in pdf form onto my computer? HOT 3
- Minor tactics cards (bug?) HOT 2
- ConfigAttributeError on fresh install HOT 7
- Error: Missing key store HOT 15
- Support for card review in web browser HOT 2
- pandas.errors.ParserError: Error tokenizing data. C error: Expected 10 fields in line 3, saw 11 HOT 3
- No csv generated from chessli tactics ankify HOT 1
- Start as black, have computer do first move? HOT 3
- Can't make moves HOT 2
- i can't install chessli, if anyone can help me please contact me on discord pls flex#3045 HOT 4
- installation issue - wsl HOT 1
- broken url on ankiweb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chessli.