Open anonimitoraf opened 1 year ago
I get this same error, although mine gets to 50%. I was trying to pass in a bitbucket URL.
My emacs version string is
GNU Emacs 28.1 (build 2, x86_64-alpine-linux-musl, X toolkit, cairo version 1.17.4) of 2022-05-18
thank you for package. unfortunately the same here.
more light (deferred:default-cancel does get improper number of arguments?):
(reactions (nodes)) (comments (nodes)) (reviews (nodes)))))))
41 QUEUE-POST [1]: (#s(deferred deferred:default-callback [code-review-utils--log code-review--build-buffer prin1-to-string sequencep string-prefix-p BUG: Unknown extended header: message Your PR might have diffs too large. Currently not supported. Got an error from your VC provider. Check `code-review-log-file'.] 5
(fn ERR)] deferred:default-cancel nil nil nil) ng wrong-number-of-arguments (8 . 8) 6)
42 EXEC : #s(deferred deferred:default-callback [code-review-utils--log code-review--build-buffer prin1-to-string sequencep string-prefix-p BUG: Unknown extended header: message Your PR might have diffs too large. Currently not supported. Got an error from your VC provider. Check `code-review-log-file'.] 5
(fn ERR)] deferred:default-cancel nil nil nil) / ng / (wrong-number-of-arguments (8 . 8) 6)
43 ERROR : (wrong-type-argument listp 8)
@gjnoonan, @anonimitoraf, please visit deferred:debug variable definition, change it to t, make sure deferred.elc has been recompiled. restart emacs and observe deferred-debug buffer
@wandersoncferreira, can I enlarge limit of diffs size somehow (as a workaround..)
regards, Vibrys
Maybe try updating Magit and Forge to the latest versions, that fixed a similar issue for me.
I've found what caused this error in my case. I had to set the following variables like so to fix it:
(setq code-review-auth-login-marker 'forge)
(setq code-review-gitlab-base-url "<gitlab-instance>")
(setq code-review-gitlab-host "<gitlab-instance>/api")
(setq code-review-gitlab-graphql-host "<gitlab-instance>/api")
Unfortunately, this error can be caused in many different ways, which all look the same because of deferred.el. In my case, essentially any error in "code-review--build-buffer" looks like this.
Hi, I'm really keen on using this package for my day job workflow but I get an error when I run
code-review-start
Describe the bug On
code-review-start
, I get this error:To Reproduce Steps to reproduce the behavior:
code-review-start
debug-on-error
but it doesn't give me a stacktrace on error which I guess is due to it being deferredDesktop (please complete the following information):