Skip to content

Not loading problem list when signed in #89

Closed
@nverno

Description

@nverno

Just in the last couple days ago (6/17 or so) M-xleetcode doesn't load the problem list when I am signed in (have a session token). It does work (loads the problems in the leetcode buffer) if I sign out from leetcode in my browser, after which I can call (leetcode--login) and am able to submit problems as usual.

I'm using emacs 28.0.50 with the latest leetcode.el (and tested from emacs -Q). I wonder if leetcode changed something about their API recently? Let me know if there is any debugging information that would be useful.

Update: I've narrowed the problem down to leetcode--set-user-and-problems. The .num_total returned is 1901 but the first .stat.frontend_question_id is 1902. There is an args-out-of-bounds from aref. I can confirm that skipping that first problem seems to solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions