all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34149: guix refresh -u is broken
@ 2019-01-20 22:27 Andreas Enge
  2019-01-21 10:02 ` Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2019-01-20 22:27 UTC (permalink / raw)
  To: 34149

Hello!

Unless I mis-remember how the command works, there seems to be a problem
with "guix refresh -u":

$ ./pre-inst-env guix refresh -u python-cysignals
Backtrace:
          14 (apply-smob/1 #<catch-closure 17b4b80>)
In ice-9/boot-9.scm:
    705:2 13 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8 12 (_ #(#(#<directory (guile-user) 186d140>)))
In guix/ui.scm:
  1639:12 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9 10 (catch _ _ #<procedure 7fd0d71109b0 at guix/ui.scm:617…> …)
    829:9  9 (catch _ _ #<procedure 7fd0d71109c8 at guix/ui.scm:735…> …)
In guix/scripts/refresh.scm:
    513:8  8 (_)
In guix/store.scm:
  1693:24  7 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/refresh.scm:
   531:16  6 (_ _)
In srfi/srfi-1.scm:
    640:9  5 (for-each #<procedure 2269ba0 at guix/scripts/refresh.…> …)
In guix/scripts/refresh.scm:
   301:20  4 (update-package #<build-daemon 256.99 1d40e60> #<packa…> …)
In guix/upstream.scm:
   374:22  3 (package-update #<build-daemon 256.99 1d40e60> _ _ # _)
   302:17  2 (download-tarball #<build-daemon 256.99 1d40e60> #f #f # …)
In guix/download.scm:
   568:55  1 (download-to-store #<build-daemon 256.99 1d40e60> #f _ # …)
In unknown file:
           0 (basename #f #<undefined>)

ERROR: In procedure basename:
In procedure scm_to_utf8_stringn: Wrong type argument in position 1 (expecting string): #f


Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34149: guix refresh -u is broken
  2019-01-20 22:27 bug#34149: guix refresh -u is broken Andreas Enge
@ 2019-01-21 10:02 ` Efraim Flashner
  2019-01-21 21:55   ` Andreas Enge
  0 siblings, 1 reply; 3+ messages in thread
From: Efraim Flashner @ 2019-01-21 10:02 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 34149

[-- Attachment #1: Type: text/plain, Size: 2094 bytes --]

On Sun, Jan 20, 2019 at 11:27:18PM +0100, Andreas Enge wrote:
> Hello!
> 
> Unless I mis-remember how the command works, there seems to be a problem
> with "guix refresh -u":
> 
> $ ./pre-inst-env guix refresh -u python-cysignals
> Backtrace:
>           14 (apply-smob/1 #<catch-closure 17b4b80>)
> In ice-9/boot-9.scm:
>     705:2 13 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> In ice-9/eval.scm:
>     619:8 12 (_ #(#(#<directory (guile-user) 186d140>)))
> In guix/ui.scm:
>   1639:12 11 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>     829:9 10 (catch _ _ #<procedure 7fd0d71109b0 at guix/ui.scm:617…> …)
>     829:9  9 (catch _ _ #<procedure 7fd0d71109c8 at guix/ui.scm:735…> …)
> In guix/scripts/refresh.scm:
>     513:8  8 (_)
> In guix/store.scm:
>   1693:24  7 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
> In guix/scripts/refresh.scm:
>    531:16  6 (_ _)
> In srfi/srfi-1.scm:
>     640:9  5 (for-each #<procedure 2269ba0 at guix/scripts/refresh.…> …)
> In guix/scripts/refresh.scm:
>    301:20  4 (update-package #<build-daemon 256.99 1d40e60> #<packa…> …)
> In guix/upstream.scm:
>    374:22  3 (package-update #<build-daemon 256.99 1d40e60> _ _ # _)
>    302:17  2 (download-tarball #<build-daemon 256.99 1d40e60> #f #f # …)
> In guix/download.scm:
>    568:55  1 (download-to-store #<build-daemon 256.99 1d40e60> #f _ # …)
> In unknown file:
>            0 (basename #f #<undefined>)
> 
> ERROR: In procedure basename:
> In procedure scm_to_utf8_stringn: Wrong type argument in position 1 (expecting string): #f
> 

It is currently working for me. I see in the backtrace it goes through
guix/scripts/ , try removing guix/scripts/*go (and guix/download.go,
guix/upstream.go) and see if it works now.

I'm currently on commit 26e4203be1044f6aa2004289864f5e1a421d7c88

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34149: guix refresh -u is broken
  2019-01-21 10:02 ` Efraim Flashner
@ 2019-01-21 21:55   ` Andreas Enge
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2019-01-21 21:55 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 34149-done

On Mon, Jan 21, 2019 at 12:02:40PM +0200, Efraim Flashner wrote:
> It is currently working for me. I see in the backtrace it goes through
> guix/scripts/ , try removing guix/scripts/*go (and guix/download.go,
> guix/upstream.go) and see if it works now.

It also works for me now; thanks for testing, and sorry for the noise!
Closing the bug then.

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-21 21:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-20 22:27 bug#34149: guix refresh -u is broken Andreas Enge
2019-01-21 10:02 ` Efraim Flashner
2019-01-21 21:55   ` Andreas Enge

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.