Skip to content

Instantly share code, notes, and snippets.

@roadsideseb
Created October 31, 2013 07:30
Show Gist options
  • Save roadsideseb/7245572 to your computer and use it in GitHub Desktop.
Save roadsideseb/7245572 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: upload devices from inventory file
----------------------------------------------------------------------
File "/usr/lib/python2.7/unittest/case.py", line 332, in run
testMethod()
File "/home/elbaschid/Worx/Tangent/vodafone/tests/eshop/functional/test_upload_inventory.py", line 114, in test_upload_inventory
after_save_page = save_form.submit().maybe_follow()
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webtest/forms.py", line 538, in submit
params=fields, **args)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webtest/response.py", line 293, in goto
return method(href, **args)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django_webtest/__init__.py", line 120, in post
upload_files, expect_errors, content_type)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webtest/app.py", line 254, in post
content_type=content_type)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webtest/app.py", line 620, in _gen_request
expect_errors=expect_errors)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django_webtest/__init__.py", line 69, in do_request
response = super(DjangoTestApp, self).do_request(req, status, expect_errors)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webtest/app.py", line 489, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webob/request.py", line 1292, in send
application, catch_exc_info=True)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
app_iter = application(self.environ, start_response)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/webtest/lint.py", line 198, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__
return self.application(environ, start_response)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 241, in __call__
response = self.get_response(request)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 192, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 188, in get_response
response = middleware_method(request, response)
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django/contrib/sessions/middleware.py", line 36, in process_response
request.session.save()
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django/contrib/sessions/backends/db.py", line 52, in save
session_data=self.encode(self._get_session(no_load=must_create)),
File "/home/elbaschid/.virtualenvs/vodafone/local/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py", line 79, in encode
pickled = pickle.dumps(session_dict, pickle.HIGHEST_PROTOCOL)
dictionary changed size during iteration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment