500 Internal Server Error Contact upload Beta 2.0

Moderator: areski

500 Internal Server Error Contact upload Beta 2.0

Postby fintech » Wed Feb 20, 2013 6:27 am

500 Internal Server Error Contact upload Beta 2.0. I just installed beta 2.0 and cannot upload a contact list. My test csv list works in a 1.5 test system. Do I need to enable something on the webserver to allow upload? I'm running the lastest version of Ubuntu.
fintech
 
Posts: 18
Joined: Mon Feb 18, 2013 12:23 am
Location: Newport Beach, CA

Re: 500 Internal Server Error Contact upload Beta 2.0

Postby areski » Wed Feb 20, 2013 8:37 am

When you can an 500 error, I would advice to refer to the troubleshooting documentation.
http://docs.newfies-dialer.org/en/lates ... oting.html

Checking the logs you will be able to report us the error.

Note that format for import in V2 changed
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: 500 Internal Server Error Contact upload Beta 2.0

Postby fintech » Wed Feb 20, 2013 4:11 pm

I noticed the use of | or pipes. I tried a pipes csv same problem. I will look at the logs.
fintech
 
Posts: 18
Joined: Mon Feb 18, 2013 12:23 am
Location: Newport Beach, CA

Re: 500 Internal Server Error Contact upload Beta 2.0

Postby areski » Wed Feb 20, 2013 4:19 pm

Yes we added a new features to add json into one of the field, so we need to restrict on the coma use
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: 500 Internal Server Error Contact upload Beta 2.0

Postby fintech » Wed Feb 20, 2013 4:29 pm

I'm not sure if my list is bad.

IndexError: list index out of range
ERROR 2013-02-19 22:13:02,475 base 1184 140190239545088 Internal Server Error: /contact/import/
Traceback (most recent call last):
File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/usr/share/newfies/dialer_contact/views.py", line 588, in contact_import
if not int(row[5]):
ValueError: invalid literal for int() with base 10: 'Status'
ERROR 2013-02-19 22:14:07,779 base 1184 140190239545088 Internal Server Error: /contact/import/
Traceback (most recent call last):
File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/usr/share/newfies/dialer_contact/views.py", line 588, in contact_import
if not int(row[5]):
ValueError: invalid literal for int() with base 10: 'Status'
ERROR 2013-02-19 22:14:14,996 base 1182 140190239545088 Internal Server Error: /contact/import/
Traceback (most recent call last):
File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/usr/share/newfies/dialer_contact/views.py", line 588, in contact_import
if not int(row[5]):
ValueError: invalid literal for int() with base 10: 'Status'
ERROR 2013-02-19 22:17:37,756 base 1183 140190239545088 Internal Server Error: /contact/import/
Traceback (most recent call last):
File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/virtualenvs/newfies-dialer/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/usr/share/newfies/dialer_contact/views.py", line 588, in contact_import
if not int(row[5]):
IndexError: list index out of range
fintech
 
Posts: 18
Joined: Mon Feb 18, 2013 12:23 am
Location: Newport Beach, CA

Re: 500 Internal Server Error Contact upload Beta 2.0

Postby fintech » Wed Feb 20, 2013 4:42 pm

Do you have a sample list for beta 2.0?
fintech
 
Posts: 18
Joined: Mon Feb 18, 2013 12:23 am
Location: Newport Beach, CA

Re: 500 Internal Server Error Contact upload Beta 2.0

Postby areski » Wed Feb 20, 2013 4:46 pm

This should work :
https://github.com/Star2Billing/newfies ... act_10.txt

Can you send me your file ?
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: 500 Internal Server Error Contact upload Beta 2.0

Postby fintech » Wed Feb 20, 2013 5:15 pm

Your test list worked, I will compare formats later when I get back to the office.
fintech
 
Posts: 18
Joined: Mon Feb 18, 2013 12:23 am
Location: Newport Beach, CA

Re: 500 Internal Server Error Contact upload Beta 2.0

Postby fintech » Thu Feb 21, 2013 12:18 am

Now I'm working a limit upload size limit Get a 413 error anything over 1MB. I think I will try the /etc/nginx/nginx.conf and fix the file upload size.
fintech
 
Posts: 18
Joined: Mon Feb 18, 2013 12:23 am
Location: Newport Beach, CA


Return to Installation

Who is online

Users browsing this forum: No registered users and 12 guests

cron