From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hugo Saavedra Subject: bug#35622: Ran into a bug in the new graphical installer on WiFi setup Date: Tue, 7 May 2019 11:56:05 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f5879105884feec1" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO4mz-0002xF-BC for bug-guix@gnu.org; Tue, 07 May 2019 14:26:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hO4my-00057M-70 for bug-guix@gnu.org; Tue, 07 May 2019 14:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46040) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hO4mx-00056i-OF for bug-guix@gnu.org; Tue, 07 May 2019 14:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hO4mx-0006vL-H0 for bug-guix@gnu.org; Tue, 07 May 2019 14:26:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:39731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO4KB-00076j-31 for bug-guix@gnu.org; Tue, 07 May 2019 13:56:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hO4K9-0000YK-R3 for bug-guix@gnu.org; Tue, 07 May 2019 13:56:19 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:45538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hO4K9-0000XX-CV for bug-guix@gnu.org; Tue, 07 May 2019 13:56:17 -0400 Received: by mail-qk1-x72f.google.com with SMTP id j1so4835802qkk.12 for ; Tue, 07 May 2019 10:56:17 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35622@debbugs.gnu.org --000000000000f5879105884feec1 Content-Type: text/plain; charset="UTF-8" Hello Guix team, Thanks for your work on GuixSD. I was excited to try out the new graphical installer, but ran into a bug while setting up WiFi. I've uploaded photos of the stacktrace for you to take a look at. This is running on a Dell Inspiron 11 3000 series. https://imgur.com/a/qcwgNXr Also, upon clicking "OK" I'm taken back to the original menu of the installer. Going through the choices again, the installer cannot detect a hard drive as it could before. Let me know if I can help in any way or if you need more information. -- *Hugo Saavedra* Listen Systems c: 818-356-6664 --000000000000f5879105884feec1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Guix team,

Thanks for your work on=20 GuixSD. I was excited to try out the new graphical installer, but ran=20 into a bug while setting up WiFi.

I've up= loaded photos of the stacktrace for you to take a look at. This is running on a Dell Inspiron 11 3000=20 series.=C2=A0


Also, upon= clicking "OK" I'm taken back to the original menu of the installer. Going through the choices=20 again, the installer cannot detect a hard drive as it could before.

Let me know if I can help in any way or if you need = more information.


--
=
Hugo Saavedra
=
c: 818-356-6664 =
3D""
--000000000000f5879105884feec1-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#35622: Ran into a bug in the new graphical installer on WiFi setup Date: Tue, 07 May 2019 18:01:29 -0400 Message-ID: <87sgtp3ovf.fsf@netris.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO8Bv-00010n-TI for bug-guix@gnu.org; Tue, 07 May 2019 18:04:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hO8Bu-0001ZN-RI for bug-guix@gnu.org; Tue, 07 May 2019 18:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hO8Bu-0001Ys-NK for bug-guix@gnu.org; Tue, 07 May 2019 18:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hO8Bu-0005up-IU for bug-guix@gnu.org; Tue, 07 May 2019 18:04:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Hugo Saavedra's message of "Tue, 7 May 2019 11:56:05 -0600") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Hugo Saavedra Cc: 35622@debbugs.gnu.org Hi Hugo, Hugo Saavedra writes: > Thanks for your work on GuixSD. I was excited to try out the new > graphical installer, but ran into a bug while setting up WiFi. I'm sorry to hear it. Thanks very much for the report. > I've uploaded photos of the stacktrace for you to take a look at. This > is running on a Dell Inspiron 11 3000 series. > > https://imgur.com/a/qcwgNXr >From the backtrace, I see that 'string-null?' was applied to #f, and I guess it was the 'string-null?' called from the 'wifi-services' procedure in (gnu installer newt wifi), here: (define (wifi-services) "Return all the connman services of wifi type." (let ((services (connman-services))) (filter (lambda (service) (and (string=3D? (service-type service) "wifi") (not (string-null? (service-name service))))) services))) It seems that one of the services returned by (connman-services) had #f as its 'service-name'. The backtrace includes a (truncated) display of the service in question: #< name: #f type: "wifi" path: "wifi_4cbb58=E2=80=A6> Looking at 'connman-services', it appears that in this case, the 'keys', as returned by 'parse-keys' in (gnu installer connman), did not have a "Name" association, or else its right-hand side was #f. It would be good if someone more familiar with this code would investigate further. Thanks, Mark From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35622: Ran into a bug in the new graphical installer on WiFi setup Date: Wed, 08 May 2019 15:06:54 +0200 Message-ID: <87k1f1w0wh.fsf@gnu.org> References: <87sgtp3ovf.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOMIp-00062O-HJ for bug-guix@gnu.org; Wed, 08 May 2019 09:08:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOMIk-000492-OE for bug-guix@gnu.org; Wed, 08 May 2019 09:08:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOMIk-00048s-Kp for bug-guix@gnu.org; Wed, 08 May 2019 09:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOMIk-0003hH-9r for bug-guix@gnu.org; Wed, 08 May 2019 09:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87sgtp3ovf.fsf@netris.org> (Mark H. Weaver's message of "Tue, 07 May 2019 18:01:29 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 35622@debbugs.gnu.org, Hugo Saavedra Hello, Mark H Weaver skribis: > Hugo Saavedra writes: > >> Thanks for your work on GuixSD. I was excited to try out the new >> graphical installer, but ran into a bug while setting up WiFi. > > I'm sorry to hear it. Thanks very much for the report. > >> I've uploaded photos of the stacktrace for you to take a look at. This >> is running on a Dell Inspiron 11 3000 series. >> >> https://imgur.com/a/qcwgNXr > > From the backtrace, I see that 'string-null?' was applied to #f, and I > guess it was the 'string-null?' called from the 'wifi-services' > procedure in (gnu installer newt wifi), here: Could you post the image here? imgur.com says it=E2=80=99s =E2=80=9Cover c= apacity=E2=80=9D and I can=E2=80=99t see the image right now. Ludo=E2=80=99. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hugo Saavedra Subject: bug#35622: Ran into a bug in the new graphical installer on WiFi setup Date: Wed, 8 May 2019 09:21:21 -0600 Message-ID: References: <87sgtp3ovf.fsf@netris.org> <87k1f1w0wh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000073223e058861e337" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOOra-0004bS-UT for bug-guix@gnu.org; Wed, 08 May 2019 11:52:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOOrW-0007pa-Bq for bug-guix@gnu.org; Wed, 08 May 2019 11:52:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48513) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOOrS-0007nX-2A for bug-guix@gnu.org; Wed, 08 May 2019 11:52:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOOrR-0004Ue-RK for bug-guix@gnu.org; Wed, 08 May 2019 11:52:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k1f1w0wh.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35622@debbugs.gnu.org --00000000000073223e058861e337 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry about that -- I just posted them on my own server here https://topologi.es/files/d/5e38edf49f744b099d70/?p=3D/&mode=3Dgrid On Wed, May 8, 2019 at 7:07 AM Ludovic Court=C3=A8s wrote: > Hello, > > Mark H Weaver skribis: > > > Hugo Saavedra writes: > > > >> Thanks for your work on GuixSD. I was excited to try out the new > >> graphical installer, but ran into a bug while setting up WiFi. > > > > I'm sorry to hear it. Thanks very much for the report. > > > >> I've uploaded photos of the stacktrace for you to take a look at. This > >> is running on a Dell Inspiron 11 3000 series. > >> > >> https://imgur.com/a/qcwgNXr > > > > From the backtrace, I see that 'string-null?' was applied to #f, and I > > guess it was the 'string-null?' called from the 'wifi-services' > > procedure in (gnu installer newt wifi), here: > > Could you post the image here? imgur.com says it=E2=80=99s =E2=80=9Cover= capacity=E2=80=9D and > I can=E2=80=99t see the image right now. > > Ludo=E2=80=99. > --=20 *Hugo Saavedra* Listen Systems c: 818-356-6664 --00000000000073223e058861e337 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry about that -- I just posted them on= my own server here https://topologi.es/files/d/5e38edf49f744b099d= 70/?p=3D/&mode=3Dgrid

On Wed, May 8, 2019 at 7:07 AM Ludov= ic Court=C3=A8s <ludo@gnu.org> wr= ote:
Hello,

Mark H Weaver <mhw@n= etris.org> skribis:

> Hugo Saavedra <hm@listen.systems> writes:
>
>> Thanks for your work on GuixSD. I was excited to try out the new >> graphical installer, but ran into a bug while setting up WiFi.
>
> I'm sorry to hear it.=C2=A0 Thanks very much for the report.
>
>> I've uploaded photos of the stacktrace for you to take a look = at. This
>> is running on a Dell Inspiron 11 3000 series.
>>
>> https://imgur.com/a/qcwgNXr
>
> From the backtrace, I see that 'string-null?' was applied to #= f, and I
> guess it was the 'string-null?' called from the 'wifi-serv= ices'
> procedure in (gnu installer newt wifi), here:

Could you post the image here?=C2=A0 imgur.com says it=E2=80=99s =E2=80=9Cover c= apacity=E2=80=9D and
I can=E2=80=99t see the image right now.

Ludo=E2=80=99.


--
--00000000000073223e058861e337-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35622: Ran into a bug in the new graphical installer on WiFi setup Date: Thu, 09 May 2019 00:09:15 +0200 Message-ID: <87mujwtx84.fsf@gnu.org> References: <87sgtp3ovf.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOUlH-0005N1-K9 for bug-guix@gnu.org; Wed, 08 May 2019 18:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOUlG-0006Xj-L1 for bug-guix@gnu.org; Wed, 08 May 2019 18:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOUlG-0006XY-Gc for bug-guix@gnu.org; Wed, 08 May 2019 18:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOUlG-0001fp-7V for bug-guix@gnu.org; Wed, 08 May 2019 18:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87sgtp3ovf.fsf@netris.org> (Mark H. Weaver's message of "Tue, 07 May 2019 18:01:29 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 35622@debbugs.gnu.org, Hugo Saavedra , Mathieu Othacehe --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Mark H Weaver skribis: >>From the backtrace, I see that 'string-null?' was applied to #f, and I > guess it was the 'string-null?' called from the 'wifi-services' > procedure in (gnu installer newt wifi), here: > > (define (wifi-services) > "Return all the connman services of wifi type." > (let ((services (connman-services))) > (filter (lambda (service) > (and (string=3D? (service-type service) "wifi") > (not (string-null? (service-name service))))) > services))) > > It seems that one of the services returned by (connman-services) had #f > as its 'service-name'. The backtrace includes a (truncated) display of > the service in question: > > #< name: #f type: "wifi" path: "wifi_4cbb58=E2=80=A6> > > Looking at 'connman-services', it appears that in this case, the 'keys', > as returned by 'parse-keys' in (gnu installer connman), did not have a > "Name" association, or else its right-hand side was #f. I=E2=80=99ve tried =E2=80=9Cconnmanctl services xyz=E2=80=9D on the bare me= tal with an actual WiFi device. For me there=E2=80=99s always a =E2=80=9CName =3D something= =E2=80=9D property, and the =E2=80=9Csomething=E2=80=9D appears to be the SSID of the access point. Could it be that the access point does not advertise an SSID, and thus its =E2=80=9CName=E2=80=9D property is the empty string or is missing altog= ether? It could be that changing the =E2=80=98parse-keys=E2=80=99 regexp as shown = below would solve the problem for cases where =E2=80=9Cconnmanctl services xyz=E2=80=9D= writes literally: Name =3D=20 WDYT, Mathieu? Hugo, would it be an option for you to (1) boot the installation image, and (2) to grab the output of this command: for s in $(connmanctl services | cut -c 25- | grep wifi) ; do connmanctl = service $s ; done Note that it will provide information about the WiFi networks around you, which you may or may not want to share publicly. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/installer/connman.scm b/gnu/installer/connman.scm index ef8cca3952..b6e3dfd909 100644 --- a/gnu/installer/connman.scm +++ b/gnu/installer/connman.scm @@ -170,7 +170,7 @@ to be translated." Return the corresponding association list of '((KEY . VALUE) (KEY2 . VALUE2) ...) elements." - (let ((key-regex (make-regexp "([^ ]+) = ([^$]+)"))) + (let ((key-regex (make-regexp "([^ ]+) = ([^$]*)"))) (map (lambda (key) (let ((match-key (regexp-exec key-regex key))) (cons (match:substring match-key 1) --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35622: Ran into a bug in the new graphical installer on WiFi setup Date: Thu, 09 May 2019 00:32:43 +0200 Message-ID: <87ef58tw50.fsf@gnu.org> References: <87sgtp3ovf.fsf@netris.org> <87mujwtx84.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOV7X-0002rN-7R for bug-guix@gnu.org; Wed, 08 May 2019 18:33:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOV7W-0002NC-As for bug-guix@gnu.org; Wed, 08 May 2019 18:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48927) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOV7W-0002N4-7o for bug-guix@gnu.org; Wed, 08 May 2019 18:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOV7W-0002IQ-4A for bug-guix@gnu.org; Wed, 08 May 2019 18:33:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mujwtx84.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 09 May 2019 00:09:15 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 35622@debbugs.gnu.org, Hugo Saavedra , Mathieu Othacehe Ludovic Court=C3=A8s skribis: > I=E2=80=99ve tried =E2=80=9Cconnmanctl services xyz=E2=80=9D on the bare = metal with an actual > WiFi device. For me there=E2=80=99s always a =E2=80=9CName =3D something= =E2=80=9D property, and > the =E2=80=9Csomething=E2=80=9D appears to be the SSID of the access poin= t. > > Could it be that the access point does not advertise an SSID, and thus > its =E2=80=9CName=E2=80=9D property is the empty string or is missing alt= ogether? I tried to reproduce that in a VM by running hostapd and using the neat =E2=80=98mac80211_hwsim=E2=80=99 kernel module. However, hostapd=E2=80=99s config file doesn=E2=80=99t allow empty SSIDs. = So I set the SSID to =E2=80=9C =E2=80=9D (a single space), but that=E2=80=99s correctly = handled by the installer. Ludo=E2=80=99.