From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MHIzAmSY3F+4EAAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 11:54:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wF2eOWOY3F/uNQAAbx9fmQ (envelope-from ) for ; Fri, 18 Dec 2020 11:54:11 +0000 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 259D8940356 for ; Fri, 18 Dec 2020 11:54:10 +0000 (UTC) Received: from localhost ([::1]:53792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqEKn-0002IC-UC for larch@yhetil.org; Fri, 18 Dec 2020 06:54:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqEKg-0002I6-8S for bug-guix@gnu.org; Fri, 18 Dec 2020 06:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqEKf-0003qM-SQ for bug-guix@gnu.org; Fri, 18 Dec 2020 06:54:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqEKf-0000rJ-Ni for bug-guix@gnu.org; Fri, 18 Dec 2020 06:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45272: GNOME Builder: Global search, autocompletion, documentation don't work Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Dec 2020 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45272 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Luis Felipe Received: via spool by 45272-submit@debbugs.gnu.org id=B45272.16082924313284 (code B ref 45272); Fri, 18 Dec 2020 11:54:01 +0000 Received: (at 45272) by debbugs.gnu.org; 18 Dec 2020 11:53:51 +0000 Received: from localhost ([127.0.0.1]:37883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqEKU-0000qu-HW for submit@debbugs.gnu.org; Fri, 18 Dec 2020 06:53:50 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:28661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqEKP-0000qh-Mg for 45272@debbugs.gnu.org; Fri, 18 Dec 2020 06:53:49 -0500 Received: from nijino.local (217-149-174-13.nat.highway.telekom.at [217.149.174.13]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Cy6hP72TSz3xQh; Fri, 18 Dec 2020 12:53:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1608292422; bh=WOBpv4ePWamSJrXzf1M2vA2VVIW403ehyl3VQHj4Hm0=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=OnJbOKdUEpP6IsTxNeUB0kBAV/om6W2nnN/TRnHqpPwlDdQYH2dDYNklx0XpuENfL n++JIb7zh2dfzSBa5HhXnz4mXlPXBkbmo2OcvaxS5YUkyHy+gmXe/88krxEQnKu0cJ N9WQtQ2iE2R4g0BZk9Qs/UYFnUGD4VfgF6cnJizY= Message-ID: <2342003d9ca418f44de27437e41e39b7a85d703d.camel@student.tugraz.at> From: Leo Prikler Date: Fri, 18 Dec 2020 12:53:40 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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: , Cc: 45272@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.22 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=OnJbOKdU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 259D8940356 X-Spam-Score: -1.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0an8Impt4Gda Hello Luis, After long trial and error I have failed to find a way of enabling this feature. Getting the necessary environment variables into GNOME Builder is doable, albeit not without issues. In particular, naively setting GI_TYPELIB_PATH from build – which would normally be the sane thing to do – sets you up for a runtime error. However, even after you've somehow weasled the correct paths into all the environment variables, getting them propagated into the IDE workers is a nightmare, that I wish no one. I tried deleting the line, that unsets the environment, I tried explicitly setting it to false; nothing works. If someone else wants to take this bug, go ahead, otherwise I suggest dropping Python support from our builds of GNOME Builder so as to not cause confusion in such a manner. Regards, Leo Am Mittwoch, den 16.12.2020, 17:24 +0000 schrieb Luis Felipe: > Various features described in GNOME Builder documentation ( > https://builder.readthedocs.io/en/latest/exploring.html) don't seem > to work, even though their corresponding extensions are enabled (in > Settings → Extensions). > > So far, I've only identified Global search, autocompletion, > documentation on hover. I tried these in Python code only. > > I assumed these features are failing for the same reason, so I'm > reporting them together. > > > ## Steps to reproduce: Search for a function in your Python project > > 1. Start GNOME Builder > 2. Click on the "Select a Folder..." button > 3. Locate the folder of your project and click "Open" > 4. Press Ctrl + . to focus the search box > 5. Start typing the name of a function you know is defined in the > project source code > > ## Expected result > > You see the function suggested in the results. > > ## Unexpected result > > The suggested results don't include the function. Searching only > seems to suggest filenames that include your search terms; > definitions in the source code, like classes and functions, seem to > be excluded. > > > > ## Steps to reproduce: Autocompletion in a Python file > > 1. Open a Python file > 2. Type "Hello". (that's hello in double quotes, followed by a dot) > > ## Expected result > > A list of methods for string objects is displayed after you type the > dot. > > ## Unexpected result > > The list is not displayed at all. > > > > ## Steps to reproduce: Documentation on hovering over a Python method > > 1. Open a Python file > 2. Type "Hello {}".format("World") > 3. Hover over the "format" method or place the caret on it and press > F2 > > ## Expected result > > A box appears over the method displaying its documentation. > > ## Unexpected result > > The box is not displayed at all. > > > > ## System information > > guix 08d8c2d > gnome-builder 3.36.1 > > > > ## Additional information > > I see the following output when I start gnome-builder from a > terminal: > > ``` > $ gnome-builder > sh: getent: command not found > 11:21:17.5362 ide-application-plugins[ 18651]: > CRITICAL: Cannot enable Python 3 plugins: Typelib file for namespace > 'Dazzle', version '1.0' not found > 11:21:17.5405 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5407 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5407 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5407 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5407 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5408 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5408 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5409 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5409 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5410 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5410 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5410 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5411 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5411 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5411 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5412 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5412 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5412 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5419 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5420 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5480 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5505 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5507 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:17.5507 libpeas[ > 18651]: WARNING: The 'python3' plugin loader has not been enabled > 11:21:19.8003 ide-device-manager[ > 18651]: WARNING: GbpQemuDeviceProvider: binfmt is missing from > /proc/mounts > 11:21:20.0893 gbp-sysprof-workspace-addin[ > 18651]: WARNING: Sysprof-3 is not supported, will not enable > profiler: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The > name org.gnome.Sysprof3 was not provided by any .service files > ``` > > > --- > Luis Felipe López Acevedo > https://luis-felipe.gitlab.io/ >