Setting an activity edge style results in the following tracebacks:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/canvas.py", line 471, in update_now
self.update_constraints(dirty_matrix_items)
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/canvas.py", line 570, in update_constraints
self._solver.solve()
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/solver.py", line 615, in solve
c.solve_for(wvar)
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/constraint.py", line 492, in solve_for
self._solve()
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/constraint.py", line 520, in _solve
_update(px, x)
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/constraint.py", line 46, in _update
variable.value = value
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/canvas.py", line 742, in _set_value
self._callback(value)
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/canvas.py", line 786, in _on_change_x
self._point[0].value, self._point[1].value = item.canvas.get_matrix_c2i(item).transform_point(value, self._py)
File "", line 2, in set_value
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/state.py", line 66, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/solver.py", line 99, in set_value
self.dirty()
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/solver.py", line 94, in dirty
solver.request_resolve(self)
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/solver.py", line 422, in request_resolve
raise JuggleError, 'Variable juggling detected, constraint %s' % c
JuggleError: Variable juggling detected, constraint <gaphas.constraint.EqualsConstraint object at 0xa29930c>
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/decorators.py", line 104, in async_wrapper
func(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/canvas.py", line 404, in update
self.update_now()
File "/usr/local/lib/python2.6/dist-packages/gaphor-0.14.0-py2.6.egg/gaphor/UML/diagram.py", line 42, in update_now
super(DiagramCanvas, self).update_now()
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/decorators.py", line 140, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/gaphas-0.4.0-py2.6.egg/gaphas/canvas.py", line 504, in update_now
'dirty: %s; matrix: %s' % (self._dirty_items, self._dirty_matrix_items)
AssertionError: dirty: set([<gaphor.diagram.flow.FlowItem object at 0xa24f42c>]); matrix: set([])
See amolenaar/gaphor#4