bug#50705: emacs-guix fails to list packages

2021-09-22 Thread Ludovic Courtès
Hi Simon,

Simon Streit  skribis:

> Ludovic Courtès  writes:
>> Could it be that something else is interfering, in your ~/.emacs, Guile
>> load path or something?
>
> Yes, it turned out that certain profiles where not all upgraded after
> pulling to a current checkout.
>
> Sorry about the inconveniance.

No problem, closing!

Ludo’.





bug#50705: emacs-guix fails to list packages

2021-09-22 Thread Simon Streit
Hello Ludo,

Ludovic Courtès  writes:
> Could it be that something else is interfering, in your ~/.emacs, Guile
> load path or something?

Yes, it turned out that certain profiles where not all upgraded after
pulling to a current checkout.

Sorry about the inconveniance.


Kind regards
Simon





bug#50705: emacs-guix fails to list packages

2021-09-21 Thread Ludovic Courtès
Hi Simon,

Simon Streit  skribis:

> I just pulled Guix up to 6eded1a04186e3118b293486b038c994e05efedf, and
> unfortunately emacs-guix fails to list any installed packages of a given
> profile.

This (long) command works for me:

  guix time-machine --commit=6eded1a04186e3118b293486b038c994e05efedf -- \
environment -E ^TERM -CP --ad-hoc emacs emacs-guix guile guix -- \
emacs

Could it be that something else is interfering, in your ~/.emacs, Guile
load path or something?

HTH,
Ludo’.





bug#50705: emacs-guix fails to list packages

2021-09-20 Thread Simon Streit
Hello,

I just pulled Guix up to 6eded1a04186e3118b293486b038c994e05efedf, and
unfortunately emacs-guix fails to list any installed packages of a given
profile.

Part of the output from it's internal REPL follows as such:
--8<---cut here---start->8---
  14 (eval (#:21:16 ()>) 
#)
In emacs-guix/packages.scm:
   777:23 13 (package/output-sexps _ output _ _ (synopsis installed output 
version name id package-id known-status # #))
In srfi/srfi-1.scm:
   460:18 12 (fold # _ (#< name: …> …))
In emacs-guix/packages.scm:
359:2 11 (_ #< name: "syncthing-gtk" version: 
"0.9.4.4-1.c46fbd8" output: "out" item: "/gnu/store/w4…> …)
   351:22 10 (packages-by-name _ _ _)
   281:48  9 (_ _ _)
In unknown file:
   8 (force #>)
In gnu/packages.scm:
   239:33  7 (fold-packages # # _ # #)
In guix/discovery.scm:
   153:11  6 (all-modules _ #:warn _)
In srfi/srfi-1.scm:
   460:18  5 (fold # _ (("/home/ss2/.config/guix/…" . #)))
In guix/discovery.scm:
   143:19  4 (_ _ ())
In srfi/srfi-1.scm:
   691:23  3 (filter-map # _ . _)
In guix/discovery.scm:
   118:22  2 (_ . _)
In guix/ui.scm:
324:2  1 (report-unbound-variable-error _ #:frame _)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)
--8<---cut here---end--->8---

But if I where to remove this package “syncthing-gtk”, the error would
move on to the next package.

Then I rolled back to commit 337b7f5a13b8fd8b5ee320fd5a850ede1ad63b6d,
wich is a commit before 7bae88b5b9dcacad4dcd11b353b486dc2f8a78e2, where
a new checkout of guix was added to the packages tree.  Unfortunately
the error changes over to:
--8<---cut here---start->8---
   2 (eval (#:19:16 ()>) 
#)
In current input:
19:17  1 (_)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)
--8<---cut here---end--->8---

Hope this is only a small error.


Kind regards
Simon