← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 429896] Re: valid path for scripts

 

I do not have any information to why you write the code ignores the
parameters specified in the configuration files and trying to go to the
directory where you store binary files for downloading scripts.

-- 
valid path for scripts
https://bugs.launchpad.net/bugs/429896
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.

Status in ADCH++: Incomplete

Bug description:
$ strace -o strace-which-output.txt ./adchppd 

getcwd("/usr/src/soft/adchpp/build/debug-default/bin"..., 4096) = 45
chdir("Scripts/")                       = -1 ENOENT (No such file or directory)
open("access.lua", O_RDONLY)            = -1 ENOENT (No such file or directory)

in log 

2009-09-15 11:45:58: adchpp: ADCH++ v2.2.0 (r199) Debug starting from console
2009-09-15 11:45:58: SocketManager: Starting
2009-09-15 11:45:58: ScriptManager: Starting
2009-09-15 11:45:58: LuaScript: Error loading file: cannot open access.lua: Нет такого файла или каталога
2009-09-15 11:45:58: PluginManager: Script.so loaded
2009-09-15 11:45:58: BloomManager: Starting
2009-09-15 11:45:58: PluginManager: Bloom.so loaded


path for script mast be "../plugins/Script/"