Subject: bug#59087: 29.0.50; package-vc-update error

From: Feng Shu <[email-masked]>
Date: Tue, 15 Nov 2022 09:52:41 +0800

Philip Kaludercic <[email-masked]> writes:

> Feng Shu <[email-masked]> writes:
>
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>   make-symbol(nil)
>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..."
>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>> . "[email-masked]") ("Feng Shu" . "[email-masked]")) (:maintainer
>> "Feng Shu" . "[email-masked]") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>   package-update(pyim)
>>   mapc(package-update (pyim))
>>   package-update-all(t)
>>   funcall-interactively(package-update-all t)
>>   call-interactively(package-update-all record nil)
>>   command-execute(package-update-all record)
>>   execute-extended-command(nil "package-update-all" nil)
>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>
> This issue (and the others you reported) might have been resolved on the
> scratch/package-vc-fixes branch.  Could you try that out?

wow, good job, I install pyim and run package-vc-update again, show:

Debugger entered--Lisp error: (cl-assertion-failed (dir nil))
  cl--assertion-failed(dir)
  package-vc--unpack-1(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind tar :archive "gnu" :dir nil :extras ((:url . "https://github.com/tumashu/pyim") (:keywords "convenience" "chinese" "pinyin" "input-method") (:maintainer "Feng Shu" . "[email-masked]") (:authors ("Ye Wenbin" . "[email-masked]") ("Feng Shu" . "[email-masked]")) (:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2")) :signed nil) nil)
  #f(compiled-function (command file-or-list flags) #<bytecode 0xe12829862413ae8>)("git" nil ("pull" "--stat"))
  run-hook-with-args(#f(compiled-function (command file-or-list flags) #<bytecode 0xe12829862413ae8>) "git" nil ("pull" "--stat"))
  #f(compiled-function () #<bytecode -0x1712b007cb06d41a>)()
  vc-exec-after(#f(compiled-function () #<bytecode -0x1712b007cb06d41a>) nil)
  vc--process-sentinel(#<process git> #f(compiled-function () #<bytecode -0x1712b007cb06d41a>) nil)
  #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>)(#<process git> "exited abnormally with code 128\n")
  apply(#f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) (#<process git> "exited abnormally with code 128\n"))
  #f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore)(#<process git> "exited abnormally with code 128\n")
  apply(#f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore) (#<process git> "exited abnormally with code 128\n"))
  #f(advice #f(compiled-function (p msg) #<bytecode -0xa9844be2e2d4106>) :after #f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore))(#<process git> "exited abnormally with code 128\n")

--