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

new async media breaks async toot loading #2

Open
alexjgriffith opened this issue May 16, 2017 · 1 comment
Open

new async media breaks async toot loading #2

alexjgriffith opened this issue May 16, 2017 · 1 comment

Comments

@alexjgriffith
Copy link
Owner

No description provided.

@alexjgriffith
Copy link
Owner Author

Using mastodon-tl--timeline to render toots with mastodon-tl--display-media-p enabled results in the following error

error in process filter: put-text-property: Marker does not point anywhere

error in process filter: Marker does not point anywhere

Debugger entered--Lisp error: (error "Marker does not point anywhere")
  +(#<marker in no buffer> 5)
  (put-text-property marker (+ marker region-length) (quote media-state) (quote loaded))
  (save-restriction (widen) (put-text-property marker (+ marker region-length) (quote media-state) (quote loaded)) (if image (progn (put-text-property marker (+ marker region-length) (quote display) image))) (set-marker marker nil))
  (let ((inhibit-read-only t)) (save-restriction (widen) (put-text-property marker (+ marker region-length) (quote media-state) (quote loaded)) (if image (progn (put-text-property marker (+ marker region-length) (quote display) image))) (set-marker marker nil)))
  (let* ((data (if is-error-response-p nil (goto-char (point-min)) (search-forward "\n\n") (buffer-substring (point) (point-max)))) (image (if data (progn (apply (function create-image) data (if image-options (progn ...)) t image-options))))) (switch-to-buffer (marker-buffer marker)) (let ((inhibit-read-only t)) (save-restriction (widen) (put-text-property marker (+ marker region-length) (quote media-state) (quote loaded)) (if image (progn (put-text-property marker (+ marker region-length) (quote display) image))) (set-marker marker nil))) (kill-buffer url-buffer))
  (unwind-protect (let* ((data (if is-error-response-p nil (goto-char (point-min)) (search-forward "\n\n") (buffer-substring (point) (point-max)))) (image (if data (progn (apply (function create-image) data (if image-options ...) t image-options))))) (switch-to-buffer (marker-buffer marker)) (let ((inhibit-read-only t)) (save-restriction (widen) (put-text-property marker (+ marker region-length) (quote media-state) (quote loaded)) (if image (progn (put-text-property marker (+ marker region-length) (quote display) image))) (set-marker marker nil))) (kill-buffer url-buffer)))
  (let ((url-buffer (current-buffer)) (is-error-response-p (eq :error (car status-plist)))) (unwind-protect (let* ((data (if is-error-response-p nil (goto-char (point-min)) (search-forward "\n\n") (buffer-substring (point) (point-max)))) (image (if data (progn (apply ... data ... t image-options))))) (switch-to-buffer (marker-buffer marker)) (let ((inhibit-read-only t)) (save-restriction (widen) (put-text-property marker (+ marker region-length) (quote media-state) (quote loaded)) (if image (progn (put-text-property marker ... ... image))) (set-marker marker nil))) (kill-buffer url-buffer))))
  mastodon-media--process-image-response((:peer (:warnings (:insecure :unknown-ca :invalid) :certificate (:version 3 :serial-number "00:c1:e0:c1:a2:8f:02:da:82:d7:39:99:19:7b:88:f5:66" :issuer "C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO ECC Domain Validation Secure Server CA 2" :valid-from "2018-02-20" :valid-to "2018-08-29" :subject "OU=Domain Control Validated,OU=PositiveSSL Multi-Domain,CN=sni36690.cloudflaressl.com" :public-key-algorithm "EC/ECDSA" :certificate-security-level "High" :signature-algorithm "ECDSA-SHA256" :public-key-id "sha1:57:b6:9e:34:27:d1:df:62:b5:fc:0a:c5:12:c5:61:d7:4e:66:23:ce" :certificate-id "sha1:98:bf:39:b0:99:e9:52:42:b8:14:5f:5a:18:24:0a:47:fe:f2:73:1b") :key-exchange "ECDHE-ECDSA" :protocol "TLS1.2" :cipher "CHACHA20-POLY1305" :mac "AEAD")) #<marker in no buffer> nil 5)
  apply(mastodon-media--process-image-response ((:peer (:warnings (:insecure :unknown-ca :invalid) :certificate (:version 3 :serial-number "00:c1:e0:c1:a2:8f:02:da:82:d7:39:99:19:7b:88:f5:66" :issuer "C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO ECC Domain Validation Secure Server CA 2" :valid-from "2018-02-20" :valid-to "2018-08-29" :subject "OU=Domain Control Validated,OU=PositiveSSL Multi-Domain,CN=sni36690.cloudflaressl.com" :public-key-algorithm "EC/ECDSA" :certificate-security-level "High" :signature-algorithm "ECDSA-SHA256" :public-key-id "sha1:57:b6:9e:34:27:d1:df:62:b5:fc:0a:c5:12:c5:61:d7:4e:66:23:ce" :certificate-id "sha1:98:bf:39:b0:99:e9:52:42:b8:14:5f:5a:18:24:0a:47:fe:f2:73:1b") :key-exchange "ECDHE-ECDSA" :protocol "TLS1.2" :cipher "CHACHA20-POLY1305" :mac "AEAD")) #<marker in no buffer> nil 5))
  url-http-activate-callback()
  url-http-content-length-after-change-function(34117 34268 151)
  url-http-generic-filter(#<process files.mastodon.social<3>> "\346\302��\260\366\377�\310\253{\342\266>df4z\304\307\355.\336\370\251\217\233�\326z\304\376�\333\337�1\363`\372\317X\237\300\273{\342\246>l�Y\353�\370�o|T\307\315\200\350\365\211\217\332]\275\361S�61\372\317\330\231\375\245\333\337�\261\363a~\263\366�\360*\336\370\255\217\233\n4~\304\376�\333\337�\261\363c�\350\355\207\271\375E[\337�1\363cgnZ��X\272h\264Zu#\313�\345}\301*\206y\361\323<\240g�1\377\331")

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

1 participant