Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to get smsish working #10

Open
mihirsevak opened this issue Nov 25, 2016 · 0 comments
Open

Not able to get smsish working #10

mihirsevak opened this issue Nov 25, 2016 · 0 comments

Comments

@mihirsevak
Copy link

Hi Ryan,
I am trying to get django-smsish app working in my project. First I am trying to get it working as is on github so I downloaded the source code, installed everything from requirements files as is and when ran runserver I am getting following errors. My pip freeze output looks like below.

Can you advise what am I doing wrong? And how to fix it? I mean url.find is failing so I am pretty clueless.

Thanks.

^C(sms_testing)Mihirs-MacBook-Pro:django-smsish mihir$ pip freeze
Django==1.9.4
Pygments==2.1.3
appnope==0.1.0
backports.shutil-get-terminal-size==1.0.0
click==6.6
coverage==4.0.3
coveralls==1.1
decorator==4.0.10
django-extensions==1.6.1
django-rq==0.9.0
django-smsish==1.3.2
docopt==0.6.2
enum34==1.1.6
httplib2==0.9.2
ipdb==0.9.0
ipython==5.1.0
ipython-genutils==0.1.0
pathlib2==2.1.0
pexpect==4.2.1
pickleshare==0.7.4
prompt-toolkit==1.0.9
ptyprocess==0.5.1
pytz==2016.7
redis==2.10.5
requests==2.12.1
rq==0.7.0
simplegeneric==0.8.1
six==1.10.0
traitlets==4.3.1
twilio==5.4.0
wcwidth==0.1.7
wsgiref==0.1.2
(sms_testing)Mihirs-MacBook-Pro:django-smsish mihir$

Internal Server Error: /django-rq/
Traceback (most recent call last):
File "/Users/mihir/.virtualenvs/sms_testing/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/mihir/.virtualenvs/sms_testing/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/mihir/.virtualenvs/sms_testing/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/Users/mihir/.virtualenvs/sms_testing/lib/python2.7/site-packages/django_rq/views.py", line 26, in stats
queue = get_queue_by_index(index)
File "/Users/mihir/.virtualenvs/sms_testing/lib/python2.7/site-packages/django_rq/queues.py", line 133, in get_queue_by_index
connection=get_redis_connection(config['connection_config']),
File "/Users/mihir/.virtualenvs/sms_testing/lib/python2.7/site-packages/django_rq/queues.py", line 54, in get_redis_connection
return redis_cls.from_url(config['URL'], db=config.get('DB'))
File "/Users/mihir/.virtualenvs/sms_testing/lib/python2.7/site-packages/redis/client.py", line 391, in from_url
connection_pool = ConnectionPool.from_url(url, db=db, **kwargs)
File "/Users/mihir/.virtualenvs/sms_testing/lib/python2.7/site-packages/redis/connection.py", line 774, in from_url
url = urlparse(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urlparse.py", line 143, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urlparse.py", line 182, in urlsplit
i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'
[25/Nov/2016 18:44:31] "GET /django-rq/ HTTP/1.1" 500 95009

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant