From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sPu2M2e22WMmjAAAbAwnHQ (envelope-from ) for ; Wed, 01 Feb 2023 01:46:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eODJMme22WOEEgEAG6o9tA (envelope-from ) for ; Wed, 01 Feb 2023 01:46:31 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A270C12F0C for ; Wed, 1 Feb 2023 01:46:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pN1GT-0006Kr-9a; Tue, 31 Jan 2023 19:46:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pN1GF-0006KW-46 for bug-guix@gnu.org; Tue, 31 Jan 2023 19:46:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pN1GE-0004Ft-NI for bug-guix@gnu.org; Tue, 31 Jan 2023 19:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pN1GE-0005Cv-8h for bug-guix@gnu.org; Tue, 31 Jan 2023 19:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#60927: gPodder database version field different when built using --with-latest Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Feb 2023 00:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60927 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Tobias Geerinckx-Rice , Csepp , 60927@debbugs.gnu.org Received: via spool by 60927-submit@debbugs.gnu.org id=B60927.167521236020000 (code B ref 60927); Wed, 01 Feb 2023 00:46:02 +0000 Received: (at 60927) by debbugs.gnu.org; 1 Feb 2023 00:46:00 +0000 Received: from localhost ([127.0.0.1]:55351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pN1GB-0005CW-Dy for submit@debbugs.gnu.org; Tue, 31 Jan 2023 19:45:59 -0500 Received: from mx0.riseup.net ([198.252.153.6]:55018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pN1G6-0005CG-RN for 60927@debbugs.gnu.org; Tue, 31 Jan 2023 19:45:58 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4P63B52HcRz9t2D; Wed, 1 Feb 2023 00:45:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1675212349; bh=Ahb8rWCLo5UvyAwWx2q+RrMKHhphCPPkGtSIbM5cErM=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=cfSzdz3BD1FmOXmaETsyYgIW1IhG+9FVxy0NvVn8c5SLPSJm9ZUUPVuwee3QhSJ1x 7zWaKWNTu24jimoHVDqBElxPOigouzaGwzD+FqxZQGGg3BT4YDuj3Mr7nPWPLEw29D I70XdAGscwEc4SBXta3m4z0ojDzYQYtpZQA0A2oU= X-Riseup-User-ID: B8E910C841023536A7CD388F63BD15E08D204BA4FA3BB4833C9DC4F17344C55F Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4P63B41WVXz5vTc; Wed, 1 Feb 2023 00:45:47 +0000 (UTC) References: <87y1q06yug.fsf@riseup.net> <685f636f1d4c826b6ab64df0290ccbf5@tobias.gr> <87zga84sef.fsf@riseup.net> <87o7qgyosj.fsf@gnu.org> From: Csepp Date: Wed, 01 Feb 2023 01:41:57 +0100 In-reply-to: <87o7qgyosj.fsf@gnu.org> Message-ID: <87lelikyc5.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675212391; a=rsa-sha256; cv=none; b=av7FI7Fr3WuZ/Pdo4TitFnSzB7TJdXH4go6tZYVvyFMsa0SwGb3frjCjXlOwPuqjPQav2q yyQdb9VUxmZCuUQKPHLkZlGJSCZ1WgdWO5ze3ZHiO+hvwWmFXZ3gDXmFxIQNh36CMeqlFr 9Y+/OLNmhK/iOd4j3EGy7UAbLVAjIxk2p7sY4QR9+eg2yIVA+ICeFvqIXoaW44YxSyzDr+ YTZGRxPJc4bK2MPKpBBNtbffuueco8TsTKvvrnkQgDxJmFNfTqX+O7cr8E4epw68diDanx 2pdmjNYgU1PCsnv8FsJzkTJX2YcvMUSCsSeXovH6hitWsFAX9CvfXIcP8LNR5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=cfSzdz3B; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675212391; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AyIrwczaNlqJrJcgOLzXNuSM7cRphx7VivDAtTWei7Q=; b=LBKZyfB0a4Fn3CWR+MonoV9D4OSEK4qyE9qVl4RCzpMc7cWms5717gJ2ImhwvkeVP+ouL9 ZYuTTqCSgcgxL3rnC3WjwUIiIfmWNkV0x8T975OqucmalK12sJBcmVRdvGnFgcdtxFPa77 I0TMHQTwoP1LFqhStKDV/z8frPM5MSYyXaZRRyQt44gsoJc4aQJhpEdJyq3OwT2vsHrFfJ DAoLRgEytLDP9qHUrokWxd0sw7mlqm+fs0eYPKO89AU8IpdJ+9osd52q+ekX6PLq4GnY79 vNvPw628Yk5P5cXvMrfPw2hsv/WHLliqhAbly2F878g19MkDZLX9YptoERTqJA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=cfSzdz3B; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.32 X-Spam-Score: 7.32 X-Migadu-Queue-Id: A270C12F0C X-TUID: XE9+QBkckmlT Ludovic Court=C3=A8s writes: > Hi, > > Csepp skribis: > >> So it looks like the hashes are the same and the difference is instead >> in how it's run. >> Usually I run it with i3's XDG desktop file based launcher, but when I >> used the --with-latest transformation I was running it from a guix >> shell. >> Maybe it's using the non-canonicalized path to itself as part of the >> version string. > > Note that right now =E2=80=98--with-latest=E2=80=99 has no effect because= it=E2=80=99s already > the latest version that=E2=80=99s packaged: > > $ guix build gpodder -n > 4.2 MB would be downloaded: > /gnu/store/7jhmy0j4z50vb7051ckl0fkwv60y9aq8-python-pytest-httpserver-1.= 0.0 > /gnu/store/rmkakj3hbijzcn8jdicyhh4fcwgw4kjk-xset-1.2.4 > /gnu/store/almvw06pqf7gj09zkzi37iyzxph7abb2-xdg-utils-1.1.3 > /gnu/store/zbsg01v7jzryx2ccgaxnm0qzi8b9022h-youtube-dl-2021.12.17 > /gnu/store/cl22f0z9xggjspqsplf91bkqm35ad6fw-python-flake8-4.0.1 > /gnu/store/spwqzk6l1r8wx34wlfnw487rc86skzgv-python-pycodestyle-2.8.0 > /gnu/store/gaqm1cgvbam1jr2x7r6jw5gdrm9hv997-python-mutagen-1.45.1 > /gnu/store/75h3kapgwpgh6q2dxddgrzbxwb22z9k7-python-xmlschema-1.2.5 > /gnu/store/ixp9xd4cbs774yh5qkvywmjk1606s8i8-python-pytest-bootstrap-6.2= .5 > /gnu/store/7frqm5ijy66f81hr8i1j6791k84lds9w-python-pytest-6.2.5 > /gnu/store/rfgdckaa197c4wkzixqqi3lmd6cvv414-python-requests-2.28.1 > /gnu/store/hz1fv46474jm8d0lbirglx3cvmy8npkl-gpodder-3.11.0 > $ guix build gpodder -n --with-latest=3Dgpodder > guix build: 3.11.0 is already the latest version of 'gpodder' > 4.2 MB would be downloaded: > /gnu/store/7jhmy0j4z50vb7051ckl0fkwv60y9aq8-python-pytest-httpserver-1.= 0.0 > /gnu/store/rmkakj3hbijzcn8jdicyhh4fcwgw4kjk-xset-1.2.4 > /gnu/store/almvw06pqf7gj09zkzi37iyzxph7abb2-xdg-utils-1.1.3 > /gnu/store/zbsg01v7jzryx2ccgaxnm0qzi8b9022h-youtube-dl-2021.12.17 > /gnu/store/cl22f0z9xggjspqsplf91bkqm35ad6fw-python-flake8-4.0.1 > /gnu/store/spwqzk6l1r8wx34wlfnw487rc86skzgv-python-pycodestyle-2.8.0 > /gnu/store/gaqm1cgvbam1jr2x7r6jw5gdrm9hv997-python-mutagen-1.45.1 > /gnu/store/75h3kapgwpgh6q2dxddgrzbxwb22z9k7-python-xmlschema-1.2.5 > /gnu/store/ixp9xd4cbs774yh5qkvywmjk1606s8i8-python-pytest-bootstrap-6.2= .5 > /gnu/store/7frqm5ijy66f81hr8i1j6791k84lds9w-python-pytest-6.2.5 > /gnu/store/rfgdckaa197c4wkzixqqi3lmd6cvv414-python-requests-2.28.1 > /gnu/store/hz1fv46474jm8d0lbirglx3cvmy8npkl-gpodder-3.11.0 > $ guix describe > Generation 244 Jan 29 2023 23:24:35 (current) > guix 4eccb27 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 4eccb27b4c74a9112cbbad722d85558e9565f20b > > So as you wrote, the issue you=E2=80=99re seeing probably has nothing to = do with > =E2=80=98--with-latest=E2=80=99. > > Could you show exactly what command you=E2=80=99re running, what output y= ou=E2=80=99re > seeing, and what you were expecting? > > TIA, > Ludo=E2=80=99. This works: /gnu/store/1k5zcw81xfqlpxx4wfi5idi9pzlziykj-profile/bin/gpodder This doesn't: /home/raingloom/.guix-profile/bin/gpodder The error is this: ``` 1675212137.273854 [gpodder.log] ERROR: Uncaught exception: Traceback (most = recent call last): File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/gtkui/app.py", line 189, in do_activate self.window =3D gPodder(self, self.bus_name, core.Core(UIConfig, model_= class=3DModel), self.options) File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/gtkui/main.py", line 91, in __init__ BuilderWidget.__init__(self, None, _builder_expose=3D{'app': app}) File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/gtkui/interface/common.py", line 36, in __init= __ GtkBuilderWidget.__init__(self, gpodder.ui_folders, gpodder.textdomain,= parent, **kwargs) File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/gtkui/base.py", line 71, in __init__ self.new() File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/gtkui/main.py", line 185, in new self.channels =3D self.model.get_podcasts() File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/model.py", line 1380, in get_podcasts self.children =3D self.db.load_podcasts(podcast_factory) File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/dbsqlite.py", line 158, in load_podcasts cur =3D self.cursor() File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/dbsqlite.py", line 99, in cursor return self.db.cursor() File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/dbsqlite.py", line 90, in db schema.upgrade(self._db, self.database_file) File "/gnu/store/kchlzn44ykckx7x5ixx3vjsdnwyw9pzj-gpodder-3.10.21/lib/pyt= hon3.9/site-packages/gpodder/schema.py", line 225, in upgrade assert version =3D=3D CURRENT_VERSION AssertionError ``` There are further errors but they are caused by the assert not actually being fatal and gPodder trying to continue after simply logging the failure. Ahh, exceptions, the poor person's error monad. :) It looks like it's trying to upgrade the database, I'm not sure why.