Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beet zsh completion bug ubuntu 20.04 #3693

Closed
snowyoneill opened this issue Jul 27, 2020 · 11 comments
Closed

beet zsh completion bug ubuntu 20.04 #3693

snowyoneill opened this issue Jul 27, 2020 · 11 comments
Labels
bug bugs that are confirmed and actionable needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature." stale

Comments

@snowyoneill
Copy link

Problem

when i try to complete beets command using zsh command i keep seeing _beet:zregexparse:4: invalid regex : )

I'm running into the same issue i previously documented here:
#3546

except this time i'm running into the problem on the latest Ubuntu LTS

Setup

ubuntu 20.04 (Focal Fossa)
oh-my-zsh
	zsh 5.8 (x86_64-ubuntu-linux-gnu)

beets
	beets version 1.4.9
	Python version 3.8.2
	plugins: no plugins

Can anyone confirm that this is working under Ubuntu 20.04

@sampsyo sampsyo added the needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature." label Jul 27, 2020
@sampsyo
Copy link
Member

sampsyo commented Jul 27, 2020

Hello! That's too bad. I unfortunately do not have the excuse to root-cause this, but I will try pinging @vapniks (the author) again.

@jef
Copy link
Member

jef commented Jul 31, 2020

I can confirm, this is a bug right now. I can look into it but I am no expert when it comes to zsh scripts...

edit: Nope, I'm gonna leave it up to the creator because this is regex hell 🤣 Sorry I can't help more.

@jef jef added the bug bugs that are confirmed and actionable label Jul 31, 2020
@vapniks
Copy link
Collaborator

vapniks commented Jul 31, 2020

My mind is stuck in the world of scheme macros at the moment. When I get an opportunity to make some thinking space for that old zsh completion code I'll have a look, but that may be some time. In case anyone else wants to have a go here are some notes I wrote about how to write zsh completions: https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org

@jef
Copy link
Member

jef commented Jul 31, 2020

I'll take a read of that one and see if I can come up with anything. Thanks for the documentation!

@vapniks
Copy link
Collaborator

vapniks commented Aug 4, 2020

@jef The problem is probably somewhere among completion cacheing code, but that's just a guess.

@vapniks
Copy link
Collaborator

vapniks commented Aug 15, 2020

It may also be due to an incompatibility with new releases of zsh. It works for me with zsh version 5.4.2, but I haven't tried more recent versions: http://zsh.sourceforge.net/releases.html

@stale
Copy link

stale bot commented Oct 14, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 14, 2020
@stale stale bot closed this as completed Oct 21, 2020
@snowyoneill
Copy link
Author

snowyoneill commented Nov 2, 2020

Looks like this issue exists with the 1.4.9 release once i updated to 1.5.0 it disappeared.

@heylookltsme
Copy link
Contributor

I'm on 1.5.0 and seeing this 😞

@heylookltsme
Copy link
Contributor

heylookltsme commented Oct 17, 2021

Adding this in case it helps someone out...

In trying to debug this, I moved the /usr/share/zsh/vendor-completions/_beet file to my home directory just to back it up and then rebooted. I then got a new error, (eval):1: _beet: function definition file not found, which made sense. So I moved the _beet file back and... now it works. 🤷🏻

I have no idea. Computers are filled with 👻 s, I swear.

EDIT: oh my god I spoke too soon. Completion seemed to work because I had a typo in the command 🤦🏻‍♀️

corinne_betty___mnt_media_downloads

@Ribesg
Copy link

Ribesg commented Oct 18, 2021

This bug has been there for like 2 years now, would be nice if it could get fixed…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs that are confirmed and actionable needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature." stale
Projects
None yet
Development

No branches or pull requests

6 participants