Open Seamoon-Wang opened 1 year ago
Hi @Seamoon-Wang!
Thanks for reporting this! We'll see what we can do. It sounds like you're either logging into another machine with ssh
or using the Windows subsystem for Linux. Is that correct?
Either way, would you mind sending along the following information so I can work on reproducing this issue?
lsb_release -a
)python -c 'import openmc; print(openmc.__version__)'
python -c "import matplotlib; print(matplotlib.__version__)"
@pshriwise Hi! Thanks for your reply! Your judge is correct so much! My Ubuntu version is "Ubuntu 20.04 LTS"; My OpenMC version is “0.13.1” My Matplotlib version is "<module 'matplotlib._version' from '/home/rookie/anaconda3/envs/openmc-env/lib/python3.10/site-packages/matplotlib/_version.py'>"
By the way, I had to use the Openmc Plotter correctly, but I don't know why it got mistaken after the weekend.
Hi @Seamoon-Wang. I had a typo in my commands above. I just fixed it. Can you try getting the matplotlib
version again when you have a chance?
@pshriwise Hi! It seems like that you still made a typo;) But I have figured out the version of matplotlib: "3.6.1" Thanks for your reply and help !
Ah, indeed. Corrected. I'll try to reproduce this error soon. Thanks!
@pshriwise Hi! It seems like that you still made a typo;) But I have figured out the version of matplotlib: "3.6.1" Thanks for your reply and help !
I am using wsl2 and ubuntu 22.04, before I use the openmc-plotter, I have to install some xkb library denpendences. I got the same error and tried to figure out why. I upgrade the openmc-plotter to the latest version manually using the source code. Afterward, it works!, and I figure out that there is a void blank area in my model which possibly caused the error. However, I can't reproduce the error now in the old version(that's quite strange). Anyway, upgrading may be helpful to you. (My English is poor, sorry for any mistakes)
Hi,Everyone! There is an error when I use the Openmc-Plotter through Ubuntu & Xming.Here is the error:
File “/home/rookie/anaconda3/envs/openmc-env/lib/python3.10/site-packages/openmc_plotter/plotgui.py”, line 75, in getPlotCoords transform = self.ax.transAxes.inverted() AttributeError: ‘PlotImage’ object has no attribute ‘ax’. Did you mean: ‘x’? Traceback (most recent call last): File “/home/rookie/anaconda3/envs/openmc-env/lib/python3.10/site-packages/openmc_plotter/plotgui.py”, line 220, in mouseMoveEvent xPlotPos, yPlotPos = self.getPlotCoords(event.pos())
If you have some advices, Please text it,Thank You! Best Wishes!