#Warpinator isn't working(SOLVED)

178 messages · Page 1 of 1 (latest)

blazing steppe
#

After updating to Linux mint 22.3 which has been done successfully. Now I can't run the system package version of Warpinator and it shows this error instead when I attempt to run it via the terminal:

Using landlock for incoming file isolation
No module named 'google.protobuf'

I have to attempted it to reinstall warpinator multiple times and python-3 libraries as well and it still isn't functioning properly.

Is there any way to get warpinator to function again without using the flatpak?

subtle solar
#

try this

#
sudo apt install python3-protobuf```
#

and then verify

#

python3 -c "import google.protobuf; print(google.protobuf.__version__)"

blazing steppe
subtle solar
#

check the shebang

#

head -n 1 /usr/bin/warpinator

blazing steppe
#

Now what

subtle solar
#

do

#

sudo sed -i '1s|.*|#!/usr/bin/python3|' /usr/bin/warpinator

#

now try warpinator

blazing steppe
#

idk what I am doing wrong man

subtle solar
#

the warpinator launcher is somehow messed up

#

do sed -n '1,20p' /usr/bin/warpinator

#

then do

#!/bin/sh
export WARPINATOR_PATH=/usr/libexec/warpinator
exec /usr/bin/python3 "$WARPINATOR_PATH/warpinator.py" "$@"
EOF
#

then sudo chmod +x /usr/bin/warpinator

#

and run warpinator

#

gtg

blazing steppe
subtle solar
#

now do

#
sudo apt install python3-protobuf
#

and then

#

sudo ldconfig

blazing steppe
#

K lemme do that

blazing steppe
subtle solar
#
rm -rf ~/.config/warpinator
rm -rf ~/.cache/warpinator```
blazing steppe
#

Lemme try that once I get to my computer

subtle solar
#

what happens if u run the app directly?

#

show me the output of

#

python3 -c "import google.protobuf; print(google.protobuf.__version__)"

subtle solar
#

got it

#

do

#
sudo apt purge warpinator
sudo apt autoremove
sudo apt install warpinator
blazing steppe
#

If this doesn't work I am going to start executing people

blazing steppe
subtle solar
#

sudo apt purge python3-protobuf

blazing steppe
subtle solar
#
sudo apt autoremove
sudo apt install warpinator```
blazing steppe
#

lemme do it

subtle solar
#

also show me the output of

#

python3 -c "import google.protobuf; print(google.protobuf.version)"

blazing steppe
#

warpinator still isnt working

subtle solar
#

where have u installed the protobuf from?

blazing steppe
#

I think I might have it installed via pipx or pip a few days back when the AI told me to do so when I was debugging it

subtle solar
#

bruh

#

u should uninstall that

blazing steppe
#

how do I do that...

#

I forgot

subtle solar
#

pipx uninstall protobuf

blazing steppe
subtle solar
#

wait a min

#

do

blazing steppe
#

what happened

subtle solar
#

dpkg -l | grep protobuf

subtle solar
blazing steppe
subtle solar
#

do

#

python3 -c "import google.protobuf; print(google.protobuf.file)"

subtle solar
#

sudo pip3 uninstall protobuf

blazing steppe
subtle solar
#

try

#

pip3 uninstall protobuf --user

blazing steppe
blazing steppe
#

I forgot what I did man

#

I followed the advice of chatgpt a few days back and did some nonsense to get warpinator to work but yeah

subtle solar
#

do this

#

rm -rf ~/.local/lib/python3.12/site-packages/google/protobuf

#

rm -rf ~/.local/lib/python3.12/site-packages/protobuf*

#

then

#

python3 -c "import google.protobuf"

subtle solar
#

even i did many things

blazing steppe
#

ok I might have fixed that somehow

subtle solar
#

yep

#

now try

#

warpinator

blazing steppe
#

Still the same error of no module found

blazing steppe
subtle solar
#

sudo apt install python3-protobuf

#

is it working?

blazing steppe
#

Hold...

#

installed

#

Now what

subtle solar
#

warpinator

blazing steppe
#

KILL MAIM MURDER KILL MAIM MURDER

subtle solar
#

hmm

#

sudo apt purge python3-protobuf
sudo apt purge warpinator
sudo apt autoremove
sudo apt install warpinator

subtle solar
#

python3 -c "import google.protobuf; print(google.protobuf.version)"

#

mine is working fine after the replication

blazing steppe
subtle solar
#

hmm google vs google.protobuf

blazing steppe
#

hehehehehe

#

HEHEHEHEHEHE I AM GOING INSANE

subtle solar
#

me too bruh

#

its a weird ghost module

#

in ur system

#

what about

#

python3 -c "import google.protobuf; print(google.protobuf.file)"

blazing steppe
#

same thing

subtle solar
#

python3 -c "import google.protobuf; print(google.protobuf.file)"

blazing steppe
#

Yeah its the same thing

subtle solar
#

how does the app behave if u open it from the menu?

blazing steppe
subtle solar
#

do this then

#

sudo apt remove libprotobuf-c-dev libprotobuf-dev librust-protobuf-dev

#

sudo apt autoremove

#

then

#

dpkg -l | grep protobuf

#

warpinator

blazing steppe
#

I am going to kill myself atp

subtle solar
#

last one

#

sudo apt kill system

blazing steppe
subtle solar
#

python3 -c "import google.protobuf; print(google.protobuf.version)"

subtle solar
#

twin u there?

blazing steppe
subtle solar
#

might be google instead of google.protobuf

blazing steppe
subtle solar
#

try again

#
sudo apt purge warpinator
sudo apt autoremove
sudo apt install warpinator```
#

this time it might compile the right protobuf

subtle solar
#

do

#

ls /usr/libexec/warpinator

#

and

#

sudo nano /bin/warpinator

blazing steppe
subtle solar
#

do ctrl+x to exit

#

ls /usr/libexec/warpinator/firewall

#

ls /usr/libexec/warpinator/google

#

ls /usr/libexec/warpinator/grpc

#

ls /usr/libexec/warpinator/landlock

#

ls /usr/libexec/warpinator/zeroconf

blazing steppe
blazing steppe
#

I LOVE YOU THANK YOU SO MUCH

subtle solar
#

what did u do?

#

and what was the cause

blazing steppe
subtle solar
#

ah damn

#

who could have thought about that

#

anyways have fun

blazing steppe
#

OMG

#

I am so happy now after so much pain and suffering

subtle solar
blazing steppe
#

Warpinator isn't working(SOLVED)

blazing steppe
subtle solar
#

really glad we shared the pain