GNU bug report logs - #59087
29.0.50; package-vc-update error

Previous Next

Package: emacs;

Reported by: Feng Shu <tumashu <at> 163.com>

Date: Mon, 7 Nov 2022 02:34:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 59087 <at> debbugs.gnu.org (full text, mbox):

From: Feng Shu <tumashu <at> 163.com>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 59087 <at> debbugs.gnu.org
Subject: Re: bug#59087: 29.0.50; package-vc-update error
Date: Wed, 16 Nov 2022 20:01:25 +0800
Philip Kaludercic <philipk <at> posteo.net> writes:

> Feng Shu <tumashu <at> 163.com> writes:
>
>> Philip Kaludercic <philipk <at> posteo.net> writes:
>>
>>> Thank you for all these stack traces, I have managed to reproduce and
>>> resolve all the mistakes -- at least on my end.  The new state is still
>>> on scratch/package-vc-fixes.
>>>
>>
>> Ok, new info :-)
>>
>> 1. package-vc-update is unusable when first run emacs.
>
> Unusable in what sense?  The command is not auto-loaded, so you need to
>
>   M-x load-library RET package-vc RET
>
> first.

Yes, I mean command is not auto-loaded :-)


>
>> 2. when I run 'package-vc-install pyim' twice, package-list-package
>> "*Packages*" buffer will show pyim twice, is it a feature or bug? like:
>
> No, that was a bug I assumed was resolved... I'll take a look at it
> again.
>
>> ```
>>   wrap-region                    20140117.720   dependency            Wrap text with punctation or tag
>>   pyim 16f7c3cf0736a65d8af0c8ba8396343dbd17e368 source A Chinese input
>> method support quanpin, shuangpin, wubi, cangjie and rime.
>>   pyim 16f7c3cf0736a65d8af0c8ba8396343dbd17e368 source A Chinese input
>> method support quanpin, shuangpin, wubi, cangjie and rime.
>>   allout                         2.3            built-in              extensive outline mode for use alone and with other modes
>>   allout-widgets                 1.0            built-in              Visually highlight allout outline structure.
>>
>> ```
>>
>> In this time, when I run package-delete pyim, show
>>
>> ```
>> Error in post-command-hook (package-menu--post-refresh): (file-missing
>> "Opening directory" "没有那个文件或目录" 
>> "/home/feng/.emacs.d/elpa-29/pyim")
>> ```
>>
>> which mean have no "/home/feng/.emacs.d/elpa-29/pyim" file or directory.
>
> Interesting.
>
>> 3. package-vc-install-from-checkout is unusable, I use vertico. show:
>>
>> ```
>> Debugger entered--Lisp error: (cl-assertion-failed (dir nil))
>>   cl--assertion-failed(dir)
>>   package-vc--unpack-1(#s(package-desc :name pyim :version nil
>> :summary "No description available." :reqs nil :kind vc :archive nil
>> :dir nil :extras nil :signed nil) "/home/feng/.emacs.d/elpa-29/pyim")
>>   package-vc-install-from-checkout("/home/feng/projects/emacs-packages/pyim/" "pyim")
>>   funcall-interactively(package-vc-install-from-checkout "/home/feng/projects/emacs-packages/pyim/" "pyim")
>>   call-interactively(package-vc-install-from-checkout record nil)
>>   command-execute(package-vc-install-from-checkout record)
>>   execute-extended-command(nil "package-vc-install-from-checkout" nil)
>>   funcall-interactively(execute-extended-command nil "package-vc-install-from-checkout" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>>   recursive-edit()
>>   debug(error (file-already-exists "File already exists" "/home/feng/.emacs.d/elpa-29/pyim"))
>>   make-symbolic-link("~/projects/emacs-packages/pyim/" "/home/feng/.emacs.d/elpa-29/pyim")
>>   package-vc-install-from-checkout("~/projects/emacs-packages/pyim/" "pyim")
>>   funcall-interactively(package-vc-install-from-checkout "~/projects/emacs-packages/pyim/" "pyim")
>>   call-interactively(package-vc-install-from-checkout record nil)
>>   command-execute(package-vc-install-from-checkout record)
>>   execute-extended-command(nil "package-vc-install-from-checkout" nil)
>>   funcall-interactively(execute-extended-command nil "package-vc-install-from-checkout" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>> ```
>
> I'll take a look at what is going on here, and report back.

-- 





This bug report was last modified 2 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.