-
Notifications
You must be signed in to change notification settings - Fork 25
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
Bug in exchange page #511
Comments
Same problem with receive_text. |
This is fixed in the FreedomCoop fork. |
@bhaugen can I get an authoritative link to the FreedomCoop fork so I can pound this one out? |
I think this is actually fixed here. For one thing, the line number is wrong; the referenced line is 7794. In addition, |
[Value Network]ERROR (internal IP): Internal Server Error: /accounting/exchange/0/142/
...
File "/home/valnet/webapps/django/lib/python2.7/django/template/defaulttags.py", line 282, in render
return nodelist.render(context)
File "/home/valnet/webapps/django/lib/python2.7/django/template/base.py", line 823, in render
bit = self.render_node(node, context)
File "/home/valnet/webapps/django/lib/python2.7/django/template/base.py", line 837, in render_node
return node.render(context)
File "/home/valnet/webapps/django/lib/python2.7/django/template/base.py", line 874, in render
output = self.filter_expression.resolve(context)
File "/home/valnet/webapps/django/lib/python2.7/django/template/base.py", line 571, in resolve
obj = self.var.resolve(context)
File "/home/valnet/webapps/django/lib/python2.7/django/template/base.py", line 721, in resolve
value = self._resolve_lookup(context)
File "/home/valnet/webapps/django/lib/python2.7/django/template/base.py", line 772, in _resolve_lookup
current = current()
File "/home/valnet/webapps/django/valuenetwork/valuenetwork/valueaccounting/models.py", line 7715, in event_text
give_text += " on " + str(give.event_date)
UnboundLocalError: local variable 'give_text' referenced before assignment
<WSGIRequest
path:/accounting/exchange/0/142/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CSRF_COOKIE': 'FJffL5KWtZqMB5spDn3ecbKBEezyFE6r',
'CSRF_COOKIE_USED': True,
'DOCUMENT_ROOT': '/usr/local/apache2/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,text/plain,text/xml,text/*,application/xml,application/xhtml+xml,application/rss+xml,application/atom+xml,application/rdf+xml,application/php,application/x-php,application/x-httpd-php',
'HTTP_ACCEPT_ENCODING': 'gzip',
'HTTP_ACCEPT_LANGUAGE': 'en',
'HTTP_CONNECTION': 'close',
'HTTP_FORWARDED_REQUEST_URI': '/accounting/exchange/0/142/',
'HTTP_HOST': 'nrp.sensorica.co',
'HTTP_HTTPS': 'off',
'HTTP_HTTP_X_FORWARDED_PROTO': 'http',
'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)',
'HTTP_X_FORWARDED_FOR': '69.30.234.186',
'HTTP_X_FORWARDED_HOST': 'nrp.sensorica.co',
'HTTP_X_FORWARDED_PROTO': 'http',
'HTTP_X_FORWARDED_SERVER': 'nrp.sensorica.co',
'HTTP_X_FORWARDED_SSL': 'off',
'PATH_INFO': u'/accounting/exchange/0/142/',
'PATH_TRANSLATED': '/home/valnet/webapps/django/valuenetwork/valuenetwork/wsgi.py/accounting/exchange/0/142/',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_PORT': '59295',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/accounting/exchange/0/142/',
'SCRIPT_FILENAME': '/home/valnet/webapps/django/valuenetwork/valuenetwork/wsgi.py',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '127.0.0.1',
'SERVER_ADMIN': '[no address given]',
'SERVER_NAME': 'nrp.sensorica.co',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache/2.2.17 (Unix) mod_wsgi/3.4 Python/2.7.11',
'mod_wsgi.application_group': 'web349.webfaction.com|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.listener_host': '',
'mod_wsgi.listener_port': '17240',
'mod_wsgi.process_group': 'django',
'mod_wsgi.queue_start': '1467808097411421',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 4),
'wsgi.errors': <mod_wsgi.Log object at 0x7f18fb31b7f0>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f18fc06d378>,
'wsgi.input': <mod_wsgi.Input object at 0x7f18fbd69db0>,
'wsgi.multiprocess': True,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
The text was updated successfully, but these errors were encountered: