Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Issue with helper script installation #337

Open
Mark-Eng opened this issue Sep 3, 2022 · 5 comments
Open

Issue with helper script installation #337

Mark-Eng opened this issue Sep 3, 2022 · 5 comments

Comments

@Mark-Eng
Copy link

Mark-Eng commented Sep 3, 2022

I just got a new device running Windows 11. I installed Python 3.10, installed the latest version of Open With in Firefox, and downloaded the open_with_windows script.

When I try to run the script from the command prompt, nothing happens. I can see another console window open for a split second, then it disappears. If I click "test installation, I get the" Something went wrong" message.

I've installed the helper successfully on several other machines, and I've tested other Python scripts on my current machine—they all work fine.

Any suggestions?

@rodhfr
Copy link

rodhfr commented Oct 9, 2022

The same thing happened with me. Last version on firefox.
Ran the helper script and it creates five json files... "open with chrome, chromium, firefox, thunderbird and open with bat" but when i click test installation, "Something went wrong" message appears.
Tested with powershell, cmd both with administrative rights and nothing.
Tried to use the path with "" and with python3 command no difference at all.
if i ran --verbose flag it tells me to use install option but i am already using it.

@Silent-Soldier
Copy link

The installation instructions need revised, as open_with_windows.py install is technically wrong in the sense Python can't detect the command as being applicable to a script. To fix, you need to append ./ to the install command, which results in ./open_with_windows.py install, which should work correctly.

@Mark-Eng
Copy link
Author

Thanks @Silent-Soldier, but here's what I get when I try that. Maybe I misunderstood what you were suggesting?
image

@Silent-Soldier
Copy link

Have you updated Pythons built-in utilities (pip, setuptools, wheel, etc.), as well as ensured Python is in PATH, including USERPATH (i.e. %USERPROFILE%\AppData\Roaming\Python\Python3xx\ and %USERPROFILE%\AppData\Roaming\Python\Python3xx\Scripts)? Python defaults to USERPATH since 3.8? unless running the shell with Admin privileges.

Also, are you using Command Prompt or Powershell? They each require a different syntax. The one I provided was tested/successful using Powershell (Core 7.2 to be exact).

@3flowin
Copy link

3flowin commented Dec 15, 2022

Have you updated Pythons built-in utilities (pip, setuptools, wheel, etc.), as well as ensured Python is in PATH, including USERPATH (i.e. %USERPROFILE%\AppData\Roaming\Python\Python3xx\ and %USERPROFILE%\AppData\Roaming\Python\Python3xx\Scripts)? Python defaults to USERPATH since 3.8? unless running the shell with Admin privileges.

Also, are you using Command Prompt or Powershell? They each require a different syntax. The one I provided was tested/successful using Powershell (Core 7.2 to be exact).

i already did all of these and i still cant fucking install it
0/10 addon, too fucking hard to install

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants