Git Product home page Git Product logo

Comments (12)

nitreojs avatar nitreojs commented on July 28, 2024

ой ватафак а почему оно вообще билдилось тогда...

from puregram.

nitreojs avatar nitreojs commented on July 28, 2024

image

панятна

from puregram.

nitreojs avatar nitreojs commented on July 28, 2024

get message.forwardOrigin will throw error

я forwardOrigin нигде не использую

не очень понял а как ты ошибку то затриггерил? есть minimal reproducible code?

from puregram.

nitreojs avatar nitreojs commented on July 28, 2024

я выкатил как отдельный коммит но пока что без новой версии, надо понять как ты затриггерил это

from puregram.

AlexOwl avatar AlexOwl commented on July 28, 2024

Мне в чат прилетело это (бот в чате юзается). Туда прислали сообщ с другого канала, в стэке ошибки есть memoizeGetters где вызвался геттер forwardOrigin и от этого крашилось. Где именно memoizeGetters вызывался не смог посмотреть, вероятно в каком-то лупе.

from puregram.

nitreojs avatar nitreojs commented on July 28, 2024

@AlexOwl фулл трейсбек не сможешь достать, да?

from puregram.

AlexOwl avatar AlexOwl commented on July 28, 2024

По нему непонятно

unexpected uncaugh error #7899 Error: TypeError: Cannot read properties of undefined (reading 'type')

at Message.get forwardOrigin (/app/node_modules/puregram/lib/common/structures/message.js:102:33)

at Message.get [as forwardOrigin] (/app/node_modules/puregram/lib/utils/helpers.js:151:33)

at serialize (/app/node_modules/inspectable/lib/index.js:36:37)

at Message.value (/app/node_modules/inspectable/lib/index.js:18:29)

at formatValue (node:internal/util/inspect:805:19)

at formatProperty (node:internal/util/inspect:1926:11)

at formatRaw (node:internal/util/inspect:1054:9)

at formatValue (node:internal/util/inspect:840:10)

at Object.inspect (node:internal/util/inspect:364:10)

at Object.inspect (/app/node_modules/inspectable/lib/index.js:12:34)

from puregram.

AlexOwl avatar AlexOwl commented on July 28, 2024
This is caused by either a bug in Node.js or incorrect usage of Node.js internals.

Please open an issue with this stack trace at https://github.com/nodejs/node/issues

at new NodeError (node:internal/errors:405:5)

at Function.fail (node:internal/assert:20:9)

at handleMaxCallStackSize (node:internal/util/inspect:1556:10)

at formatRaw (node:internal/util/inspect:1062:12)

at formatValue (node:internal/util/inspect:840:10)

at Object.inspect (node:internal/util/inspect:364:10)

at Object.inspect (/app/node_modules/inspectable/lib/index.js:12:34)

at stringify (/app/node_modules/inspectable/lib/index.js:5:153)

at MessageContext.value (/app/node_modules/inspectable/lib/index.js:19:20)

at formatValue (node:internal/util/inspect:805:19) {

code: 'ERR_INTERNAL_ASSERTION'

}

Error: TypeError: Cannot read properties of undefined (reading 'type')

at Message.get forwardOrigin (/app/node_modules/puregram/lib/common/structures/message.js:102:33)

at Message.get [as forwardOrigin] (/app/node_modules/puregram/lib/utils/helpers.js:151:33)

at serialize (/app/node_modules/inspectable/lib/index.js:36:37)

at Message.value (/app/node_modules/inspectable/lib/index.js:18:29)

at formatValue (node:internal/util/inspect:805:19)

at formatProperty (node:internal/util/inspect:1926:11)

at formatRaw (node:internal/util/inspect:1054:9)

at formatValue (node:internal/util/inspect:840:10)

at Object.inspect (node:internal/util/inspect:364:10)

at Object.inspect (/app/node_modules/inspectable/lib/index.js:12:34)

This is caused by either a bug in Node.js or incorrect usage of Node.js internals.

Please open an issue with this stack trace at https://github.com/nodejs/node/issues

at new NodeError (node:internal/errors:405:5)

at Function.fail (node:internal/assert:20:9)

at handleMaxCallStackSize (node:internal/util/inspect:1556:10)

at formatRaw (node:internal/util/inspect:1062:12)

at formatValue (node:internal/util/inspect:840:10)

at Object.inspect (node:internal/util/inspect:364:10)

at Object.inspect (/app/node_modules/inspectable/lib/index.js:12:34)

at stringify (/app/node_modules/inspectable/lib/index.js:5:153)

at MessageContext.value (/app/node_modules/inspectable/lib/index.js:19:20)

at formatValue (node:internal/util/inspect:805:19)

 

>  NX   Successfully ran target serve for project

продолжение

from puregram.

AlexOwl avatar AlexOwl commented on July 28, 2024

После вот этого упало

puregram:updates:handleUpdate update payload: {"message_id":***,"from":{"id":***,"is_bot":false,"first_name":"***","username":"***"},"chat":{"id":***,"title":"***","type":"supergroup"},"date":***,"message_thread_id":***,"reply_to_message":{"message_id":**,"from":{"id":***,"is_bot":false,"first_name":"***","last_name":"***","username":"***","is_premium":true},"chat":{"id":***,"title":"***","type":"supergroup"},"date":***,"forward_origin":{"type":"channel","chat":{"id":***,"title":"***","username":"***","type":"channel"},"message_id":***,"date":***},"forward_from_chat":{"id":***,"title":"***","username":"***","type":"channel"},"forward_from_message_id":***,"forward_date":***,"photo":[{"file_id":"***","file_unique_id":"***","file_size":***,"width":67,"height":90},{"file_id":"***","file_unique_id":"***","file_size":***,"width":240,"height":320},{"file_id":"***","file_unique_id":"***","file_size":***,"width":600,"height":800},{"file_id":"***","file_unique_id":"***","file_size":***,"width":960,"height":1280}],"caption":"***","caption_entities"](***;:[{"offset":27,"length":32,"type":"url"}]},"text":"***"}

from puregram.

nitreojs avatar nitreojs commented on July 28, 2024

good с утра погляжу

from puregram.

nitreojs avatar nitreojs commented on July 28, 2024

надеюсь что тот possible fix на самом деле fix, не очень понимаю как мне потестить прям нормально

from puregram.

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.