Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Gamma

New issue 3707 by [email protected]: SymPy Gamma needs cleaning up
http://code.google.com/p/sympy/issues/detail?id=3707

I was unable to get SymPy Gamma running locally. Just running dev_appserver.py . gives

Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy_gamma/app/views.py", line 52, in _wrapper
    return render_to_response(template, params)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/shortcuts/__init__.py", line 20, in render_to_response return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/loader.py", line 183, in render_to_string
    return t.render(Context(dictionary))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 123, in render
    return self._render(context)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 117, in _render
    return self.nodelist.render(context)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 757, in render_node
    return node.render(context)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/loader_tags.py", line 127, in render
    return compiled_parent._render(context)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 117, in _render
    return self.nodelist.render(context)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 757, in render_node
    return node.render(context)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/loader_tags.py", line 64, in render
    result = block.nodelist.render(context)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 744, in render
    bits.append(self.render_node(node, context))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/django-1.3/django/template/base.py", line 757, in render_node
    return node.render(context)
File "/Users/aaronmeurer/Documents/Python/sympy/sympy_gamma/app/templatetags/extra_tags.py", line 49, in render
    q = self.query.resolve(self.context)
AttributeError: 'QueryLinkNode' object has no attribute 'context'

There are several scripts, and I'm not even sure if they are all relevant. And even if they are, they could use cleaning up. For example, main.py is executable, even though it doesn't have a shebang line. manage.py does have a shebang line but it uses /usr/bin/python instead of /usr/bin/env python (and it doesn't matter, because apparently neither of those are the Python used by the app engine on my computer). build.sh references some file on Ondrej's computer, and I'm not even clear if we are using pyjamas anyway. As far as I can tell, no building is required to upload.

SymPy Live is easy to work with in comparison. The README is informative, and running it is simple. We should cleanup SymPy Gamma to be like this.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to