Uploading contacts CSV format

Moderator: areski

Uploading contacts CSV format

Postby oscargim » Sat Aug 11, 2012 3:53 am

I have my phone list in xls format by columns and when I select some numbers column copy and paste into a new sheet and save it so CSV the when upload importer on newfies says "alert invalid value please see the import samples"



How can I import my phone list that have like this (just import the numbers):

eg.

002144552365
001445523655
002547852145
003326456749
005454612651
004612662626


in numers.txt


I tried a lot of ways buy nothing.. can you put a little example about how CSV file content showld be?? ( I only have numbers, no name, email, and other fields)


Thanks
oscargim
 
Posts: 11
Joined: Tue Aug 07, 2012 8:11 am

Re: Uploading contacts CSV format

Postby oscargim » Sat Aug 11, 2012 10:28 pm

Guess I have a Python miss configuration I get this from /var/log/newfies/err-apache-newfies.log



[Sat Aug 11 19:02:46 2012] [error] /usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/tastypie/resources.py:323: UserWarning: 'override_urls' is a deprecated method & will be removed by v1.0.$
[Sat Aug 11 19:02:46 2012] [error] warnings.warn("'override_urls' is a deprecated method & will be removed by v1.0.0. Please rename your method to ``prepend_urls``.")
[Sat Aug 11 19:02:46 2012] [error] /usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/tastypie/api.py:82: UserWarning: 'override_urls' is a deprecated method & will be removed by v1.0.0. Plea$
[Sat Aug 11 19:02:46 2012] [error] warnings.warn("'override_urls' is a deprecated method & will be removed by v1.0.0. Please use ``prepend_urls`` instead.")
[Sat Aug 11 19:20:46 2012] [error] Exception KeyError: KeyError(140118304667616,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Sat Aug 11 19:22:12 2012] [error] /usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STAT$
[Sat Aug 11 19:22:12 2012] [error] "use STATIC_URL instead.", DeprecationWarning)
[Sat Aug 11 19:22:14 2012] [error] /usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't$
[Sat Aug 11 19:22:14 2012] [error] DeprecationWarning)
[Sat Aug 11 19:22:15 2012] [error] /usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/celery/decorators.py:34: CDeprecationWarning:
[Sat Aug 11 19:22:15 2012] [error] The `celery.decorators` module along with the magic keyword arguments,
[Sat Aug 11 19:22:15 2012] [error] are deprecated, and will be removed in version 3.0.
[Sat Aug 11 19:22:15 2012] [error]
[Sat Aug 11 19:22:15 2012] [error] Please use the `celery.task` module instead of `celery.decorators`,
[Sat Aug 11 19:22:15 2012] [error] and the `task.request` should be used instead of the magic keyword arguments:
[Sat Aug 11 19:22:15 2012] [error]
[Sat Aug 11 19:22:15 2012] [error] from celery.task import task
[Sat Aug 11 19:22:15 2012] [error]
[Sat Aug 11 19:22:15 2012] [error] See http://bit.ly/celery22major for more information.
[Sat Aug 11 19:22:15 2012] [error]
[Sat Aug 11 19:22:15 2012] [error]
[Sat Aug 11 19:22:15 2012] [error] """))
[Sat Aug 11 19:22:17 2012] [error] /usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/tastypie/resources.py:323: UserWarning: 'override_urls' is a deprecated method & will be removed by v1.0.$
[Sat Aug 11 19:22:17 2012] [error] warnings.warn("'override_urls' is a deprecated method & will be removed by v1.0.0. Please rename your method to ``prepend_urls``.")
[Sat Aug 11 19:22:17 2012] [error] /usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/tastypie/api.py:82: UserWarning: 'override_urls' is a deprecated method & will be removed by v1.0.0. Plea$
[Sat Aug 11 19:22:17 2012] [error] warnings.warn("'override_urls' is a deprecated method & will be removed by v1.0.0. Please use ``prepend_urls`` instead.")
oscargim
 
Posts: 11
Joined: Tue Aug 07, 2012 8:11 am

Re: Uploading contacts CSV format

Postby areski » Mon Aug 13, 2012 12:07 pm

Hi,

Here an example how the file should look like :
https://github.com/Star2Billing/newfies ... act_10.txt
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Uploading contacts CSV format

Postby oscargim » Tue Aug 14, 2012 6:58 pm

Thanks areski with that example the numbers are imported correctly! so I guess is not relative to the python error Im having..

But in my case I have only numbers on my CSV file.. is there a way to upload just the numbers? Or I have to complete all the fields to make it.

Thanks again
oscargim
 
Posts: 11
Joined: Tue Aug 07, 2012 8:11 am

Re: Uploading contacts CSV format

Postby areski » Tue Aug 14, 2012 8:01 pm

Not for the moment, but with some code changes this should be possible.
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 19 guests

cron