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

Exception thrown when I try to crawl only one URL #703

Open
saloneerege opened this issue Oct 11, 2015 · 2 comments
Open

Exception thrown when I try to crawl only one URL #703

saloneerege opened this issue Oct 11, 2015 · 2 comments

Comments

@saloneerege
Copy link

Exception Type: MultiValueDictKeyError at /projects/crawling/
Exception Value: "'action'"
I am trying to crawl only one URL
http://www.cheaperthandirt.com

@brittainhard
Copy link
Contributor

Do you have the fill traceback for this?

@saloneerege
Copy link
Author

Environment:

Request Method: POST
Request URL: http://localhost:8000/projects/crawling/

Django Version: 1.7.3
Python Version: 2.7.8
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'crispy_forms',
'base',
'task_manager',
'rest_framework',
'apps.crawl_space',
'debug_toolbar')
Installed Middleware:
(u'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:
File "/home/salonee/miniconda3/envs/memex/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

response = wrapped_callback(request, callback_args, *callback_kwargs) File "/home/salonee/miniconda3/envs/memex/lib/python2.7/site-packages/django/views/generic/base.py" in view
return self.dispatch(request, args, *kwargs) File "/home/salonee/miniconda3/envs/memex/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
return handler(request, args, *kwargs) File "/home/salonee/memex-explorer/source/base/views.py" in post
if request.POST["action"] == "index_status": File "/home/salonee/miniconda3/envs/memex/lib/python2.7/site-packages/django/utils/datastructures.py" in getitem
raise MultiValueDictKeyError(repr(key))

Exception Type: MultiValueDictKeyError at /projects/crawling/
Exception Value: "'action'"

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

2 participants