atom / settings-view

🔧 Edit Atom settings
MIT License
273 stars 275 forks source link

Searching for packages within Atom does not work #1145

Open jlangvand opened 4 years ago

jlangvand commented 4 years ago

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 commented 4 years ago

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).

lkashef commented 4 years ago

Hi @jlangvand, thanks for the report.

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

tayspen72 commented 4 years ago

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

jlangvand commented 4 years ago

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.

OlegWebmaster commented 4 years ago

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 commented 4 years ago

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

jlangvand commented 4 years ago

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 ;)

lkashef commented 4 years ago

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.

mariu22sz commented 4 years ago

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

tayspen72 commented 4 years ago

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..

jlangvand commented 4 years ago

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

mariu22sz commented 4 years ago

for my still doesn't work

adlerfaulkner commented 2 years ago

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