Closed verajosemanuel closed 4 years ago
same here.
I just tested it and it seems to work fine. Please try again. It was probably a transient error.
Getting the same error here. Have you guys managed to successfully authorize it?
I just tested again. I get the error from the Pocket web site, yet it actually works and saves the access token. Try the pocket-reader
command again.
If that still doesn't work, log out of Pocket, then retry authorizing.
I have just done that and here it unfortunately doesn't save the access token. Then I have tried to log out of Pocket and retry authorizing, as you instructed, and it still doesn't work. After that I did pocket-lib-reset-auth
and retried the steps above and it still fails.
After a failed attempt, if I try to call pocket-reader
again, this is printed to my Messages buffer:
helm-M-x: Wrong number of arguments: (lambda (alist) "Create a hash table with initial values according to ALIST." (let ((h (ht-create))) (let ((--dolist-tail-- (reverse alist)) pair) (while --dolist-tail-- (setq pair (car --dolist-tail--)) (let ((key (car pair)) (value (cdr pair))) (ht-set! h key value)) (setq --dolist-tail-- (cdr --dolist-tail--))) (setq pair nil) h))), 2
I have just done that and here it unfortunately doesn't save the access token. Then I have tried to log out of Pocket and retry authorizing, as you instructed, and it still doesn't work. After that I did pocket-lib-reset-auth and retried the steps above and it still fails.
I don't know what else to suggest, besides trying to reproduce in a clean Emacs configuration. I removed my saved token file and tested it, and the Pocket site gave me the error, but then I ran the command again, and it worked, loaded all the items, and I saw that the token file was saved.
After a failed attempt, if I try to call pocket-reader again, this is printed to my Messages buffer:
That error is puzzling. It might indicate a problem with your Emacs configuration or packages. Please try uninstalling and reinstalling the packages pocket-reader
and ht
.
Tried again after error in website auth I get:
Wrong type argument: sequencep, 403
helm-M-x: Opening output file: No such file or directory, c:/Users/jose/.cache/emacs-pocket-lib-token.json
Please try uninstalling and reinstalling the packages pocket-reader and ht.
I have removed and reinstalled those packages and still get the same behavior. :/
I just verified, again, that it works. Here are the steps I followed:
getpocket.com
and logged out of Pocket.~/.cache/emacs-pocket-lib-token.json
file.cd
to MELPA git repo directory.rm -rf sandbox/; make sandbox INSTALL=pocket-reader
.M-x pocket-reader RET
.Authorize
.Page Not Found
error on the next Pocket page.M-x pocket-reader RET
again.FWIW, I encountered the same error, then invoking M-x pocket-reader
again does work for me.
I just verified, again, that it works. Here are the steps I followed:
1. In a browser, visited `getpocket.com` and logged out of Pocket. 2. Deleted existing `~/.cache/emacs-pocket-lib-token.json` file. 3. `cd` to MELPA git repo directory. 4. `rm -rf sandbox/; make sandbox INSTALL=pocket-reader`. 5. After installation finishes, run `M-x pocket-reader RET`. 6. Paste URL from clipboard into browser. 7. Type username and password into Pocket page, click `Authorize`. 8. Ignore the `Page Not Found` error on the next Pocket page. 9. `M-x pocket-reader RET` again. 10. All my Pocket items are now visible in Emacs.
I did exactly the same thing but I still get:
Wrong number of arguments: (lambda (alist) "Create a hash table with initial values according to ALIST." (let ((h (ht-create))) (let ((--dolist-tail-- (reverse alist)) pair) (while --dolist-tail-- (setq pair (car --dolist-tail--)) (let ((key (car pair)) (value (cdr pair))) (ht-set! h key value)) (setq --dolist-tail-- (cdr --dolist-tail--)))\
(setq pair nil) h))), 2
@dorneanu That error indicates a problem with your Emacs configuration's installed packages, not an error with this package.
The original problem reported in this issue is documented in the readme, so I'm closing this issue. Other errors mentioned here are unrelated to it.
this issues,How to fix?
How Can I Help?
The link you followed here is no longer working. Would you like to start over at the [home page](https://getpocket.com/)?
If you think there is a problem, [please let us know](http://help.getpocket.com/).
installed ok, but when started the authorization process does not work. I get this message when I opened the website with the provided link:
"The link you followed here is no longer working. Would you like to start over at the home page?
"