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?

5 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

@Andrew Resler

So I worked my way back through several versions until I found the final working version of Pycharm which is Pycharm 2018.2.7 Professional released in Dec 2018. For a bug that is marked major in terms of severity, its pretty frustrating that there appears to be no attempt to address it. Our company has been effectively locked out of upgrading Pycharm for nearly five months now.

0

I'm very sorry for the inconvenience. I would suggest to explain your situation in https://youtrack.jetbrains.com/issue/PY-33216 , mention how it's important to you and that your team can't upgrade PyCharm because of it. Our QA team does read the comments, so they may prioritize the ticket based on that.

0

Please sign in to leave a comment.