EmuDeck / emudeck-we

Windows Edition
GNU General Public License v3.0
42 stars 20 forks source link

Emudeck Windows - Stuck at “Collecting Drives Names” #37

Closed capwatkins closed 6 months ago

capwatkins commented 10 months ago

I found an older issue for this that says it's fixed, but I just installed Emudeck and the entire setup gets hung up at Collecting Drive Names. There were no errors previous to that, and I've hunted around on Google for a solve and can't find anything. Let me know what info would be helpful!

joseeldelpan commented 9 months ago

I had the same problem, you just need to open Powershell as admin and run this command: Set-ExecutionPolicy RemoteSigned Then reinstall emudeck and it should work perfectly =)

Hope this helps.

capwatkins commented 9 months ago

@joseeldelpan Hm I just tried that and am stuck again on the same step, unfortunately.

sonofmartinus commented 9 months ago

Make sure you have no Powershell profiles in the Powershell folders inside Documents.

capwatkins commented 9 months ago

@sonofmartinus I do not. There's no Powershell folder inside Documents.

sonofmartinus commented 9 months ago

What about a 'WindowsPowershell' directory? If so delete it and try running EmuDeck again.

ryansolid commented 9 months ago

Similar problem. Powershell fix did not work (there was no folders in Documents either).

In my case, I noticed this log show up which may be related:

cd : Cannot find path 'C:\Users\Ryan\AppData\Roaming\EmuDeck\backend\functions' because it does not exist. At line:1 char:238 + ... ppData ; cd Roaming ; cd EmuDeck ; cd backend ; cd functions ; . ./a ... + ~~~~ + CategoryInfo : ObjectNotFound: (C:\Users\Ryan\A...ckend\functions:String) [Set-Location], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand cd : Cannot find path 'C:\Users\Ryan\AppData\Roaming\EmuDeck\backend\functions' because it does not exist. At line:1 char:238 + ... ppData ; cd Roaming ; cd EmuDeck ; cd backend ; cd functions ; . ./a ... + ~~~~ + CategoryInfo : ObjectNotFound: (C:\Users\Ryan\A...ckend\functio ns:String) [Set-Location], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLo cationCommand . : The term './all.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:255 + ... aming ; cd EmuDeck ; cd backend ; cd functions ; . ./all.ps1 ; appIm ... + ~~~ + CategoryInfo : ObjectNotFound: (./all.ps1:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException . : The term './all.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:255 + ... aming ; cd EmuDeck ; cd backend ; cd functions ; . ./all.ps1 ; appIm ... + ~~~ + CategoryInfo : ObjectNotFound: (./all.ps1:String) [], CommandNo tFoundException + FullyQualifiedErrorId : CommandNotFoundException appImageInit : The term 'appImageInit' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:267 + ... Deck ; cd backend ; cd functions ; . ./all.ps1 ; appImageInit; Stop-T ... + ~~~~ + CategoryInfo : ObjectNotFound: (appImageInit:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException appImageInit : The term 'appImageInit' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:267 + ... Deck ; cd backend ; cd functions ; . ./all.ps1 ; appImageInit; Stop-T ... + ~~~~ + CategoryInfo : ObjectNotFound: (appImageInit:String) [], Comman dNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

The folder doesn't exist, and it appears that the parent folder gets recreated everytime emudeck starts up so this probably a symptom of another problem.

Patafix commented 6 months ago

My antivirus was the problem for me (BitDefender)

aidinzolghadr commented 4 months ago

I have this problem. So far I've tried:

  1. Set-ExecutionPolicy RemoteSigned in PowerShell as admin
  2. deleting EmuDeck from userprofile's roaming and appdata
  3. Running emudeck_installer.exe with as Admin.
aidinzolghadr commented 4 months ago

I have this problem. So far I've tried:

  1. Set-ExecutionPolicy RemoteSigned in PowerShell as admin
  2. deleting EmuDeck from userprofile's roaming and appdata
  3. Running emudeck_installer.exe with as Admin.
  4. Deleting PowerShell directory from Documents, that I don't have it.
dragoonDorise commented 4 months ago

@aidinzolghadr make sure you have GIT installed. https://git-scm.com/download/win

hqo998 commented 4 months ago

@aidinzolghadr make sure you have GIT installed. https://git-scm.com/download/win

Installing GIT solved the issue for me

aidinzolghadr commented 4 months ago

I've had it.

real-F-00 commented 3 months ago

hmm? why was the issue closed? it seems that @capwatkins hasn't posted a solution to the problem, the problems seems to be a deeper issue that should be looked into anyways, for example, i have my User folders in a separate Partition and during the initial set up when i click "See More Details" i get:

Get-Content : Cannot find path 'C:\Users\F-00\emudeck\logs\git.log' because it does not exist.
At line:1 char:5
+ & { Get-Content $env:USERPROFILE/emudeck/logs/git.log -Tail 100 -Wait ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\F-00\emudeck\logs\git.log:String) [Get-Content], ItemNotFoundE
   xception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

which at first glance appears to be a PowerShell Environment Variables problem since all of the relevant folders are on a separate Partition... until you realize that the emudeck folder is in %APPDATA%\EmuDeck

since %USERPROFILE% returns the user's "home" folder (which despite saying C:\Users\F-00 it still points to my other Partition correctly) there is obviously no way it would be there.

i should mention that i also have a separate Drive installed on my system that is formatted as EXT4, which could be tripping the disk detection process as https://github.com/EmuDeck/emudeck-we/issues/28#issuecomment-1867707696 seems to suggest.

After testing inside a Windows 11 VM without such configurations, it appears that everything works and there is indeed a EmuDeck folder inside of %USERPROFILE% there must be something preventing the installation process from proceeding normally, i'm not sure what could be causing it but i'll have to test without the additional drives.