TRIGONIM / ggram

🤖 Lua library for the Telegram bot API. You can even use it in Garry's Mod
https://trigonim.github.io/ggram/
MIT License
22 stars 1 forks source link

Couldn't include file 'includes/modules/gmod/table.lua' #4

Closed AntyBD closed 2 months ago

AntyBD commented 10 months ago
[ggram] Couldn't include file 'includes/modules/copas.lua' - File not found or is empty (<nowhere>)
  1. pcall - [C]:-1
   2. idle - addons/ggram/lua/ggram.lua:35
    3. unknown - addons/ggram-mod/lua/ggram/bots/legacy/_init.lua:13

2024-01-20 14:43:33 [ggram] Error during request \/
["api_method"]  =       getUpdates
["bot_id"]      =       6571680022
["error"]:
                ["description"] =       Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
                ["error_code"]  =       409
                ["ok"]  =       false
["request_params"]:
                ["offset"]      =       42065145
                ["timeout"]     =       30
ggram: Polling stopped: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
nil
[ggram] middleware error: addons/ggram/lua/ggram/reply.lua:30: attempt to call upvalue 'table_Copy' (a nil value)
stack traceback:
        addons/ggram/lua/ggram/bot.lua:76: in function 'handle_middleware_error'
        addons/ggram/lua/ggram/bot.lua:111: in function <addons/ggram/lua/ggram/bot.lua:108>
nil
[ggram] middleware error: addons/ggram/lua/ggram/reply.lua:30: attempt to call upvalue 'table_Copy' (a nil value)
stack traceback:
        addons/ggram/lua/ggram/bot.lua:76: in function 'handle_middleware_error'
        addons/ggram/lua/ggram/bot.lua:111: in function <addons/ggram/lua/ggram/bot.lua:108>
AMD-NICK commented 9 months ago

Запускаешь в Garry's Mod или в чистом Lua ?

AntyBD commented 9 months ago

В гмоде

AMD-NICK commented 2 months ago

Похоже, связанная тема:

https://github.com/TRIGONIM/ggram/issues/5

AMD-NICK commented 2 months ago

Проверь работу с актуальной версией ggram. Если проблема сохранилась, то пересоздай issue