Phonebook issue

Moderator: areski

Phonebook issue

Postby hhaq » Tue Jul 31, 2012 8:38 am

When i am trying to upload a csv file i am getting an error "You've encountered an error!" . I have perfectly followed sample csv file. Can you advice please.


H.Haq
hhaq
 
Posts: 12
Joined: Wed Mar 07, 2012 10:37 am

Re: Phonebook issue

Postby areski » Tue Jul 31, 2012 2:29 pm

Hi,

When you get this type of error it might help to follow this :
www.newfies-dialer.org/docs/en/latest/h ... -the-debug

Enable the debug
When you get a message “Server Error, You’ve encountered an error!”, you might want to enable the debugger to get a full traceback of the error.

To enable the debugger, edit the file /usr/share/newfies-dialer/settings_local.py and set those settings as follow:

DEBUG = True
TEMPLATE_DEBUG = DEBUG
Note that you should be able to get the traceback in /var/log/newfies/err-apache-
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Phonebook issue

Postby hhaq » Tue Jul 31, 2012 8:31 pm

after running the debug we are having this error

[Sun Jul 29 18:16:00 2012] [error] [client 72.249.184.21] File does not exist: /usr/share/newfies/static/admin/img/admin, referer: http://103.4.146.221:8008/adm in/dialer_campaign/campaign/add/


H.Haq
hhaq
 
Posts: 12
Joined: Wed Mar 07, 2012 10:37 am

Re: Phonebook issue

Postby areski » Tue Jul 31, 2012 8:52 pm

Running the debug should not stop the error it will show on the web interface details about it, which you can then easily past to us.

Remember to restart apache after that
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Phonebook issue

Postby hhaq » Tue Jul 31, 2012 8:54 pm

global name 'striplist' is not defined

Request Method: POST
Request URL: http://103.4.146.221:8008/admin/dialer_ ... t_contact/
Django Version: 1.4
Exception Type: NameError
Exception Value:

global name 'striplist' is not defined

Exception Location: /usr/share/newfies/dialer_campaign/admin.py in import_contact, line 215
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:

['/usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages',
'/usr/share/virtualenvs/newfies-dialer/lib/python2.7/site-packages',
'/usr/local/lib/python2.7/dist-packages/virtualenv-1.7.2-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/pip-1.1-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/virtualenvwrapper-3.5-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/virtualenv_clone-0.2.4-py2.7.egg',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr',
'/usr/share',
'/usr/share/newfies']

Server time: Wed, 1 Aug 2012 02:52:05 +0600
hhaq
 
Posts: 12
Joined: Wed Mar 07, 2012 10:37 am

Re: Phonebook issue

Postby areski » Tue Jul 31, 2012 9:42 pm

Hi,

I just made an hotfix to solve this bug and I released version 1.5.2.
If you reinstall it, you should be good!

Yours,
/Areski
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 94 guests

cron