Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Searching for packages within Atom does not work #1145

Open
1 task done
jlangvand opened this issue Feb 27, 2020 · 13 comments
Open
1 task done

Searching for packages within Atom does not work #1145

jlangvand opened this issue Feb 27, 2020 · 13 comments

Comments

@jlangvand
Copy link

jlangvand commented Feb 27, 2020

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
Copy link
Author

jlangvand commented Feb 27, 2020

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
Copy link

lkashef commented Feb 28, 2020

Hi @jlangvand, thanks for the report.

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

@tayspen72
Copy link

tayspen72 commented Mar 2, 2020

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
Copy link
Author

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
Copy link

OlegWebmaster commented Mar 3, 2020

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
Copy link

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

@jlangvand
Copy link
Author

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
Copy link

lkashef commented Mar 5, 2020

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
Copy link

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

@tayspen72
Copy link

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
Copy link
Author

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

@mariu22sz
Copy link

for my still doesn't work

@adlerfaulkner
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants