unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* v1.9.0 : `ls-search' is not an lei command
@ 2024-04-04 19:04 Josh Steadmon
  2024-04-04 19:55 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Steadmon @ 2024-04-04 19:04 UTC (permalink / raw)
  To: meta

Hello all,

I recently had to reinstall my work machine, and after doing so I now
get an error when running `lei ls-search`:

`ls-search' is not an lei command

This happens with both version 1.9.0-1+build1 of the Debian "lei"
package, and with version 1.9.0 of the Nix "public-inbox" package.

Unfortunately I'm not sure which version I had installed prior to wiping
my machine.

Any advice is appreciated, thanks!
Josh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: v1.9.0 : `ls-search' is not an lei command
  2024-04-04 19:04 v1.9.0 : `ls-search' is not an lei command Josh Steadmon
@ 2024-04-04 19:55 ` Eric Wong
  2024-04-09 19:59   ` Josh Steadmon
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2024-04-04 19:55 UTC (permalink / raw)
  To: Josh Steadmon; +Cc: meta

Josh Steadmon <steadmon@google.com> wrote:
> Hello all,
> 
> I recently had to reinstall my work machine, and after doing so I now
> get an error when running `lei ls-search`:
> 
> `ls-search' is not an lei command
> 
> This happens with both version 1.9.0-1+build1 of the Debian "lei"
> package, and with version 1.9.0 of the Nix "public-inbox" package.

Are you sure the `lei' in $PATH is pointed to the right
installation?

`lei sucks' should give diagnostic info (or similarly broken if
the lei-daemon is running on an uninstalled version).

`lei daemon-kill' should always work and rerunning any `lei'
should restart it.

Check for a LeiLsSearch.pm on your machine and see if it lines
up with your expected installation location (and there should be
a bunch of Lei*.pm siblings in the same directory).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: v1.9.0 : `ls-search' is not an lei command
  2024-04-04 19:55 ` Eric Wong
@ 2024-04-09 19:59   ` Josh Steadmon
  0 siblings, 0 replies; 3+ messages in thread
From: Josh Steadmon @ 2024-04-09 19:59 UTC (permalink / raw)
  To: Eric Wong; +Cc: meta

On 2024.04.04 19:55, Eric Wong wrote:
> Josh Steadmon <steadmon@google.com> wrote:
> > Hello all,
> > 
> > I recently had to reinstall my work machine, and after doing so I now
> > get an error when running `lei ls-search`:
> > 
> > `ls-search' is not an lei command
> > 
> > This happens with both version 1.9.0-1+build1 of the Debian "lei"
> > package, and with version 1.9.0 of the Nix "public-inbox" package.
> 
> Are you sure the `lei' in $PATH is pointed to the right
> installation?
> 
> `lei sucks' should give diagnostic info (or similarly broken if
> the lei-daemon is running on an uninstalled version).

Thanks for the pointer to `lei sucks'. It reported that lei was for some
reason trying to load packages from a prior attempt at installing
public-inbox from source, even after deleting the relevant directory.
I'm not sure how that happened, since I installed via apt and AFAICT
there's nothing in my environment that would tell Perl to look in that
location.

In any case, `apt-get purge lei` followed by a reinstall worked after
deleting the old source directory.

Thanks again!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-09 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-04 19:04 v1.9.0 : `ls-search' is not an lei command Josh Steadmon
2024-04-04 19:55 ` Eric Wong
2024-04-09 19:59   ` Josh Steadmon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).