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

ERROR: TypeCannot read properties of undefined (reading 'getRomsWithFiles') #473

Closed
dixius99 opened this issue Jul 10, 2023 · 3 comments · Fixed by #475
Closed

ERROR: TypeCannot read properties of undefined (reading 'getRomsWithFiles') #473

dixius99 opened this issue Jul 10, 2023 · 3 comments · Fixed by #475
Assignees
Labels
bug A confirmed issues that needs fixing

Comments

@dixius99
Copy link

Paste the command

npx igir@latest report --dat /Users/michael/Downloads/MAME_Dats_256/DATs/MAME\ 0.256.dat --input /Users/michael/Documents/Emulator\ Data/MAME/roms

Describe the bug

I just tried to run a report for my MAME ROMs, and while it seems to scan for DATs and ROMs okay, when generating the report, I get the error in the title.

✓ Scanning for DATs ············ | 1 unique DAT found
✓ Scanning for ROMs ············ | 12,032 unique ROMs found
✓ Detecting ROM headers ········ | 12,032 ROMs processed
✓ MAME ························· | 6,355/43,920 games, 7/75 BIOSes, 6,355/43,920 retail releases fod
✎ Generating report ············ | ░░░░░░░░░░░░░░░░░░░░░░░░░
ERROR: TypeCannot read properties of undefined (reading 'getRomsWithFiles')

I'm pretty sure this is something I'm doing wrong, vs. an actual bug, but not sure what to do to get the report.

Expected behavior

The command executes without an error and I can access the report.

Debug logs

debug.txt

igir version

1.6.6

Node.js version

20.4.0

Operating system

macOS 13.4.1 (22F82)

Additional context

No response

@dixius99 dixius99 added the potential-bug A potential issue that needs confirmation and/or triage label Jul 10, 2023
@emmercm
Copy link
Owner

emmercm commented Jul 12, 2023

Highly likely this is a bug with the code, maybe with the new MAME code from v1.6.6. I might not get a chance to dig in depth this week, but I will soon!

@emmercm
Copy link
Owner

emmercm commented Jul 12, 2023

Confirmed this behavior with the same progetto-SNAPS DAT.

@emmercm emmercm added bug A confirmed issues that needs fixing and removed potential-bug A potential issue that needs confirmation and/or triage labels Jul 12, 2023
@github-actions
Copy link

🔒 Inactive issue lock

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug A confirmed issues that needs fixing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants