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

WoeUSB-ng GUI Doesn't Launch #49

Closed
heliophane opened this issue Aug 27, 2021 · 6 comments
Closed

WoeUSB-ng GUI Doesn't Launch #49

heliophane opened this issue Aug 27, 2021 · 6 comments
Labels
duplicate This issue or pull request already exists

Comments

@heliophane
Copy link

I've searched the issue tracker and is pretty sure that there's no duplicate issue already filed
I've built the latest development snapshot using the instructions in README and verified that the issue can still be reproduced (for bug reports)

Issue Reproduce Instructions

  1. Launch WoeUSB from Apps list in GNOME
  2. Enter Sudo password

Expected Behavior

Program Opens when launched

Current Behavior

WoeUSB will throw up the screen asking for privileges, then nothing happens
image

Info of My Environment

WoeUSB Source

Installed using pip as the instructions showed for Fedora as well as building from source

Information about the Operating System

Fedora 34 Workstation running GNOME 40

@WaxyMocha
Copy link
Member

Hi, have you tried running it twice?
Yes, this is serious question...

@heliophane
Copy link
Author

@WaxyMocha I have, still no luck, on both the pip version and one I compiled :(

@WaxyMocha
Copy link
Member

Gnome on some distributions appears to not work well with GUI's started as root. I don't have an solution for this outside of redesigning how GUI interfaces with core. For now you can try to use KDE or other, or just use terminal, there it should work well.

#11

@WaxyMocha WaxyMocha added the duplicate This issue or pull request already exists label Aug 29, 2021
@Flashwalker
Copy link

Flashwalker commented Mar 30, 2023

pip installation not works:

$ sudo python3 -m pip install WoeUSB-ng
Collecting WoeUSB-ng
  Using cached WoeUSB_ng-0.2.12-py3-none-any.whl
Requirement already satisfied: termcolor in /usr/local/lib/python3.10/dist-packages (from WoeUSB-ng) (1.1.0)
Requirement already satisfied: wxPython in /usr/lib/python3/dist-packages (from WoeUSB-ng) (4.0.7)
Installing collected packages: WoeUSB-ng
Successfully installed WoeUSB-ng-0.2.12
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
$ woeusbgui
woeusbgui: command not found


$ ll /usr/local/bin/woeusbgui
ls: cannot access '/usr/local/bin/woeusbgui': No such file or directory
$ ll /usr/local/lib/python3.10/dist-packages/WoeUSB/
total 100
drwxr-xr-x 2 root root  4096 мар 30 14:14 data/
drwxr-xr-x 9 root root  4096 мар 30 14:14 locale/
drwxr-xr-x 2 root root  4096 мар 30 14:14 __pycache__/
-rwxr-xr-x 1 root root   900 мар 30 14:14 woeusb*
-rwxr-xr-x 1 root root  1249 мар 30 14:14 woeusbgui*
-rw-r--r-- 1 root root 28120 мар 30 14:14 core.py
-rw-r--r-- 1 root root 15977 мар 30 14:14 gui.py
-rw-r--r-- 1 root root   102 мар 30 14:14 __init__.py
-rw-r--r-- 1 root root  3007 мар 30 14:14 list_devices.py
-rw-r--r-- 1 root root   236 мар 30 14:14 miscellaneous.py
-rw-r--r-- 1 root root 15095 мар 30 14:14 utils.py
-rw-r--r-- 1 root root  4271 мар 30 14:14 workaround.py

How to fix this dumb shit:

sudo ln -s /usr/local/lib/python3.10/dist-packages/WoeUSB/woeusbgui /usr/local/bin/

@LulzT4T
Copy link

LulzT4T commented Feb 11, 2024

pip installation not works:

$ sudo python3 -m pip install WoeUSB-ng
Collecting WoeUSB-ng
  Using cached WoeUSB_ng-0.2.12-py3-none-any.whl
Requirement already satisfied: termcolor in /usr/local/lib/python3.10/dist-packages (from WoeUSB-ng) (1.1.0)
Requirement already satisfied: wxPython in /usr/lib/python3/dist-packages (from WoeUSB-ng) (4.0.7)
Installing collected packages: WoeUSB-ng
Successfully installed WoeUSB-ng-0.2.12
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
$ woeusbgui
woeusbgui: command not found


$ ll /usr/local/bin/woeusbgui
ls: cannot access '/usr/local/bin/woeusbgui': No such file or directory
$ ll /usr/local/lib/python3.10/dist-packages/WoeUSB/
total 100
drwxr-xr-x 2 root root  4096 мар 30 14:14 data/
drwxr-xr-x 9 root root  4096 мар 30 14:14 locale/
drwxr-xr-x 2 root root  4096 мар 30 14:14 __pycache__/
-rwxr-xr-x 1 root root   900 мар 30 14:14 woeusb*
-rwxr-xr-x 1 root root  1249 мар 30 14:14 woeusbgui*
-rw-r--r-- 1 root root 28120 мар 30 14:14 core.py
-rw-r--r-- 1 root root 15977 мар 30 14:14 gui.py
-rw-r--r-- 1 root root   102 мар 30 14:14 __init__.py
-rw-r--r-- 1 root root  3007 мар 30 14:14 list_devices.py
-rw-r--r-- 1 root root   236 мар 30 14:14 miscellaneous.py
-rw-r--r-- 1 root root 15095 мар 30 14:14 utils.py
-rw-r--r-- 1 root root  4271 мар 30 14:14 workaround.py

How to fix this dumb shit:

sudo ln -s /usr/local/lib/python3.10/dist-packages/WoeUSB/woeusbgui /usr/local/bin/

So if it still doesnt work just
< sudo woeusbgui >
gui will launch in gnome

@abhishek-junghare
Copy link

< sudo woeusbgui >

Yes, this works 👍

sudo woeusbgui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants