nautilus-subliminal icon indicating copy to clipboard operation
nautilus-subliminal copied to clipboard

Error when installing in Ubuntu 20.04 from sh script

Open vlad88sv opened this issue 4 years ago • 7 comments

Error: E: Unable to locate package python-pip

wget https://raw.githubusercontent.com/Diaoul/nautilus-subliminal/master/install.sh -O - | sudo sh
--2020-06-07 14:26:32--  https://raw.githubusercontent.com/Diaoul/nautilus-subliminal/master/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2457 (2.4K) [text/plain]
Saving to: ‘STDOUT’

-                              100%[===================================================>]   2.40K  --.-KB/s    in 0s

2020-06-07 14:26:34 (40.1 MB/s) - written to stdout [2457/2457]

Installing necessary packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pip
Error: failed to install required packages

Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.6.14-050614-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i5-3210M CPU @ 2.50GHz Memory: 15.5 GiB of RAM

vlad88sv avatar Jun 07 '20 20:06 vlad88sv

Also:

sudo apt install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pip

vlad88sv avatar Jun 07 '20 20:06 vlad88sv

I've submitted a patch, look at the pull request #30

ComputingFroggy avatar Nov 16 '20 01:11 ComputingFroggy

@ComputingFroggy After applying your change, the script works and install and there is a right click menu for subliminal but clicking on choose sub or download doesnt do anything , as stated in screenshots a windows should appear. But thats not happening. Tried this in lm 20

akash-258 avatar Jun 22 '21 13:06 akash-258

I've juste changed the standard python for python3 ... nothing else has been changed, so I would not know.

ComputingFroggy avatar Jun 22 '21 21:06 ComputingFroggy

I've submitted a patch, look at the pull request #30

So wget https://github.com/ComputingFroggy/nautilus-subliminal/raw/1d512a2db7247c36e82c0857d15b148a67c1f3ad/install.sh -O - |sudo bash -x

klepsydra avatar Aug 07 '21 22:08 klepsydra

wget https://github.com/ComputingFroggy/nautilus-subliminal/raw/1d512a2db7247c36e82c0857d15b148a67c1f3ad/install.sh -O - |sudo bash -x

Installs but doesnt work

akash-258 avatar Jun 27 '22 16:06 akash-258

@akash-258 You can run the following commands in terminal to see if the script is throwing any exceptions:

$ nautilus -q
$ nautilus --no-desktop

In my case, the problem was caused because of existing subliminal cache directory (~/.cache/subliminal/) and absent config directory (~/.config/subliminal/).

ashucg avatar Sep 22 '22 16:09 ashucg