Open Juanitocancino opened 3 years ago
[2021-07-03 01:51:44.472] [info] Import: uplay rejected Error: Could not parse YAML
[2021-07-03 01:52:03.220] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at file:///C:/Program%20Files/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356
uplay seems to be the culprit?
[2021-07-03 01:51:44.472] [info] Import: uplay rejected Error: Could not parse YAML [2021-07-03 01:52:03.220] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at file:///C:/Program%20Files/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356
uplay seems to be the culprit?
No, it doesn't seems to be the case. I have cleared out the log and launched "SteamGridDB Manager" (As administrator) and then opened the log. In the log files has the following:
[2021-07-07 12:32:05.067] [info] Started SGDB Manager 0.4.2
[2021-07-07 12:32:05.871] [info] Got Steam path: c:/program files (x86)/steam
[2021-07-07 12:32:05.878] [info] Got Steam user: 81978887
[2021-07-07 12:32:05.883] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object
at Function.keys (
When i go to the import section the following lines are created:
[2021-07-07 12:32:21.524] [info] Import: Started bnet [2021-07-07 12:32:21.565] [info] Import: Completed bnet [2021-07-07 12:32:21.566] [info] Import: Started gog [2021-07-07 12:32:21.717] [info] Import: Completed gog [2021-07-07 12:32:21.719] [info] Import: Started origin [2021-07-07 12:32:22.898] [info] Import: Completed origin [2021-07-07 12:32:22.899] [info] Import: Started uplay [2021-07-07 12:32:23.099] [info] Import: uplay rejected Error: Could not parse YAML
Note: I also forgot to mention that i have multiple Libraries in Steam (At least 2 libraries in differents HDD). I don't know if that could be a problem.
Sorry but could you get me the lines surrounding
C:/Program%20Files/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356
?
Of course there is no problem. (I add numbers to the log here on github)
3 [2021-07-07 12:32:05.878] [info] Got Steam user: 81978887
4 [2021-07-07 12:32:05.883] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object
5 at Function.keys (<anonymous>)
6 at file:///C:/Program%20Files/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356
7 [2021-07-07 12:32:21.524] [info] Import: Started bnet
8 [2021-07-07 12:32:21.565] [info] Import: Completed bnet
i put the new log file here too
err, sorry, i meant can you peek into the file
C:/Program%20Files/SteamGridDB%20Manager/resources/app.asar/public/bundle.js
and copy the lines surrounding 70:41356 where it generates that error?
Sorry
If i open the file with atom app.asar/public/bundle.js
is completed empty
but if i open the file with notepad++ it gave me code. i attached the requested lines in a txt (70:41356).
This is what you need?
Unfortunately I can't seem to find the referenced line (70:41356) in your attached file... scratching head
@kongomongo I have uploaded the file (app.asar) to Mega so you can check it (Maybe i'm not opening correctly)
i just started experiencing this error today
@kongomongo I have uploaded the file (app.asar) to Mega so you can check it (Maybe i'm not opening correctly)
Many thanks for your efforts, but I can't seem to find the relevant portion referenced by the error message.
You will have to setup a debugging environment to find the problem I am afraid :(
I'm having this same issue. I tried reinstalling Manager, reinstalling Steam, and running Manager as admin. Import is fully functional for me, but the library tab just loads indefinitely.
@kongomongo i downloaded the repo and run the command npm install
and then npm run run
the output on my cmd (as administrator) was:
Built at: 07/29/2021 9:51:36 PM Asset Size Chunks Chunk Names bundle.js 3.91 MiB main [emitted] main bundle.js.map 4.38 MiB main [emitted] [dev] main img/39a7c89acf55dcc37e539af6e71110e6.png 9.66 KiB [emitted] img/429837590f91f9204ea2b9f73a6c8db2.png 6.2 KiB [emitted] img/7b0a89fbd8e80944919607edd1e65bfb.png 7.35 KiB [emitted] img/cbecd0dc93ee41852a0edc3d0609facb.png 10.1 KiB [emitted] img/cff4ecd83ba2baaafa4bb4acdf885ebb.png 8.58 KiB [emitted] Entrypoint main = bundle.js bundle.js.map [./node_modules/css-loader/dist/cjs.js!./src/css/App.css] 5.14 KiB {main} [built] [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {main} [built] [./src/css/App.css] 523 bytes {main} [built] [./src/img/capsule_none.png] 62 bytes {main} [built] [./src/img/capsule_vertical_none.png] 62 bytes {main} [built] [./src/img/hero_none.png] 62 bytes {main} [built] [./src/img/uwp-noise.png] 62 bytes {main} [built] [./src/js/App.jsx] 8.57 KiB {main} [built] [./src/js/Components/toastHandler.jsx] 2.88 KiB {main} [built] [./src/js/Game.jsx] 9.05 KiB {main} [built] [./src/js/Import.jsx] 19.4 KiB {main} [built] [./src/js/Search.jsx] 8.13 KiB {main} [built] [./src/js/Steam.js] 18.1 KiB {main} [built] [./src/js/games.jsx] 9.02 KiB {main} [built] [./src/js/index.jsx] 181 bytes {main} [built]
- 502 hidden modules
21:51:36.951 > Started SGDB Manager 0.4.2 Skip checkForUpdatesAndNotify because application is not packed 21:51:38.235 > Got Steam path: c:/program files (x86)/steam 21:51:38.237 > Got Steam user: 81978887 21:51:38.252 > UnhandledRejection TypeError: Cannot convert undefined or null to object at Function.keys (
) at file:///C:/Users/JuanitoCancino/Downloads/2021/07/Zip/steamgriddb-manager-master/steamgriddb-manager-master/public/bundle.js:109503:18
Tracking the error in the file Bundle.js the line 109503 (Object.keys(parsedLibFolders.LibraryFolders).forEach(function (key) {...)
It's inside of a value (for a function maybe, i don't know) i attach a fragment of the code (109490 to 109544)
Hope you can find something. If there is something else i can do let me know
Edit:
Analyzing the code seems to be with something with the Steam-Libraries I have five different directories (4 with games and one that is empty) with the letters C, E, F, G and H (This one is sometimes empty with 0 games is a portable HDD) I connected my HDD to make all my libraries have games... but it gave the same error
I stumbled on this issue some days ago and have some inside on this. this currently occurs when switching from stable steam to the steam beta. (changing back to the stable steam client doesnt seem to revert that) the problem is, that the content structure of the "libraryfolders.vdf" has changed slightly. accessing the paths for the additional libraries now needs libraryfolders[key].path instead of LibraryFolders[key]
added an example for the new structure, if you are still on the stable steam client. libraryfolders.vdf
Can confirm what @Terasol said. Until I changed from stable steam to beta, everything worked fine. After the change, and even rolling back to stable, the manager stopped loading library. Looks like Valve changed how the library is managed in some way, because when I returned to stable, I had to reassign the library folders, because steam remove them from library and though I haven't installed anything.
Steam Beta is definitely not the only cause for this problem. The machine which I'm having this problem on is brand new and has only ever had stable Steam installed on it.
Seems that the error radicates on the function Keys
... I Force the program to load only one library (marking has comment the error part (Line 109503 - 109509) an putting a string in the line 109501 (libraries.push("G:\\ADATA_SSD"); // Add library folders from libraryfolders.vdf
).
After doing that the program load my 23 games inside that library and can change the images of a game:
It also load the Other games:
Note: i change to the beta client a long ago (the last month i returned to the stable version... But when i read the news of the new disc manager in steam change again to the beta channel) and the libraryfolders.vdf
that were provided by @Terasol have the same structure has mine (Even i am on the beta client)
Edit
If i change the value on the line 109501 and comment the lines 109503 - 109509 It detects the games inside the library
Examples:
libraries.push("C:\\Program Files (x86)\\Steam");
libraries.push("E:\\Juegos");
If that's truly the cause (I don't use beta steam, whats the benefit?). Only a patch will help
Describe the bug Infinite loading when i start the program, the program let me import games from GOG, Origin and Battlenet Similar con Issue #123. But the log file that i prove here is more compact (A new and fresh installation)
To Reproduce 1.-Install "SteamGridDB Manager" for all users (C:/Program Files/SteamGridDB Manager) -This also happened in for the other option (For only one user)
Expected behavior Program Starts, but the first loading never stop scanning. If i change to Import it detect the games and let me import games but if i change to Library it get stuck in the infinite loop again.
Operating System
Installed Launchers
Screenshots
Log log.log
Additional context -Nothing to report