telegram-bot icon indicating copy to clipboard operation
telegram-bot copied to clipboard

error of lua files not found

Open rashamalek opened this issue 10 years ago • 4 comments

Hi, After installing it on a centos 6.6, I`ve faced the followin issues

[root@vpn-server telegram-bot]# ./launch.sh Telegram-cli version 1.3.3, Copyright (C) 2013-2015 Vitaly Valtman Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type show_license'. This is free software, and you are welcome to redistribute it under certain conditions; typeshow_license' for details. Telegram-cli uses libtgl version 2.0.3 Telegram-cli includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/) Telegram-cli uses libpython version 2.6.6 I: config dir=[/home/telegramd/.telegram-cli] *** lua: .///bot/utils.lua:1: module 'socket.url' not found: no field package.preload['socket.url'] no file './socket/url.lua' no file '/usr/share/lua/5.1/socket/url.lua' no file '/usr/share/lua/5.1/socket/url/init.lua' no file '/usr/lib64/lua/5.1/socket/url.lua' no file '/usr/lib64/lua/5.1/socket/url/init.lua' no file '.luarocks/share/lua/5.2/socket/url.lua' no file '.luarocks/share/lua/5.2/socket/url/init.lua' no file './socket/url.so' no file '/usr/lib64/lua/5.1/socket/url.so' no file '/usr/lib64/lua/5.1/loadall.so' no file '.luarocks/lib/lua/5.2/socket/url.so' no file './socket.so' no file '/usr/lib64/lua/5.1/socket.so' no file '/usr/lib64/lua/5.1/loadall.so' no file '.luarocks/lib/lua/5.2/socket.so'

The Following Lua Packages are installed on the system, lua-expat-1.3.0-1.el6.x86_64 lua-5.1.4-4.1.el6.x86_64 lua-socket-devel-3.0-0.10.rc1.el6.x86_64 lua-devel-5.1.4-4.1.el6.x86_64 lua-socket-3.0-0.10.rc1.el6.x86_64

Would you please help

rashamalek avatar Jul 07 '15 11:07 rashamalek

Same error here

ItsOnlyMeNL avatar Aug 13 '15 00:08 ItsOnlyMeNL

You seem to have a messy lua installation. Check your installed lua versions, you should have v5.2 only.

voiser avatar Aug 13 '15 05:08 voiser

@amirrasha Did you solve it? I'm facing the same issue. I'm using CentOS.

msmosso avatar Jan 30 '16 02:01 msmosso

How to solve this?

bottest123 avatar Oct 09 '18 14:10 bottest123