Error on ROMS database update.

To get bugs fixed, please report them here.
Post Reply
droman
Newbie
Newbie
Posts: 7
Joined: Mon Apr 18, 2022 10:05 pm

Hi, my mGalaxy version is 8.5.0.0


I have tried to update the MAME ROMS database, but it always gives me an error.
The full path of the ROMS folder is F:/EMU/MAME/ROMS
And this is the error:

Code: Select all

Message: La ruta de acceso no tiene un formato válido.
StackTrace:    en System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   en System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   en System.IO.Path.InternalGetDirectoryName(String path)
   en System.IO.Path.GetDirectoryName(String path)
   en (MainWindow , UserSystem )
   en mGalaxy_Runway.MainWindow.RomSyncUpdate_GetDb_Mame(UserSystem userSys)
   en (MainWindow , Object , RunWorkerCompletedEventArgs )
   en mGalaxy_Runway.MainWindow.RomSyncUpdate_GetUserFiles_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
   en System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   en System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
   en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Source: mscorlib
TargetSite: System.String LegacyNormalizePath(System.String, Boolean, Int32, Boolean)
The folder for mGalaxy is F:/EMU/mGalaxy

Thanks in advance and sorry for my english.

Mi computer is configured in Spanish (Spain).
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

If you move the roms folder at the root of f (so: F:\ROMS) do you get the same error?
droman
Newbie
Newbie
Posts: 7
Joined: Mon Apr 18, 2022 10:05 pm

[quote="mgalaxy"]
If you move the roms folder at the root of f (so: F:\ROMS) do you get the same error?
[/quote]

I'll try it this afternoon and let you know.
Thanks.
Last edited by droman on Tue Apr 19, 2022 2:37 pm, edited 1 time in total.
droman
Newbie
Newbie
Posts: 7
Joined: Mon Apr 18, 2022 10:05 pm

Yes, same error.

NOTE: 
Ok... I know what the mistake is. I was running the app without having admin rights.
It is necessary?
Last edited by droman on Tue Apr 19, 2022 4:46 pm, edited 1 time in total.
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

[quote="droman"]
Yes, same error.

NOTE: 
Ok... I know what the mistake is. I was running the app without having admin rights.
It is necessary?
[/quote]

No, it shouldn't, unless you want to read/write to the C:\ProgramFiles folder
droman
Newbie
Newbie
Posts: 7
Joined: Mon Apr 18, 2022 10:05 pm

Well no, I don't have to read anything in that directory, I don't understand why, but it works correctly with administrator permissions. It works for me on that machine.

Thanks.
Post Reply