an item with same key already added
Moderator: Wanderer
Forum rules
No roms requests or illegal links
No roms requests or illegal links
an item with same key already added
https://snipboard.io/YTE9ky.jpg
after creating IBM PC redump dats and add the folder of the roms the error pops up like this "an item with same key already added"
after creating IBM PC redump dats and add the folder of the roms the error pops up like this "an item with same key already added"
Re: an item with same key already added
Hi.
This looks like a datafile issue. Are you sure there is nothing duplicate in it?
This looks like a datafile issue. Are you sure there is nothing duplicate in it?
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
im not sure. when I importing the dats from redump IBM PC and create new lines the errors comes out
Re: an item with same key already added
I could check it. Can you post the dat here?
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
Good day, yes here it is the link
https://drive.google.com/file/d/17QGF_d ... drive_link
https://drive.google.com/file/d/17QGF_d ... drive_link
Re: an item with same key already added
I'm also getting this exact error with official Redump IBM - PC compatible DATs for the last year or so. If you go back to one from a few years ago it works fine. For example "IBM - PC compatible - Datfile (17435) (2019-04-03 13-07-38).dat" works without the error. I can't attach it because .dat files aren't allowed.
Last edited by Melluish on Wed Jul 31, 2024 12:32 am, edited 1 time in total.
Re: an item with same key already added
Can you please upload it here as a zip file or somewhere else that does not require a login and permission asking?bototin wrote: ↑Sun Jul 28, 2024 5:24 am Good day, yes here it is the link
https://drive.google.com/file/d/17QGF_d ... drive_link
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
Hi. Try uploading it as a compressed file (zip, 7z preferably).Melluish wrote: ↑Wed Jul 31, 2024 12:30 am I'm also getting this exact error with official Redump IBM - PC compatible DATs for the last year or so. If you go back to one from a few years ago it works fine. For example "IBM - PC compatible - Datfile (17435) (2019-04-03 13-07-38).dat" works without the error. I can't attach it because .dat files aren't allowed.
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
Sure, here we go.
- Attachments
-
- IBM - PC compatible - Datfile (17435) (2019-04-03 13-07-38).zip
- (4.04 MiB) Downloaded 444 times
Re: an item with same key already added
OK, thanks. I did some quick preliminary checks but didn't find anything. Can you also post the log file? (C:\ProgramData\romcenter\romcenter_xml.log). At least the last 100 lines where the actual problem should be displayed...
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
No problem. I made sure to try to create the Romcenter database again just now so it should be the last thing in the log.
The problem occurs not when creating the database but after its finished when you try to add a ROM path, so it might be that there are two games or something in my set that would end up being renamed identically? Not sure. I've also included an `ls -la` of my "IBM - PC compatible" ROMs directory.
The problem occurs not when creating the database but after its finished when you try to add a ROM path, so it might be that there are two games or something in my set that would end up being renamed identically? Not sure. I've also included an `ls -la` of my "IBM - PC compatible" ROMs directory.
- Attachments
-
- pc-ls.txt.zip
- (2.95 KiB) Downloaded 433 times
-
- romcenter_xml.zip
- (7.9 KiB) Downloaded 416 times
Re: an item with same key already added
Just some extra info:
- The DAT that I used to get the error in that log is "IBM - PC compatible - Datfile (48267) (2024-07-30 22-31-44).dat".
- My ROM path is on a network share, but this has never given me any other issues.
- I run Romcenter in a Windows 10 VM on a Linux host, again, this has never been an issue.
- The DAT that I used to get the error in that log is "IBM - PC compatible - Datfile (48267) (2024-07-30 22-31-44).dat".
- My ROM path is on a network share, but this has never given me any other issues.
- I run Romcenter in a Windows 10 VM on a Linux host, again, this has never been an issue.
Re: an item with same key already added
OK, i checked all files, there is nothing that is obviously wrong, so this is something that only Eric can answer via code debugging.
A suggestion i have personally tried in similar cases is to create an empty data folder, add it to RC and add files gradually in it and refresh it in RC. That way you will eventually be able to find the first file that causes the issue. Then remove all files again, put THAT file in the folder first and then keep adding files and refreshing the folder until you find the second file that causes the "duplicate key" issue. Then you can check both of them and perhaps find what's causing the error.
The files you sent in pc-ls.txt are not that many. If you decide to try it out, please let us know, out of curiosity. Perhaps the error can be corrected by manually altering the game zip (or by fixing one game at a time from within RC), regardless of what Eric may find and change in the code...
A suggestion i have personally tried in similar cases is to create an empty data folder, add it to RC and add files gradually in it and refresh it in RC. That way you will eventually be able to find the first file that causes the issue. Then remove all files again, put THAT file in the folder first and then keep adding files and refreshing the folder until you find the second file that causes the "duplicate key" issue. Then you can check both of them and perhaps find what's causing the error.
The files you sent in pc-ls.txt are not that many. If you decide to try it out, please let us know, out of curiosity. Perhaps the error can be corrected by manually altering the game zip (or by fixing one game at a time from within RC), regardless of what Eric may find and change in the code...
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
Many thanks for having a look. I just tried again, recreated the DB and added a ROM path that was completely empty and still got the error. This leads me to believe it's an issue with the DAT.
Re: an item with same key already added
OK, that's strange. When you posted the dat, i performed a similar task but with a folder with files from an emulator, which was not empty. The folder appeared normally, with all its contents gray of course, since they were not relevant to the dat.
- What version of RC are you using?
- Is there a chance there are hidden files in that rom path? Since you are referring to a linux network path, i checked the pc-ls.txt just in case it contained two files with the same name but different casing, but that was not the case. Unless something hidden exists...
- What version of RC are you using?
- Is there a chance there are hidden files in that rom path? Since you are referring to a linux network path, i checked the pc-ls.txt just in case it contained two files with the same name but different casing, but that was not the case. Unless something hidden exists...
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
How odd. I'm using 4.1.1.51 20201230 which still seems to be the version available on the website. I will try some more tests with a local folder in the VM.
Re: an item with same key already added
Tried again with all local files/folders. Same issue. As soon as I add the empty ROM path I get the dialog box appear about the same key already added.
Re: an item with same key already added
yes, same here tried adding rom folder path the error pops up
Re: an item with same key already added
OK, without touching your existing RC installation, can you try it with this version? Place it in a different folder, run it and then just add the folder and see what happens. If it works, try backing up your roms and test it further.
Remember, it's still a beta version, could have serious bugs...
Remember, it's still a beta version, could have serious bugs...
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
same issue the link version that you gave
Re: an item with same key already added
Hmmm, strange. Well, i guess it's one of the things Eric must take a look at, to understand what's going on.
Do you perhaps have a similar setup to what Melluish has described?
@bototin
Do you perhaps have a similar setup to what Melluish has described?
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
yes same issue with Melluish
Re: an item with same key already added
I'm not asking about the issue, i'm asking if you also have a Windows VM on a Linux host and run RC from there.
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
Re: an item with same key already added
nope, I'm just using my local pc on windows
Re: an item with same key already added
Very strange...
Eric? Any ideas?
- Wanderer -
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
RomCenter: Main site, Bug reporting & enhancement requests, Wiki
RCDBManager: Main site, Bug reporting & enhancement requests, Wiki
"An item with the same key has already been added""
Hello guys... I've been having a problem with the RomCenter 4.1.1
I'm trying to verify some PC games images (iso / bin - cue) formats...
I got the .dat file from Redump.org, at the time is the IBM - PC compatible - Datfile (48805) (2024-08-30 14-33-48)
Since the dat itself is on .DAT format, the RomCenter "convert" to .RDT
At this point NO PROBLEM... but WHEN I add the "games folder" I receive a errror message
"Error "An item with the same key has already been added" and I CAN'T add the game folder to verify the games images.
Someone could help ?
I'm trying to verify some PC games images (iso / bin - cue) formats...
I got the .dat file from Redump.org, at the time is the IBM - PC compatible - Datfile (48805) (2024-08-30 14-33-48)
Since the dat itself is on .DAT format, the RomCenter "convert" to .RDT
At this point NO PROBLEM... but WHEN I add the "games folder" I receive a errror message
"Error "An item with the same key has already been added" and I CAN'T add the game folder to verify the games images.
Someone could help ?