andrew-codes / playnite-web

Self-hosted Playnite companion web app; offering remote control, automation and sharing your library with friends.
GNU Affero General Public License v3.0
30 stars 7 forks source link

ERR BSONError: Invalid UTF-8 string in BSON document #522

Closed andrew-codes closed 1 month ago

andrew-codes commented 2 months ago

Seeing an error after syncing when trying to load the game library.

ERR BSONError: Invalid UTF-8 string in BSON document
    at parseUtf8 (/opt/playnite-web-app/node_modules/bson/lib/bson.cjs:148:19)
    at Object.toUTF8 (/opt/playnite-web-app/node_modules/bson/lib/bson.cjs:273:21)
    at deserializeObject (/opt/playnite-web-app/node_modules/bson/lib/bson.cjs:2952:31)
    at internalDeserialize (/opt/playnite-web-app/node_modules/bson/lib/bson.cjs:2863:12)
    at Object.deserialize (/opt/playnite-web-app/node_modules/bson/lib/bson.cjs:4335:12)
    at OnDemandDocument.toObject (/opt/playnite-web-app/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js:208:28)
    at CursorResponse.shift (/opt/playnite-web-app/node_modules/mongodb/lib/cmap/wire_protocol/responses.js:207:35)
    at FindCursor.next (/opt/playnite-web-app/node_modules/mongodb/lib/cursor/abstract_cursor.js:222:41)
    at [Symbol.asyncIterator] (/opt/playnite-web-app/node_modules/mongodb/lib/cursor/abstract_cursor.js:159:45)
    at AsyncGenerator.next (<anonymous>) {
  path: [ 'games' ],
  locations: [ { line: 2, column: 3 } ],
  extensions: [Object: null prototype] {}
}
andrew-codes commented 2 months ago

Tracking with #527

github-actions[bot] commented 1 month ago

:tada: This issue has been resolved in version 6.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: