Git Product home page Git Product logo

Comments (17)

Terasol avatar Terasol commented on June 27, 2024 1

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

from steamgriddb-manager.

kongomongo avatar kongomongo commented on June 27, 2024
[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?

from steamgriddb-manager.

Juanitocancino avatar Juanitocancino commented on June 27, 2024
[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 ()
at file:///C:/Program%20Files/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356

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.

from steamgriddb-manager.

kongomongo avatar kongomongo commented on June 27, 2024

Sorry but could you get me the lines surrounding

C:/Program%20Files/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356 ?

from steamgriddb-manager.

Juanitocancino avatar Juanitocancino commented on June 27, 2024

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

log.log

from steamgriddb-manager.

kongomongo avatar kongomongo commented on June 27, 2024

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?

from steamgriddb-manager.

Juanitocancino avatar Juanitocancino commented on June 27, 2024

Sorry

If i open the file with atom app.asar/public/bundle.js is completed empty
appassar

but if i open the file with notepad++ it gave me code. i attached the requested lines in a txt (70:41356).

appasar as txt.txt

This is what you need?

from steamgriddb-manager.

kongomongo avatar kongomongo commented on June 27, 2024

Unfortunately I can't seem to find the referenced line (70:41356) in your attached file... scratching head

from steamgriddb-manager.

Juanitocancino avatar Juanitocancino commented on June 27, 2024

@kongomongo I have uploaded the file (app.asar) to Mega so you can check it (Maybe i'm not opening correctly)

MEGA Link

from steamgriddb-manager.

isaakfawkes avatar isaakfawkes commented on June 27, 2024

i just started experiencing this error today

from steamgriddb-manager.

kongomongo avatar kongomongo commented on June 27, 2024

@kongomongo I have uploaded the file (app.asar) to Mega so you can check it (Maybe i'm not opening correctly)

MEGA Link

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 :(

from steamgriddb-manager.

WyntrHeart avatar WyntrHeart commented on June 27, 2024

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.

from steamgriddb-manager.

Juanitocancino avatar Juanitocancino commented on June 27, 2024

@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)

bundle.js.txt

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

from steamgriddb-manager.

Madcore avatar Madcore commented on June 27, 2024

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.

from steamgriddb-manager.

WyntrHeart avatar WyntrHeart commented on June 27, 2024

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.

from steamgriddb-manager.

Juanitocancino avatar Juanitocancino commented on June 27, 2024

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:
image
image
image

It also load the Other games:
image

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");

from steamgriddb-manager.

kongomongo avatar kongomongo commented on June 27, 2024

If that's truly the cause (I don't use beta steam, whats the benefit?). Only a patch will help

from steamgriddb-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.