Page 1 of 1

New Installation with v2.3 - Call drop error

PostPosted: Tue May 21, 2013 9:05 am
by aynema
I just ran a new installation and had an issue with calls dropping after answering with the following error.
Code: Select all
mod_lua.cpp:198 /usr/local/share/lua/5.1/json/decode.lua:5: module 'lpeg' not found:]


I managed to fix it by manually installing these packages.
Code: Select all
liblua5.1-lpeg-dev
liblua5.1-lpeg

I'm not sure if liblua5.1-lpeg-dev is actually needed though.

Re: New Installation with v2.3 - Call drop error

PostPosted: Tue May 21, 2013 9:11 am
by areski
This is part of our installation :

Code: Select all
   
    luarocks remove lpeg --force
    luarocks install http://luarocks.org/repositories/rocks/lpeg-0.10.2-1.rockspec


Maybe during the installation you had an issue to resolve to luarocks.org.

Re: New Installation with v2.3 - Call drop error

PostPosted: Tue May 21, 2013 9:38 am
by aynema
Apparently there is an issue there at the moment.
Code: Select all
Last login: Tue May 21 17:23:52 2013 from dsl-202-72-172-113.wa.westnet.com.au
root@LR-VOIP02:~# luarocks remove lpeg --force

Error: Could not find rock 'lpeg' in local tree.
root@LR-VOIP02:~#     luarocks install http://luarocks.org/repositories/rocks/lpeg-0.10.2-1.rockspec
Using http://luarocks.org/repositories/rocks/lpeg-0.10.2-1.rockspec... switching to 'build' mode

Error: Error fetching file: Failed downloading http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-0.10.2.tar.gz - Host name lookup failure

Re: New Installation with v2.3 - Call drop error

PostPosted: Tue May 21, 2013 9:49 am
by areski
I have no issue from here (Spain)

Re: New Installation with v2.3 - Call drop error

PostPosted: Wed May 22, 2013 6:43 am
by aynema
Interesting the DNS Host on the Hosted server I'm configuring on can't find that host but my my home dns can.
Are there any other packages installed from that host at all?

I'm just wondering if anything else was missed in the install.

Re: New Installation with v2.3 - Call drop error

PostPosted: Wed May 22, 2013 8:58 am
by areski
I would advice to read the install script

Re: New Installation with v2.3 - Call drop error

PostPosted: Thu May 23, 2013 5:18 am
by aynema
Okay apparently the Hosting provider has a routing issue to that site so I've had to manually pull across the files to get that bit to install.


I'm also having a problem exporting Survey's out.
Code: Select all
root@LR-VOIP02:/var/log/newfies# tail -f newfies-django.log
Traceback (most recent call last):
  File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/
    return view_func(request, *args, **kwargs)
  File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/
    return view_func(request, *args, **kwargs)
  File "/usr/share/newfies/survey/views.py", line 1169, in export_survey
    writer = csv.writer(response, delimiter='|', lineterminator='\n',)
NameError: global name 'csv' is not defined

Re: New Installation with v2.3 - Call drop error

PostPosted: Thu May 23, 2013 8:32 am
by areski
We already fixed this issue in our development version, it will be released with the next release.

Re: New Installation with v2.3 - Call drop error

PostPosted: Thu May 23, 2013 9:04 am
by aynema
When is that release out?

Re: New Installation with v2.3 - Call drop error

PostPosted: Thu May 23, 2013 10:42 am
by areski
It will be announced when we release it ;)