mov-cli / mov-cli

Watch everything from your terminal.
https://mov-cli.github.io/
MIT License
405 stars 36 forks source link

[BUG] installing mov-cli on iOS with pipx doesn't work #256

Closed bachig26 closed 4 days ago

bachig26 commented 1 month ago

Describe the bug: can't able to run the program. i did install using pipx and injected the plugins. i have also checked the injected packages by listing them and tried again as fresh install but still doesn't run.

Expected behavior: to run.

Screenshots

IMG_0950

Error: I got the same output even with debug flag as above screenshot.

Platform (please complete the following information):

Version mov-cli 4.0.7 (latest)

r3tr0ananas commented 1 month ago

I tried to install pipx on my phone, but it wouldn't install. However, for iSH, I used normal pip.

bachig26 commented 1 month ago

I tried to install pipx on my phone, but it wouldn't install. However, for iSH, I used normal pip.

maybe because I use the latest Alphine version (v3.19) in iSH, which shows the PEP 668 error. so, i can only install mov-cli using pipx.

r3tr0ananas commented 1 month ago

Firstly, how did you update your Alpine version and secondly iSH installs with version 3.14.3.

bachig26 commented 1 month ago

Firstly, how did you update your Alpine version and secondly iSH installs with version 3.14.3.

i run the ish from testflight which has the daily builds [v1.3.3 Build 617]. and it has the version 3.19 which came yesterday.

r3tr0ananas commented 1 month ago

image

Yeah i think I won't be able test it.

bachig26 commented 1 month ago

Goddamn that screenshot is long

yeah :) oh, wasn't aware that it's full. maybe i'll try the app store version later today.

r3tr0ananas commented 1 month ago

Goddamn that screenshot is long

yeah :) oh, wasn't aware that it's full. maybe i'll try the app store version later today.

I will test it once it isn't full anymore.

THEGOLDENPRO commented 1 month ago

I didn't think they would be disabling pip too. Also btw there is a flag you can set to force your system wide pip to install mov-cli (I don't remember it rn) but I wouldn't recommend this on an actual Linux desktop as you simply have more to lose.

@r3tr0ananas also another recommended way is for us to actually publish distro packages for mov-cli. User software like mov-cli should be installed and managed by the distro's package manager.

I can work on this, I'm gonna try and create a package for Arch Linux and somehow ask the previous maintainer for access to the current package.

THEGOLDENPRO commented 1 month ago

Actually nvm I can actually package mov-cli I think, the other package was mov-cli-git.

THEGOLDENPRO commented 1 month ago

@bachig26 I was able to get mov-cli running in a fresh Alpine Linux docker container and I seem to be getting no errors, I wonder what's up with iSH Shell. Maybe you can try this again with my steps below.

image

Here were my steps:

apk update && apk upgrade

apk add python3 fzf pipx
# You will need to add this to something like .bashrc however, I'm just exporting it on the fly for testing.
export PATH=$PATH:~/.local/bin
pipx install mov-cli
r3tr0ananas commented 1 month ago
apk add python3 fzf pipx

I looks like pipx isn't a package in version 3.24.3.

IMG_0027

THEGOLDENPRO commented 1 month ago

ah I see. In the latest versions of Alphin they seem to follow PEP 668 so pip is blocked from installing user packages just like bachig26 stated.

THEGOLDENPRO commented 1 month ago

Has this been tested again. @r3tr0ananas

r3tr0ananas commented 1 month ago

I can't test it because the beta is still full. @bachig26 would have to test it

bachig26 commented 1 month ago

I can't test it because the beta is still full. @bachig26 would have to test it

I can't install in iSH beta, since iSH crashes everytime when I tried to install using pipx. It's weird with the latest mov-cli version, I'm not sure why.

r3tr0ananas commented 3 weeks ago

I can't test it because the beta is still full. @bachig26 would have to test it

I can't install in iSH beta, since iSH crashes everytime when I tried to install using pipx. It's weird with the latest mov-cli version, I'm not sure why.

I also can't install the testflight version of iSH.

image

THEGOLDENPRO commented 3 weeks ago

This honestly is just an iOS moment. Can't you side load? Like genuine question I'm not trying to shit on iOS lmao.

r3tr0ananas commented 3 weeks ago

This honestly is just an iOS moment. Can't you side load? Like genuine question I'm not trying to shit on iOS lmao.

Well with the new eu act i thought i could but them fuckers only allowed 'Apple-certified app stores'.

THEGOLDENPRO commented 3 weeks ago

This honestly is just an iOS moment. Can't you side load? Like genuine question I'm not trying to shit on iOS lmao.

Well with the new eu act i thought i could but them fuckers only allowed 'Apple-certified app stores'.

😭😭😭

r3tr0ananas commented 3 weeks ago

image

I got iSH on testflight let's go

bachig26 commented 3 weeks ago

image

I got iSH on testflight let's go

Awesome 🍻

r3tr0ananas commented 2 weeks ago

Installing mov-cli on the testflight version worked fine.

Only thing is that:

passt

but the url was still copied to the clipboard so it would work.

THEGOLDENPRO commented 1 week ago

@r3tr0ananas I haven't used the ios version of mov-cli but wouldn't it be better to switch back to the clickable link. Wasn't the clipboard alternative only required because of the links vadapav were returning?

r3tr0ananas commented 1 week ago

@r3tr0ananas I haven't used the ios version of mov-cli but wouldn't it be better to switch back to the clickable link. Wasn't the clipboard alternative only required because of the links vadapav were returning?

It was because of vidsrc.to, but i guess we could do that.

THEGOLDENPRO commented 1 week ago

Maybe you can have both in the case a link is un-clickable. Not sure how you would detect that though.

r3tr0ananas commented 1 week ago

Maybe you can have both in the case a link is un-clickable. Not sure how you would detect that though.

It only broke when a ';' or ':' was in the link, so we could check if they contain these characters and paste it in the clipboard.

r3tr0ananas commented 4 days ago

@bachig26 I'll close this. If you still experience issues, please reopen this issue.

THEGOLDENPRO commented 4 days ago

so the commands in the wiki are correct?