settings-view icon indicating copy to clipboard operation
settings-view copied to clipboard

Searching for packages within Atom does not work

Open jlangvand opened this issue 5 years ago • 13 comments

Prerequisites

Description

Steps to Reproduce

  1. Navigate to settings -> Install
  2. Enter text in search box (say we enter gradle)

Expected behavior:

Search results appear underneath the search box.

Actual behavior:

Message Searching packages for "gradle"... is displayed, nothing else happens.

Reproduces how often:

Reproduces every time.

Versions

Atom : 1.44.0 Electron: 4.2.12 Chrome : 69.0.3497.128 Node : 10.11.0 apm 2.4.5 npm 6.14.0 node 13.9.0 x64 atom 1.44.0 python 3.8.1 git 2.25.1

Additional Information

Searching for, and installing packages using apm directly works fine. Also, after installing a package with a missing dependency, clicking "install" on the notification within Atom successfully installs the missing package.

Running on Arch, kernel 5.5.6-arch1-1.

jlangvand avatar Feb 27 '20 16:02 jlangvand

Also, when clicking on a package in the list of "featured packages" (in this case Hydrogen), I'm taken to the package view, displaying Loading Hydrogen..., preceded by an hourglass, indefinitely. Clicking Install, however, works as expected (package successfully installs).

jlangvand avatar Feb 27 '20 17:02 jlangvand

Hi @jlangvand, thanks for the report.

Can you please share more information if you had any log messages from Developer Tools for example?

lkashef avatar Feb 28 '20 17:02 lkashef

I'm having this same issue. Installed on Arch Linux. Searching for any package, shows Searching packages for 'x'... but does not load any package list or update the page.

@lkashef What sort of log would you like? I can reproduce as needed.

image

tayspen72 avatar Mar 02 '20 17:03 tayspen72

Can you please share more information if you had any log messages from Developer Tools for example?

If you mean the DevTools console, @lkashef, no messages appear there. Please tell me if there's anything else I can provide that could be of interest. @tayspen72 seeing the same issue indicates this bug is somehow related to Arch, I suppose.

jlangvand avatar Mar 03 '20 12:03 jlangvand

The search for packages to install (Preferences -> Install) doesn't work. [oleg ~] $ atom --version Atom: 1.44.0 Electron: 4.2.12 Chrome: 69.0.3497.128 Node: 10.11.0

Running on Arch linux 5.5.6-arch1-1 and 5.5.7-arch1-1.

What I tried to do:

  1. Delete the directories /home/user/.atom/ and /home/user/.config/Atom/
  2. Run from a different locale through the terminal env LANG = en_US.UTF-8 atom
  3. Run the command atom --clear-window-state
  4. In safe start mode (atom --safe), there is a problem too.

I can install only one of the 8 packages that are visible at the top of the list (Featured Package).

OlegWebmaster avatar Mar 03 '20 13:03 OlegWebmaster

Good news! Packages can be installed using the terminal command: apm install. For example, "apm install color-picker" :)

OlegWebmaster avatar Mar 03 '20 16:03 OlegWebmaster

Good news! Packages can be installed using the terminal command: apm install. For example, "apm install color-picker" :)

This works for me too, and is how I've survived the last week since I made the switch to Arch ;)

jlangvand avatar Mar 03 '20 16:03 jlangvand

apm should work for now, thanks for the tip @OlegWebmaster and @jlangvand for the confirmation.

It looks like an OS related issue, I labeled it with needs-reproduction to try reproducing this on a Linux Arch machine.

lkashef avatar Mar 05 '20 13:03 lkashef

I have experienced the same problem on Manjaro Kyria 19.0.2 :)

mariu22sz avatar Mar 09 '20 19:03 mariu22sz

Tested again today on and it works. Problem must be fixed now. v1.44.0-1 from pacman.. I don't quite know what was causing it but it seems to point not at Atom because it hasn't changed..

tayspen72 avatar Mar 10 '20 03:03 tayspen72

Works for me too. Probably the fault was in some library outside Atom. I suppose this issue can be closed now.

jlangvand avatar Mar 10 '20 11:03 jlangvand

for my still doesn't work

mariu22sz avatar Mar 14 '20 15:03 mariu22sz

Still having this problem on MacOS. Result of atom --version: Atom : 1.58.0 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1

adlerfaulkner avatar Feb 19 '22 04:02 adlerfaulkner