SpotX-Official / SpotX

SpotX patcher used for patching the desktop version of Spotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error occured while installing spotify

What-Zit-Tooya opened this issue · comments

🧐 Have you read the FAQ and viewed similar issues?

  • I have read the FAQ
  • I have checked older issues, open and closed
  • I did a clean install of SpotX as described in the FAQ

Сountry of your account

Singapore

What is your Spotify Plan?

Free

Do you have Spicetify installed?

No

ℹ Computer information

- Spotify: Not installed
- Windows: Windows 10 21H2 19044.3803
- PowerShell: 5.1.19041.3803

📝 Description

I get error while installing spotify. See screenshot below

📸 Screenshots

error

Most likely, this is related to your username, can you show it?

Most likely, this is related to your username, can you show it?

I put WZT ALL in my computer username.
There is space and all in uppercase letter.
So, the full path is C:\Users\WZT ALL\

Execute these two commands sequentially in the PowerShell terminal and show the result:

  • Push-Location -LiteralPath $env:TEMP
  • Push-Location -LiteralPath "$env:TEMP"
* Push-Location -LiteralPath $env:TEMP
PS C:\Windows\system32> Push-Location -LiteralPath $env:TEMP
Push-Location : An object at the specified path C:\Users\WZTALL~1 does not exist.
At line:1 char:1
+ Push-Location -LiteralPath $env:TEMP
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Push-Location], PSArgumentException
    + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.PushLocationCommand
* Push-Location -LiteralPath "$env:TEMP"
PS C:\Windows\system32> Push-Location -LiteralPath "$env:TEMP"
Push-Location : An object at the specified path C:\Users\WZTALL~1 does not exist.
At line:1 char:1
+ Push-Location -LiteralPath "$env:TEMP"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Push-Location], PSArgumentException
    + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.PushLocationCommand

Are they used to store temporary files? If so, why not using %temp% directory instead?

no, %temp% is used in cmd

try this command

Push-Location -LiteralPath ([System.IO.Path]::GetTempPath())

no, %temp% is used in cmd

try this command

Push-Location -LiteralPath ([System.IO.Path]::GetTempPath())

This is the result of that command:
PS C:\Users\WZT ALL\AppData\Local\Temp>

fixed, thanks for the feedback