-
Notifications
You must be signed in to change notification settings - Fork 27
JSON readtable error:60 #228
Comments
I'm having tha same issue |
Same problem here |
Same. |
Yep, having the same problem (fresh install, instance is koyu.space). |
|
Il giorno gio 26 nov 2020 alle ore 01:36 Justin Abrahms <
notifications@github.com> ha scritto:
Debugger entered--Lisp error: (json-readtable-error 60)
signal(json-readtable-error (60))
json-read()
json-read-from-string("\n<!DOCTYPE html>\n<html lang='en'>\n<head>\n<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>\n<meta charset='utf-8'>\n<title>The page you are looking for isn't here.\n - Mastodon</title>\n<meta content='width=device-width,initial-scale=1' name='viewport'>\n<link rel=\"stylesheet\" media=\"all\" href=\"/packs/css/common-240b0151.css\" />\n<link rel=\"stylesheet\" media=\"all\" href=\"/packs/css/default-446e5713.chunk.css\" />\n<script src=\"/packs/js/common-fea69b14509bad28a4dd.js\" crossorigin=\"anonymous\"></script>\n<script src=\"/packs/js/error-7596933267cf9f5b9159.chunk.js\" crossorigin=\"anonymous\"></script>\n</head>\n<body class='error'>\n<div class='dialog'>\n<div class='dialog__illustration'>\n<img alt='Mastodon' src='/oops.png'>\n</div>\n<div class='dialog__message'>\n<h1>The page you are looking for isn't here.\n</h1>\n</div>\n</div>\n</body>\n</html>\n")
mastodon-client--fetch()
mastodon-client--store()
mastodon-client()
mastodon-auth--generate-token-no-storing-credentials()
mastodon-auth--generate-token()
mastodon-auth--get-token()
mastodon-auth--access-token()
mastodon-http--get("https://fosstodon.org/api/v1/timelines/home")
mastodon-http--get-json("https://fosstodon.org/api/v1/timelines/home")
mastodon-tl--init("home" "timelines/home" mastodon-tl--timeline)
mastodon-tl--get-home-timeline()
mastodon()
funcall-interactively(mastodon)
call-interactively(mastodon record nil)
command-execute(mastodon record)
execute-extended-command(nil "mastodon" "mastodon")
funcall-interactively(execute-extended-command nil "mastodon" "mastodon")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
This is because https://fosstodon.org/api/apps doesn't exist on my
instance.
thank you
This is a substantial advancement
I can't use the Emacs debugger myself
|
Here's the debug log from the http library. Apparently you can customize the url-debug property to get logs like this. They log to the
|
Okay, I now have this working. Aside from slowly stepping through the code, I made this config change which altered how the code path ran:
Maybe that will help folks? |
same error
this is an 404 html page. source of this error:
visited in web browser, this page does not exist. |
fixed with
|
I installed |
strange, i haven't encountered this on my install, on
|
fwiw, this commit by ieure seems to fix initial auth token issues: [it's also incorporated into my fork: https://github.com/mooseyboots/mastodon.el] |
I'm having this issue as well, i tried the (setq mastodon-auth-source-filie "~/.authinfo) and it didn't work for me |
Well i just deleted the package and reinstalled the package and it seems to be working now... kinda odd but maybe this will work for someone else as well |
ieure/mastodon.el@50062c5 should fix this. re-open if you still have this issue. |
It was working fine before with the instance I was using but one iday it stopped working, and returned this error after entering the credentials:
This is the only configuration I had on:
(setq mastodon-instance-url "https://meow.social/")
And tried already deleting the plstore and revoking the permission so it would ask me again for the permission but it didn't work. I did even delete and installed again the package from
stable.melpa.org
.But it returned the same error.
I removed the instance configuration from
.emacs
and it started to work with mastodon.social (I didn't log in though because I don't have an account there).But I want to use my meow.social account.
Anything I could help with to solve this problem?
Also, there's some reason it works with some instances but not with others?
The text was updated successfully, but these errors were encountered: