Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python2.7/dist-packages/spyder/utils/site/sitecustomize.py", line 866, in runfile

execfile(filename, namespace)


 "/usr/local/lib/python2.7/dist-packages/spyder/utils/site/sitecustomize.py", line 94, in execfile

builtins.execfile(filename, *where)


 "/home/zhang/mylib/Mylasagne/Layers/Dense.py", line 106, in <module>

x = T.raw_random.permutation(random_state=12345,n=10)


 "/home/zhang/tool/Theano/theano/tensor/raw_random.py", line 756, in permutation

return op(random_state, size, n)


 "/home/zhang/tool/Theano/theano/gof/op.py", line 615, in __call__

node = self.make_node(*inputs, **kwargs)


 "/home/zhang/tool/Theano/theano/tensor/raw_random.py", line 204, in make_node

if not isinstance(r.type, RandomStateType):
AttributeError: 'int' object has no attribute 'type'

Traceback (most recent call last):


 "rich_bug.py", line 5, in <module>

for j in track(range(1)):


 "/home/tyilo/.local/lib/python3.7/site-packages/rich/progress.py", line 145, in track

with progress:


 "/home/tyilo/.local/lib/python3.7/site-packages/rich/progress.py", line 640, in __enter__

self.start()


 "/home/tyilo/.local/lib/python3.7/site-packages/rich/progress.py", line 633, in start

self.live.start(refresh=True)


 "/home/tyilo/.local/lib/python3.7/site-packages/rich/live.py", line 108, in start

self.console.set_live(self)


 "/home/tyilo/.local/lib/python3.7/site-packages/rich/console.py", line 678, in set_live

raise errors.LiveError("Only one live display may be active at once")
rich.errors.LiveError: Only one live display may be active at once
