Javinizer icon indicating copy to clipboard operation
Javinizer copied to clipboard

GUI cannot be installed with 2.6.1

Open BobLoblaw411 opened this issue 11 months ago • 2 comments

I upgraded my Javinizer CLI to 2.6.1 a couple days ago and I´m very happy that it solved my Javlibrary issues I was trying to address with the flaresolverr workaround in the past. The GUI however I had installed seemed to have stayed on 2.5.7 with all the flaresolverr workarounds still in place and it didn´t work properly anymore.

So I uninstalled Javinizer CLI, uninstalled the Universal server and started from scratch. The Javinizer CLI is now working just fine again after the reinstall but I´m running into issues when trying to re-install the GUI.

`PS C:\Windows\System32> javinizer -v

Version : 2.6.1 Prerelease : alpha Project : https://github.com/javinizer/Javinizer License : https://github.com/javinizer/Javinizer/blob/master/LICENSE ReleaseNotes : https://github.com/javinizer/Javinizer/blob/master/.github/CHANGELOG.md

PS C:\Windows\System32> Javinizer -InstallGUI Starting Javinizer GUI install... Use the -Force parameter if you want to overwrite the existing PowerShell Universal install Get-Package: No match was found for the specified search criteria and module names 'Javinizer'. Join-Path: C:\Users\user\Documents\PowerShell\Modules\Javinizer\2.6.1\Public\Install-JVGui.ps1:20 Line | 20 | … $javinizerRepoPath = Join-Path -Path $javinizerModulePath -ChildP … | ~~~~~~~~~~~~~~~~~~~~ | Cannot bind argument to parameter 'Path' because it is null. Join-Path: C:\Users\user\Documents\PowerShell\Modules\Javinizer\2.6.1\Public\Install-JVGui.ps1:21 Line | 21 | … $javinizerGuiScriptPath = Join-Path -Path $javinizerRepoPath -ChildP … | ~~~~~~~~~~~~~~~~~~ | Cannot bind argument to parameter 'Path' because it is null. Join-Path: C:\Users\user\Documents\PowerShell\Modules\Javinizer\2.6.1\Public\Install-JVGui.ps1:22 Line | 22 | … avinizerConfigScriptPath = Join-Path -Path $javinizerRepoPath -ChildP … | ~~~~~~~~~~~~~~~~~~ | Cannot bind argument to parameter 'Path' because it is null. Get-Package: No match was found for the specified search criteria and module names 'Javinizer'. Installing required modules... Module [UniversalDashboard.Style] is already installed Module [UniversalDashboard.UDPlayer] is already installed Module [UniversalDashboard.UDSpinner] is already installed Module [UniversalDashboard.UDScrollUp] is already installed Module [UniversalDashboard.CodeEditor] is already installed Installing PowerShell Universal... Extracting PowerShell Universal to [C:\Program Files\Javinizer\1.5.13]... Creating PowerShell Universal repository path at [C:\Program Files\Javinizer\1.5.13\Universal\Repository]... Creating PowerShell Universal configs path at [C:\Program Files\Javinizer\1.5.13\Universal\Repository.universal] Creating PowerShell Universal assets path at [C:\Program Files\Javinizer\1.5.13\Universal\Dashboard]... Copying javinizergui.ps1 script to [C:\Program Files\Javinizer\1.5.13\Universal\Repository\javinizergui.ps1]...

Confirm The item at C:\Program Files\Javinizer\1.5.13 has children and the Recurse parameter was not specified. If you continue, all children will be removed with the item. Are you sure you want to continue? [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y Install-JVGui: C:\Users\user\Documents\PowerShell\Modules\Javinizer\2.6.1\Public\Javinizer.ps1:648 Line | 648 | Install-JVGui -Force:$Force | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Error occurred when creating PowerShell Universal directories: Cannot bind argument to parameter 'Path' because it is null. PS C:\Windows\System32> PS C:\Windows\System32> Javinizer -opengui Get-Package: No match was found for the specified search criteria and module names 'Javinizer'. Join-Path: C:\Users\user\Documents\PowerShell\Modules\Javinizer\2.6.1\Public\Start-JVGui.ps1:12 Line | 12 | $javinizerRepoPath = Join-Path -Path $javinizerModulePath -ChildP … | ~~~~~~~~~~~~~~~~~~~~ | Cannot bind argument to parameter 'Path' because it is null. Join-Path: C:\Users\user\Documents\PowerShell\Modules\Javinizer\2.6.1\Public\Start-JVGui.ps1:13 Line | 13 | … $javinizerGuiScriptPath = Join-Path -Path $javinizerRepoPath -ChildP … | ~~~~~~~~~~~~~~~~~~ | Cannot bind argument to parameter 'Path' because it is null. WARNING: Javinizer GUI installation not detected at path [C:\Program Files\Javinizer\1.5.13], run 'Javinizer -InstallGUI' to install PS C:\Windows\System32>`

BobLoblaw411 avatar Feb 13 '25 14:02 BobLoblaw411

Me too Install-JVGui: C:\Program Files\WindowsPowerShell\Modules\Javinizer\2.6.2\Public\Javinizer.ps1:648 Line | 648 | Install-JVGui -Force:$Force | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Error occurred when creating PowerShell Universal directories: Cannot bind argument to parameter 'Path' because | it is null.

dXrayb avatar Mar 31 '25 00:03 dXrayb

FTR: I ended up fixing the issue by uninstalling Javinizer again, manually removing any leftovers in the POwershell\Modules directory and using Revo-Uninstaller to uninstall the Universal Server. After a reboot I installed Javinizer from scratch, including the latest Python, Pillow, googletrans. After that I was able to install the GUI and eventually had to recreate my settings by manually editing jvSettings.json with the values I had previously.

I never found out what the original issue was

BobLoblaw411 avatar Mar 31 '25 14:03 BobLoblaw411