Atmospheric Toolbox

Error messages when saving an image

Hi everybody,
I have found an error in VISAN (Windows 10, VISAN 4.0: Python 3.7.6, wxPython 4.0.4, VTK 8.2.0, NumPy 1.18.1, CODA 2.21, HARP 1.9.2). When I try to save an image from the World Plot or 2D Plot window, I cannot change the directory. Clicking on ‘Browse…’ gives the following error message:

Traceback (most recent call last):
File “D:\lenka-hp\soft\Anaconda3\envs\visan_env\lib\site-packages\visan\plot\”, line 217, in OnBrowse
filename = wx.FileSelector(“Save As…”, default_path=directory, flags=wx.SAVE, parent=self)
AttributeError: module ‘wx’ has no attribute ‘SAVE’

Thus, the image can only be saved into the same directory as the data from which it was generated.

Thanks for reporting this.
I have created a ticket on github for it:
We will solve it for the next VISAN release.

1 Like