This is weird. I am getting several error reports like the attached one, but it seems to be very random.
Pablo Casado --- [email protected] @hardlifeofapo Skype: p.casado Begin forwarded message: > From: root@localhost > Subject: [Django] ERROR (EXTERNAL IP): Internal Server Error: > /shop/checkout/sermepa/ > Date: 5 de abril de 2012 09:17:54 GMT+02:00 > To: [email protected] > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", > line 111, in get_response > response = callback(request, *callback_args, **callback_kwargs) > File > "/usr/local/lib/python2.6/dist-packages/django/views/decorators/cache.py", > line 79, in _wrapped_view_func > response = view_func(request, *args, **kwargs) > File > "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9.2-py2.6.egg/payment/modules/sermepa/views.py", > line 43, in pay_ship_info > 'shop/checkout/sermepa/pay_ship.html' > File > "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9.2-py2.6.egg/payment/views/payship.py", > line 179, in base_pay_ship_info > results = form_handler(request, contact, working_cart, payment_module) > File > "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9.2-py2.6.egg/payment/views/payship.py", > line 140, in simple_pay_ship_process_form > form = SimplePayShipForm(request, payment_module, order_data) > File > "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9.2-py2.6.egg/payment/forms.py", > line 324, in __init__ > shipping_choices, shipping_dict = _get_shipping_choices(request, > paymentmodule, self.tempCart, self.tempContact, > default_view_tax=default_view_tax) > File > "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9.2-py2.6.egg/payment/forms.py", > line 84, in _get_shipping_choices > method.calculate(cart, contact) > File > "/usr/local/lib/python2.6/dist-packages/Satchmo-0.9.2-py2.6.egg/shipping/modules/ups/shipper.py", > line 191, in calculate > shippingdata['box_weight_units'] = box_weight_units.upper() > UnboundLocalError: local variable ‘box_weight_units’ referenced before > assignment > > <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__qca': > ‘P0-141069647-1332568951461’, > > '__utma': '3138417.353700016.1332569152.1333605368.1333609567.5', > '__utmb': '3138417.8.10.1333609567', > '__utmc': '3138417', > '__utmz': > '3138417.1332569152.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', > 'csrftoken': 'f246d489b2c3a2cc8c85c48164a640e7', > 'km_ai': '9uKc1LSsD8xOnOwKL%2Byj5bTSfoQ%3D', > 'km_lv': 'x', > 'km_uq': '', > 'km_vs': '1', > 'kvcd': '1333610254644', > 'sessionid': '75820cd00a42b28ef5980e0c75a7562e'}, > META:{'CSRF_COOKIE': ‘f246d489b2c3a2cc8c85c48164a640e7’, > > 'DOCUMENT_ROOT': '/htdocs', > 'GATEWAY_INTERFACE': 'CGI/1.1', > 'HTTP_ACCEPT': > 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', > 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', > 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', > 'HTTP_ACCEPT_LANGUAGE': 'es-ES,es;q=0.8', > 'HTTP_CACHE_CONTROL': 'max-age=0', > 'HTTP_CONNECTION': 'keep-alive', > 'HTTP_COOKIE': 'km_ai=9uKc1LSsD8xOnOwKL%2Byj5bTSfoQ%3D; > __qca=P0-141069647-1332568951461; km_lv=x; km_uq=; > csrftoken=f246d489b2c3a2cc8c85c48164a640e7; > __utma=3138417.353700016.1332569152.1333605368.1333609567.5; > __utmb=3138417.8.10.1333609567; __utmc=3138417; > __utmz=3138417.1332569152.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); > kvcd=1333610254644; km_vs=1; sessionid=75820cd00a42b28ef5980e0c75a7562e', > 'HTTP_HOST': 'presive.com', > 'HTTP_REFERER': 'http://presive.com/shop/checkout/', > 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 > (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19', > 'PATH': > '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', > 'PATH_INFO': u'/shop/checkout/sermepa/', > 'PATH_TRANSLATED': > '/var/presive/presive_branch_march19/store/wsgi.py/shop/checkout/sermepa/', > 'QUERY_STRING': '', > 'REMOTE_ADDR': '83.38.150.39', > 'REMOTE_PORT': '56998', > 'REQUEST_METHOD': 'GET', > 'REQUEST_URI': '/shop/checkout/sermepa/', > 'SCRIPT_FILENAME': '/var/presive/presive_branch_march19/store/wsgi.py', > 'SCRIPT_NAME': u'', > 'SERVER_ADDR': '173.244.69.148', > 'SERVER_ADMIN': '[no address given]', > 'SERVER_NAME': 'presive.com', > 'SERVER_PORT': '80', > 'SERVER_PROTOCOL': 'HTTP/1.1', > 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at presive.com > Port 80</address>\n', > 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)', > 'mod_wsgi.application_group': 'www.presive.com|', > 'mod_wsgi.callable_object': 'application', > 'mod_wsgi.listener_host': '', > 'mod_wsgi.listener_port': '80', > 'mod_wsgi.process_group': '', > 'mod_wsgi.reload_mechanism': '0', > 'mod_wsgi.script_reloading': '1', > 'mod_wsgi.version': (2, 8), > 'wsgi.errors': <mod_wsgi.Log object at 0x7faedce205a0>, > 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object > at 0x7faede9f5300>, > 'wsgi.input': <mod_wsgi.Input object at 0x7faedd509f30>, > 'wsgi.multiprocess': True, > 'wsgi.multithread': False, > 'wsgi.run_once': False, > 'wsgi.url_scheme': 'http', > 'wsgi.version': (1, 0)}> > If you would like to unsubscribe and stop receiving these emails click here. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
