-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle rare items with empty or invalid URL #19
Comments
That would seem to indicate that one of your Pocket items has an empty URL string, which is strange. I suppose we should account for that possibility, but it ought to be extremely rare, and might indicate a mistake on Pocket's end at some time in the past (e.g. when the item was added). |
Yes, you're right. I've found an item in pocket web ui that doesn't display any url (but it still opens the page if try to). Removing this item makes pocket-reader usable again. I'll let you decide whether to close the issue now or when/if you'd like to add a workaround. Thanks! |
Btw, the problem is reproducible with this page https://www.javiercasas.com/articles/codata-in-action. |
Thanks, I'll look into adding checks for this.
Sorry, I don't understand what you mean. |
If you add this page to the pocket, you'll get this problem in pocket-reader.el. |
Add it to Pocket how? With what software? |
Official web page https://app.getpocket.com/ will add it without an url or whatever makes it broken. |
Have you reported that bug to Pocket? |
No. Even though it seems to be wrong, it works fine in their official web and android client. So, unless it's some API specification violation, they may not consider it an issue on their side :/ |
Isn't app.getpocket.com an official Web client? If it saves an entry with an empty URL, that's definitely a bug in their code. |
When I start pocket-reader, I get
replace-regexp-in-string: Wrong type argument: arrayp, nil
error.I tried to re-authorize, but after re-authorizing the issue persists.
Emacs version: master (5a3e96b17c2a948ac952295962dc6e281ec5cad5).
Latest pocket-reader version.
The text was updated successfully, but these errors were encountered: