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

The Install module button does nothing #162

Open
orcinus opened this issue Aug 4, 2023 · 6 comments
Open

The Install module button does nothing #162

orcinus opened this issue Aug 4, 2023 · 6 comments

Comments

@orcinus
Copy link

orcinus commented Aug 4, 2023

Reproduction steps:

  1. click "Install some from here" from the "No Modules Installed" notification
  2. click "Install" button for SRanipalTrackingModule
  3. nothing happens

Expected result:
Module gets downloaded and installed.

Version: 5.1.1.0

Platform: Windows 10 22H2

@orcinus
Copy link
Author

orcinus commented Aug 4, 2023

Log output:

[UnifiedLibManager] Information: Starting initialization tracking
[UnifiedLibManager] Information: Tearing down all modules...
[UnifiedLibManager] Debug: Initializing requested runtimes...
[UnifiedLibManager] Information: Initializing runtimes...
[UnifiedLibManager] Warning: No modules loaded.
[VRCFaceTracking.Core.Services.ModuleDataService] Debug: Rating for 74f18332-1bcf-4b55-832d-9c91069afa31 was not found
[UnifiedLibManager] Information: Tearing down all modules...
[VRCFaceTracking.Core.Services.ModuleInstaller] Debug: Uninstalling module 74f18332-1bcf-4b55-832d-9c91069afa31
[VRCFaceTracking.Core.Services.ModuleInstaller] Warning: Module 74f18332-1bcf-4b55-832d-9c91069afa31 could not be found where it was expected in C:\Users\Ante Vukorepa\AppData\Roaming\VRCFaceTracking\CustomLibs\74f18332-1bcf-4b55-832d-9c91069afa31
[App] Error: Unhandled exception
[App] Critical: Stacktrace:    at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath, Boolean isCaseSensitiveRename)
   at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath)
   at VRCFaceTracking.Core.Services.ModuleInstaller.InstallRemoteModule(TrackingModuleMetadata moduleMetadata)
   at VRCFaceTracking.Views.ModuleRegistryDetailControl.Install_Click(Object sender, RoutedEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
[App] Critical: Inner exception: (null)
[App] Critical: Message: Source and destination path must have identical roots. Move will not work across volumes.
[UnifiedLibManager] Information: Tearing down all modules...

@orcinus
Copy link
Author

orcinus commented Aug 4, 2023

This appears to be because the app assumes it's on C:
If it's not (and it can not-be, because Microsoft allows you to change the default App drive via Settings), a lot of things will break.

@orcinus
Copy link
Author

orcinus commented Aug 4, 2023

Nope. Uninstalled, reconfigured app storage back to C:, reinstalled, same issue persists.
Also, no VRCFaceTracking folder in AppData.
No idea what's going on.

@orcinus
Copy link
Author

orcinus commented Aug 4, 2023

Okay, figured it out.
App expects the Windows Temp folder to be on the same drive (volume) as itself.

Since it uses move instead of copy (and delete), which only works within the same volume, moving the module from temp where it was downloaded, to where it needs to be, fails if Temp is elsewhere.

@dd1231512dd
Copy link

dd1231512dd commented Oct 3, 2023

I have same error. How can I fix it?

@Charmandrigo
Copy link

Charmandrigo commented Jan 6, 2024

Nope. Uninstalled, reconfigured app storage back to C:, reinstalled, same issue persists.

Also, no VRCFaceTracking folder in AppData.

No idea what's going on.

This is the issue I been getting except I can wipe the folders within app data and the built-in modules load.

A second issue is that no matter what I do, the 3rd party modules (like eyetrackvr or pimax) will never load, not even if I install them manually as a zip, modules are added to the app data folder, but these fail to load completely.

To the devs, I did a more specific rundown on my thread on discord: https://discord.com/channels/849300336128032789/1189778058610233404

I should mention I am on windows 11 23h2, so please check if you are able to recreate this issue on the most recent w11 version.
So far, un installing, reinstalling, wiping data etc has not worked. Not even adding the modules directly on CustomLibs, it's become clear that only the modules located on StockLibs are the only ones that load correctly on the app

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

No branches or pull requests

3 participants