Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Live Printing

New issue 4012 by [email protected]: TypeError: unbound method _latex() must be called with TableForm instance as first argument (got LatexPrinter instance instead)
http://code.google.com/p/sympy/issues/detail?id=4012

In SymPy Live, with the latex printer enabled

globals()
Traceback (most recent call last):
File "/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/shell.py", line 363, in displayhook
    print stringify_func(arg)
File "/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/shell.py", line 81, in <lambda>
    'latex': lambda arg: latex(arg, mode="equation*"),
File "/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/sympy/sympy/printing/latex.py", line 1789, in latex
    return LatexPrinter(settings).doprint(expr)
File "/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/sympy/sympy/printing/latex.py", line 114, in doprint
    tex = Printer.doprint(self, expr)
File "/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/sympy/sympy/printing/printer.py", line 231, in doprint
    return self._str(self._print(expr))
File "/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/sympy/sympy/printing/printer.py", line 255, in _print
    return getattr(self, printmethod)(expr, *args, **kwargs)
File "/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/sympy/sympy/printing/latex.py", line 1242, in _print_dict
    items.append("%s : %s" % (self._print(key), self._print(val)))
File "/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/sympy/sympy/printing/printer.py", line 248, in _print
    return getattr(expr, self.printmethod)(self, *args, **kwargs)
TypeError: unbound method _latex() must be called with TableForm instance as first argument (got LatexPrinter instance instead)

This is clearly a bug in the printer.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to