Skip to content
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

failures on common websites, e.g. YouTube #125

Open
notuntoward opened this issue Jun 6, 2020 · 11 comments
Open

failures on common websites, e.g. YouTube #125

notuntoward opened this issue Jun 6, 2020 · 11 comments

Comments

@notuntoward
Copy link

notuntoward commented Jun 6, 2020

I've been using org-cliplink for years, and it's worked really well on most websites. But within the last month, it's been failing on most websites. For example, if I have this URL in my kill-ring:

https://www.youtube.com/watch?v=gDAbpz98ooU&feature=youtu.be

Running org-cliplink results in this error message:

Contacting host: www.youtube.com:443
error in process sentinel: org-cliplink-extract-and-prepare-title-from-current-buffer: Args out of range: #<buffer  *http www.youtube.com:443*-508724>, 1, 2
error in process sentinel: Args out of range: #<buffer  *http www.youtube.com:443*-508724>, 1, 2

Here's my config:

(use-package org-cliplink ; make hyper link from URL in clipboard
  :config (define-key org-mode-map (kbd "C-c y") 'org-cliplink))

My emacs: GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29

@pharcosyle
Copy link

Same for me

@marcw
Copy link

marcw commented Sep 15, 2020

Same.

@x-ji
Copy link

x-ji commented Sep 19, 2020

Seems to be duplicate of #123 Also encountering this error.

@rexim
Copy link
Owner

rexim commented Sep 21, 2020

I tried to reproduce that problem on my side several times, but no luck. Could you guys please give more info on your environment. The original submitter seems to use Windows. Does everyone who experience this problem use Windows?

@x-ji
Copy link

x-ji commented Sep 21, 2020

What I posted in the linked duplicate:

Happens to me if I try any Github link.

Contacting host: github.com:443
error in process sentinel: org-cliplink-extract-and-prepare-title-from-current-buffer: Args out of range: #<buffer  *http github.com:443*>, 1, 2
error in process sentinel: Args out of range: #<buffer  *http github.com:443*>, 1, 2
error in process sentinel: org-cliplink-extract-and-prepare-title-from-current-buffer: Args out of range: #<buffer  *http github.com:443*-484244>, 1, 2
error in process sentinel: Args out of range: #<buffer  *http github.com:443*-484244>, 1, 2

Version info:

Org mode version 9.4 (9.4-elpaplus @ /Users/jx/.emacs.d/elpa/develop/org-plus-contrib-20200914/)
GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, Carbon Version 158 AppKit 1671.6) of 2020-08-16

I also tried the URLs posted by @stefanfisk and it was the same: The SE link worked but the ITRevolution one didn't.

Interestingly, when I quit Emacs, it seems that one of the processes was still running for some reason (this one didn't give the above error message), and Emacs asked me if it was fine to exit.

@x-ji
Copy link

x-ji commented Sep 21, 2020

The OS is MacOS

@marcw
Copy link

marcw commented Sep 22, 2020

macOS + emacsplus 27.1 + doom-emacs (latest)

@Bounga
Copy link

Bounga commented Oct 6, 2020

I'm also having this issue. I think it's macOS related. Maybe HTTP Certifcates bundled with MacOS?

@rexim
Copy link
Owner

rexim commented Oct 12, 2020

I would really like to fix those issues for you, but unfortunately I was born in a third world country and I cannot afford any Apple products. :(

Feel free to submit any Pull Requests with a fix. I'll also add the hacktoberfest topic to this repo so you will even get a chance to get a cool T-shirt for that. :)

@AtomicNess123
Copy link

Feeling with you all Ukranians and Russians.

@kostajh
Copy link

kostajh commented Dec 5, 2022

I'm not seeing this on macOS 13, so maybe we close this and see if someone reopens with a new bug report?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants