Romcenter 4.2.beta2
Posted: Thu Jun 24, 2021 1:39 pm
Download here:
The result is:Executing command "RomCenterBeta\4.2.0.b2\rc.exe" update -u "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).dat" "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).rdt"
Why is it trying to create an already existing database? This is an update operation i'm trying to execute.Creating new database Amstrad CPC - Educational (TOSEC-v2015-05-07_CM) from datafile Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).dat
New database filename already exists
Hey Eric. Any news on that perhaps? It's the only thing i'm not able to test with RCDBM. It's pretty much finished, except for this.Wanderer wrote: Mon Aug 23, 2021 9:56 am Command-line problem with update (paths have been removed):
The result is:Executing command "RomCenterBeta\4.2.0.b2\rc.exe" update -u "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).dat" "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).rdt"
Why is it trying to create an already existing database? This is an update operation i'm trying to execute.Creating new database Amstrad CPC - Educational (TOSEC-v2015-05-07_CM) from datafile Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).dat
New database filename already exists
Related bug created.
Hi Eric,RomCenter wrote: Thu Oct 21, 2021 9:41 am Hi Wanderer,
When you update a db, you're supposed to change the name (version changes). This is the current behaviour.
and i assume the produced file will be "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).dat"RENAME "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).dat" to "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM)_TMP.dat"
"RomCenterBeta\4.2.0.b2\rc.exe" update -u "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM)_TMP.dat" "Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).rdt"
Well, as is now, it seems like a bug in the command-line tool, so it would indeed be nice if the rename operation was performed by it.RomCenter wrote: Thu Oct 21, 2021 9:41 amThis is a limitation, and I will probably update that in the future.
What is it exactly that needs to be done?Creating new database Amstrad CPC - Educational (TOSEC-v2014-05-07_CM) from datafile Amstrad CPC - Educational (TOSEC-v2015-05-07_CM).dat
New database filename already exists
at RomCenter.Logic.DataManager.CreateDatabase(DatReader datReader, String dstDbFilename, IRdtConfigUser dbsettings, FilterOptions datFilter)
at CommandLine.Program.RunUpdateAndReturnExitCode(UpdateOptions updateOptions)
at CommandLine.Program.<>c.<Main>b__11_2(UpdateOptions options)
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
at CommandLine.Program.Main(String[] args)
CommandLine.CmdDialogs/ErrorMessage : Error message: RomCenter.Global.RcFileExistsException: New database filename already exists
at RomCenter.Logic.DataManager.CreateDatabase(DatReader datReader, String dstDbFilename, IRdtConfigUser dbsettings, FilterOptions datFilter)
at CommandLine.Program.RunUpdateAndReturnExitCode(UpdateOptions updateOptions)
at CommandLine.Program.<>c.<Main>b__11_2(UpdateOptions options)
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
at CommandLine.Program.Main(String[] args)