X-Loop: help-debbugs@HIDDEN Subject: bug#51058: xdg-open wrong path in qt based applications (links wont be open) Resent-From: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 06 Oct 2021 11:51:02 +0000 Resent-Message-ID: <handler.51058.B.163352104712064 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 51058 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51058 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.163352104712064 (code B ref -1); Wed, 06 Oct 2021 11:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 11:50:47 +0000 Received: from localhost ([127.0.0.1]:42802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mY5Re-00038V-Po for submit <at> debbugs.gnu.org; Wed, 06 Oct 2021 07:50:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:45334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <h.nasajpour@HIDDEN>) id 1mY5Rc-00038N-96 for submit <at> debbugs.gnu.org; Wed, 06 Oct 2021 07:50:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <h.nasajpour@HIDDEN>) id 1mY5Rc-0001pp-0V for bug-guix@HIDDEN; Wed, 06 Oct 2021 07:50:44 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:49247) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <h.nasajpour@HIDDEN>) id 1mY5RW-0003lc-Sv for bug-guix@HIDDEN; Wed, 06 Oct 2021 07:50:43 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D184C5C0625 for <bug-guix@HIDDEN>; Wed, 6 Oct 2021 07:50:32 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute5.internal (MEProxy); Wed, 06 Oct 2021 07:50:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=nDdvlzwZLdPjTtiml8R0BDq+Dxjaf/6clYtK2ZUb0/A=; b=R1e2YD5g okg+I1PBpkJJ3TXdD6cdTNY+k3fiE9eNo+KlV4VQTu+jpxE34Xwu/2GKrpGx7QIW SGo5DSEzUUbe9ORUcA6DiHG6BLtNI/JyzpLWC2ZZXIvS5tj77JG/B0vsh8dQYuZF l5cp5A0aYTfms0yv1pTIu0RqXdYaz8xLtwG7Z7FUAfCPkCVCUA9Hm4Tw5ZiCmq7k zd2BfddoYYk47GAzPlNhWlCTe75GCM85eJym/vk6lU5CtZclwWepzbgRvlink59C 4gYALLNpuD16XI4EQ74BcxPslUslJ+8CSz6Mee4MloZQK4YYGO9zxeZbnwshS/KV XpPii5PqSY3KPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=nDdvlzwZLdPjTtiml8R0BDq+Dxjaf /6clYtK2ZUb0/A=; b=fXd1NwvfIVC2b2dbT4M5zxJWcTNkgOPUVX3Ndbw5JBbSw IX0VMj+nC7ENmy6ill1PM1QI8zpYFKpc2WK11gTRnhD9Lo+YnjfaUPiflthCGMwF GwkfTEK2IT5Ow7gQ5aE3CEDzMw73nv9nzsfia45Pwsx6utopszzW5e1cXoDwyi3y Uqltn4dLl0UknFI9d/AJqhIaPpuV0/bfZ9bQCSivRAVTNxAvef84FEG74Z6wtqlq tDhSelPk8nIpuZjDakSvEsO/VSZ/bkXep2po5CGvWNX8jvsd1EmeXE8ROQIY6mAB 774D2W2cr7ob3IdR6nMK8vs2MCZNQJou4eJ0C1v3Q== X-ME-Sender: <xms:iI1dYUUMncrffBPHC0ApVqS7ng0nicdcNfK3lFsJ5eO_C5jI3Gzq_w> <xme:iI1dYYlTdss25MoaA2g8xaJoWlSSDPCU9lSs56ogHmJHAFX_LBDt3gK89xUvbO9lu A_UwlYlzNg5wuwT7A> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeliedggedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfjfgrmhiivghhucfprghsrghjphhouhhrfdcuoehhrdhnrghs rghjphhouhhrsehprghnthhhvghrgidrohhrgheqnecuggftrfgrthhtvghrnhepueejke eigeelgeefffeihffgtdejvddvtddvheehuefhudehueeuuddvgfdtieeinecuffhomhgr ihhnpehgnhhurdhorhhgpdhmrghnuhgrlhhlhidrhhhofienucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhrdhnrghsrghjphhouhhrsehprghn thhhvghrgidrohhrgh X-ME-Proxy: <xmx:iI1dYYb_Grj21GAWiqsGrP62BOe3E-rLp14Jx0d5WjCLvgVLCeVLEw> <xmx:iI1dYTWcfK2mtAnvWWWH4kIVlT9hMbWnj5_S0eK6YR-rPfjfyheVWg> <xmx:iI1dYenkhQW7Fx2mWSl5v2_ELwaxTi1JhHwe5d76xvRTbNhnWkBjzQ> <xmx:iI1dYazaJtbruJd8EVwozkE0JYoBrPrAxRUFp8L_fv-AGQqCPoHidw> Received: by mailuser.nyi.internal (Postfix, from userid 501) id BB4D4FA0AA5; Wed, 6 Oct 2021 07:50:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1331-g5ae342296a-fm-20211005.001-g5ae34229 Mime-Version: 1.0 Message-Id: <09d65e67-6927-42fb-97c9-0f76134fad0c@HIDDEN> Date: Wed, 06 Oct 2021 15:20:11 +0330 From: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN> Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=h.nasajpour@HIDDEN; helo=out5-smtp.messagingengine.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_BTC_ID=0.499, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.2 (--) I have an issue with opening the links in Qt based applications, like `lxqt-panel`, `qterminal` and I think all of the Qt based application. I mean, I can't open the `file:///home/hamzeh/` in these applications. I get the following error: ``` Launch failed (/gnu/store/bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/bin/xdg-open ....) ``` As you can see, it wants to run `xdg-open` from `/gnu/store/bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/` path and this path isn't available. This `xdg-open` path has patched here: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm?id=f868ed2a75b55400107b80fcc1e41dcfb6b3c28c#n447 So all of the application that are using `QDesktopServices::openUrl()` have this issue, since this path has filled with wrong value in the `qtbase` package. Also the `xdg-utils` is installed but in the different path, the correct and current installed path is: ``` /gnu/store/0zdclmgw5gnpifwb7jyrmplrk13wp0yz-xdg-utils-1.1.3/ ``` The workaround is installing the `xdg-utils` manually, but it's a temporary solution since after running the `guix gc`, again I'll face with this issue. Some details: 1. In the fresh install I have the `xdg-utils` in the store at this path: ``` $ ll /gnu/store/ | grep xdg-utils dr-xr-xr-x 4 root root 4096 Jan 1 1970 0zdclmgw5gnpifwb7jyrmplrk13wp0yz-xdg-utils-1.1.3/ ``` and I can't open the links in Qt applications. 2. After installing the `xdg-utils` manually, two `xdg-utils` paths were added to store: ``` $ ll /gnu/store/ | grep xdg-utils dr-xr-xr-x 4 root root 4096 Jan 1 1970 0zdclmgw5gnpifwb7jyrmplrk13wp0yz-xdg-utils-1.1.3/ -r--r--r-- 2 root root 1120 Jan 1 1970 35m23zhgbc4rrjrf36dag9abx7r6fnji-xdg-utils-1.1.3-guile-builder dr-xr-xr-x 4 root root 4096 Jan 1 1970 3g26il93p23p4fcg1hfn797n4blqh0f6-xdg-utils-1.1.3/ dr-xr-xr-x 4 root root 4096 Jan 1 1970 bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/ -r--r--r-- 2 root root 3739 Jan 1 1970 makz45834k44dg1x1h1v91nqib41wd91-xdg-utils-1.1.3.drv -r--r--r-- 2 root root 5706 Jan 1 1970 mix35kkjk3prj2kwi96qx74biwqbmxx7-xdg-utils-1.1.3-guile-builder -r--r--r-- 2 root root 1269 Jan 1 1970 sz8s218fxvq8hr1ikn4m8g1z3ydbprbs-xdg-utils-1.1.3.drv -r--r--r-- 2 root root 909 Jan 1 1970 zbvwka7a27baz22w8k78jyjkrqaxcc4v-xdg-utils-1.1.3.tar.gz.drv ``` there is no issue with opening the links at this state. 3. After running the `guix gc` the `xdg-utils` path are: ``` $ ll /gnu/store/ | grep xdg-utils dr-xr-xr-x 4 root root 4096 Jan 1 1970 0zdclmgw5gnpifwb7jyrmplrk13wp0yz-xdg-utils-1.1.3/ -r--r--r-- 2 root root 1120 Jan 1 1970 35m23zhgbc4rrjrf36dag9abx7r6fnji-xdg-utils-1.1.3-guile-builder dr-xr-xr-x 4 root root 4096 Jan 1 1970 3g26il93p23p4fcg1hfn797n4blqh0f6-xdg-utils-1.1.3/ -r--r--r-- 2 root root 3739 Jan 1 1970 makz45834k44dg1x1h1v91nqib41wd91-xdg-utils-1.1.3.drv -r--r--r-- 2 root root 5706 Jan 1 1970 mix35kkjk3prj2kwi96qx74biwqbmxx7-xdg-utils-1.1.3-guile-builder -r--r--r-- 2 root root 1269 Jan 1 1970 sz8s218fxvq8hr1ikn4m8g1z3ydbprbs-xdg-utils-1.1.3.drv -r--r--r-- 2 root root 909 Jan 1 1970 zbvwka7a27baz22w8k78jyjkrqaxcc4v-xdg-utils-1.1.3.tar.gz.drv ``` And in this state, again, there is an issue with opening the links: ``` Launch failed (/gnu/store/bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/bin/xdg-open ....) ``` And again I can install `xdg-utils`, it cause to adding `bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/` to store and the issue will be fixed but after each `guix gc`, again I have the issue. (1). I need to fix the issue permanently and also without installing `xdg-utils` manually. How? (2). Seems that `qtbase` are referring to a wrong path (`bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/`) here: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm?id=f868ed2a75b55400107b80fcc1e41dcfb6b3c28c#n447 Why? and where does this wrong path come from? (3) Why after installing the `xdg-utils` I have those new paths in my store? And why after `guix gc` they will be deleted? Regards, -- Hamzeh Nasajpour PantherX Team
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN> Subject: bug#51058: Acknowledgement (xdg-open wrong path in qt based applications (links wont be open)) Message-ID: <handler.51058.B.163352104712064.ack <at> debbugs.gnu.org> References: <09d65e67-6927-42fb-97c9-0f76134fad0c@HIDDEN> X-Gnu-PR-Message: ack 51058 X-Gnu-PR-Package: guix Reply-To: 51058 <at> debbugs.gnu.org Date: Wed, 06 Oct 2021 11:51:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 51058 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 51058: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D51058 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.