# Problem with solution_dict=True

```
var('x y')
solve(x + y, [x, y], solution_dict=True)
```

yields AttributeError: 'list' object has no attribute 'left'

Is this a bug?

Problem with solution_dict=True

```
var('x y')
solve(x + y, [x, y], solution_dict=True)
```

yields AttributeError: 'list' object has no attribute 'left'

Is this a bug?

add a comment

3

This looks like a bug introduced in Sage 6.3. It's been reported at http://trac.sagemath.org/ticket/17128.

There is now a fix posted there. If you can, please test it.

0

A workaround (tested with Sage Cell Server):

```
var('x y')
sol = []
for v in [x,y]:
sol += solve(x + y == 0,v, solution_dict=True)
sol
```

gives

```
[{x: -y}, {y: -x}]
```

0

Hi, could you please tell us which version of sage you are using? Going to sagenb.org

```
var('x y')
sol=solve(x + y, [x, y], solution_dict=True)
sol
```

gives

```
[{x: -y}]
```

which still surprises me since the system of equation is more than incomplete.

Asked: **
2014-10-09 08:48:51 -0600
**

Seen: **260 times**

Last updated: **Oct 10 '14**

Is it possible to remove the latex parentheses from exponential functions?

Is there a way to use non english symbols?

Limit computation causes Sage to crash

SageMath 8.0 using Windows installer

Sagemath 8.0 and Sagemath 8.1 and Windows 10

How do I understand the result of symbolic integrals

integrate sqrt(1-cos(x)), integr.interval from 0 to 2*pi

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.