Shinmera / tooter

A Common Lisp client library for Mastodon instances.
https://shinmera.github.io/tooter
zlib License
44 stars 6 forks source link

The value #() is not of type HASH-TABLE when using tooter:account #47

Closed colfrog closed 9 months ago

colfrog commented 9 months ago

Hi,

I authorized my client, saved the key, secret and access token and I re-use them to authenticate with my mastodon instance, but when calling tooter:account it fails in a weird way. It also did this when I manually authenticated through tooter:authorized.

This is what the debugger says:

debugger invoked on a TYPE-ERROR in thread
#<THREAD "main thread" RUNNING {10018801B3}>:
  The value
    #()
  is not of type
    HASH-TABLE
  when binding HASH-TABLE

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(SB-IMPL::GETHASH3 "shortcode" #() NIL) [external]

I'm very puzzled as to where or why this is happening.

This also happens when I call make-status, I'm guessing it tries to retrieve the account first.

Shinmera commented 9 months ago

Try again with the latest version from git. It's likely you got a broken version from QL.

colfrog commented 9 months ago

It's working very well after cloning the git repo to local-projects, thank you.