Python Console "View as Array" broken, please help.

Very simple, I'm using the numpy library and when I open the Python Console and type:

import numpy as np
matrix = np.zeros((2,3,4))

This works and shows up underneath the "Special Variables", but clicking "View as Array" immediately results in a server.py error:

Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2018.3.5\helpers\pydev\_pydev_comm\server.py", line 34, in handle
self.processor.process(iprot, oprot)
File "C:\Program Files\JetBrains\PyCharm 2018.3.5\helpers\third_party\thriftpy\_shaded_thriftpy\thrift.py", line 266, in process
self.handle_exception(e, result)
File "C:\Program Files\JetBrains\PyCharm 2018.3.5\helpers\third_party\thriftpy\_shaded_thriftpy\thrift.py", line 254, in handle_exception
raise e
Exception: matrix has more than 2 dimensions.

 

This used to work fine but is broken after updating to the latest version of PyCharm Professional 2018.3.5

 

Is the Array viewer broken?

3 comments

Hi,

This seems like a know issue reported here:

https://youtrack.jetbrains.com/issue/PY-33216

You are welcome to follow, vote and comment on that issue.

1
Thanks @Andrew Resler.
 
Unfortunately, it seems like it might be a while before this issue gets fixed. Do you happen to know when this issue was introduced so that I can downgrade to the previous version? I'm downloading a copy of 2018.3.1 since the tracker says 2018.3.2, but I really don't want to go through a bunch of downgrades before I find the right one.
0

Unfortunately, I don't have information when the issue was introduced. I've asked the developer and our QA in that ticket, let's see if someone can reply.

0

Please sign in to leave a comment.