Author Topic: Error on ROMS database update.  (Read 1804 times)

droman

  • Newbie
  • *
  • Posts: 7
Re: Error on ROMS database update.
« Reply #6 on: April 22, 2022, 02:50:34 AM »
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.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: Error on ROMS database update.
« Reply #5 on: April 21, 2022, 03:47:27 AM »
Yes, same error.

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

No, it shouldn't, unless you want to read/write to the C:\ProgramFiles folder

droman

  • Newbie
  • *
  • Posts: 7
Re: Error on ROMS database update.
« Reply #4 on: April 19, 2022, 09:37:56 AM »
Yes, same error.

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

« Last Edit: April 19, 2022, 11:46:56 AM by droman »

droman

  • Newbie
  • *
  • Posts: 7
Re: Error on ROMS database update.
« Reply #3 on: April 19, 2022, 04:41:22 AM »
If you move the roms folder at the root of f (so: F:\ROMS) do you get the same error?

I'll try it this afternoon and let you know.
Thanks.
« Last Edit: April 19, 2022, 09:37:35 AM by droman »

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1168
    • Email
Re: Error on ROMS database update.
« Reply #2 on: April 19, 2022, 04:14:13 AM »
If you move the roms folder at the root of f (so: F:\ROMS) do you get the same error?

droman

  • Newbie
  • *
  • Posts: 7
Error on ROMS database update.
« Reply #1 on: April 18, 2022, 05:14:36 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]
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).