joed_paes
Hello,

I'm learning to use OpenPLC and I'm using as my operational system the Ubuntu 20.04. I have installed it by the last update in the github repository. The installation seemed to be okay.

My problem is that the console and PLC Log does not show readable texts. Also, the name of my variables does not appear in the ladder diagram, eventhough I selected it when I created the diagram. Please, see the figure below in the red rectangles region.

Someone had ever the same problem and can help me to solve it?

Thanks in advance.
OpenPLC_bug.png 
Reply 0 0
thiagoralves
Hmm, strange. I never tested it on the latest Ubuntu, but in 18.04 it works just fine
Reply 0 0
joed_paes
I also thought strange. As I know, the latest Ubuntu discontinued some packages and libraries. What would be the package or library responsible for this visualization? Maybe, I could try to update it manually. I don't know if what I said make sense. Thanks for your answer.
Reply 0 0
thiagoralves
The GUI is all based on wxwidgets (more specifically wxPython, which is wxwidgets for Python). Unfortunately the entire code is based on a very old version of wxPython, which probably is where the problem lies. The new version changed the API completely, which means that the entire GUI code for the editor will have to be rewritten to be compatible with the new version. If I'm not mistaken, the compatible versions of wxPython are 2.7 and 3.0. The installer tries to install these specific versions for the editor to work. I don't know what Ubuntu 20.04 is installing from its repository. I'll check it later.
Reply 0 0
thiagoralves
Just checked on my fresh Ubuntu 20.04 VM and it works fine. I made sure that all packages were updated to the latest version (ran Ubuntu Software Updater twice + apt update; apt upgrade) to check if some new package was breaking the software, but it is all running normally as expected:
Screen Shot 2020-09-25 at 10.48.55 AM.png   
I wonder if this is not a problem with localization, unicode characters, etc... Check this post here to make your editor run completely in English and try again:  https://openplc.discussion.community/post/language-for-the-user-interface-10618877?pid=1312492964&highlight=localization
Reply 0 0
joed_paes
Hello Thiago. For you it worked fine in Ubuntu 20.04. I tried to reinstall it in my home folder and the problem remains the same. Attached is the log messages of the my last installation. There is some strange messages. Could you, please, give a look in order to see if this is common. Again, thank you so much for the support.
Reply 0 0
thiagoralves
There is nothing unusual from your log. As I said, check your localization options, as I suspect that might be the issue
Reply 0 0
joed_paes
I already changed the localization options to English and, unfortunately, the problem remained the same.
Reply 0 0
tycho
Hi Joed, did you solve the show error? I have similar question on Ubuntu 20.04 as well and have no idea how to fix that after several attempts. Could you please share some information on this issue? Thanks!
Reply 0 0
CarlosCervantes
Hi everyone. Could anyone solve the problem? I have the same error in Ubuntu 20.04.3
I ran the program without problems, but the last time I used it, it appeared the same as the first screenshot.
Reply 0 0
tycho
It is probably a font conflict issue. Try apt uninstall all texlive font package.
Reply 0 0
CarlosCervantes
Well, I could already solve the problem. I had TexMaker (a LaTeX editor) installed, I uninstalled the software and now OpenPLC Editor works correctly. Weird but true.
Reply 0 0
bhusal

I went through same problem, removing all the texlive package worked for me (I followed this thread to remove all the texlive package https://tex.stackexchange.com/questions/95483/how-to-remove-everything-related-to-tex-live-for-fresh-install-on-ubuntu)

   Screenshot from 2022-02-10 20-51-41.png 
Screenshot from 2022-02-10 21-05-22.png    

Reply 0 0
Reply