ainfirdaus
Dear 
I'm Daus from Indonesia

I'm so grateful. Open PLC is an amazing software. I have waited the open plc and cheap plc for studying the logic of plc for long time. and now, I can use the amazing Open PLC.

unfortunately, I got any bugs. One of them is the editor couldn't generate st file more than once. I have to restart the editor to generate st file again.

Thank you.
Reply 0 0
thiagoralves
This is a known problem with wxgtk3.0 on Linux. If you use wxgtk2.8 or use the Windows version of the editor (running on Windows, obviously), you won't have this problem anymore.
Reply 0 0
ainfirdaus
Thanks Mr.

Well, I am using Ubuntu 16.04. Should I install wxgtk2.8 without uninstall wxgtk3.0 or should I uninstall wxgtk3.0 first before installing wxgtk2.8?
Reply 0 0
ainfirdaus
I tried installing windows version in wine emulator and I found same problem
Reply 0 0
thiagoralves
wxgtk2.8 is deprecated on Ubuntu 16.04. It should be a little complicated to force install wxgtk2.8. This post has instructions on how to do it, but I've never tested it, so I don't know if it will work:  https://askubuntu.com/questions/789302/install-python-wxgtk2-8-on-ubuntu-16-04. Also, you must purge (delete) the previous wxgtk3.0 before attempting to install wxgtk2.8 or you might end with a conflict hell. To do it, just type sudo apt-get purge python-wxgtk3.0.

About running the "windows version", since PLCOpen Editor is all python, the code is the same among all versions (Windows, Linux and MacOS). What changes with the windows version is that it has its own Python interpreter built in. It seems to me that you're using your own Linux Python to execute the command and therefore ending up with the same problem. To guarantee that you're running truly the windows version over wine you must manually call wine to run the python.exe file inside the /Python folder and send as argument the PLCOpenEditor.py file inside the /Editor folder. Then you will be using wine to run the windows version of python that will interpret PLCOpen Editor code.
Reply 0 0
thiagoralves
UPDATE:

I just tested this method on my Ubuntu 17.04 VM and it worked perfectly. Procedure:
Remove python-wxgtk3.0

sudo apt-get purge python-wxgtk3.0

Add repository of previous Ubuntu

echo "deb  http://archive.ubuntu.com/ubuntu wily main  universe" | sudo tee /etc/apt/sources.list.d/wily-copies.list
sudo apt update

Install python-wxgtk2.8

sudo apt-get install python-wxgtk2.8

If that doesn't work for some reason, try adding trusty repository

echo "deb  http://archive.ubuntu.com/ubuntu trusty main universe" | sudo tee /etc/apt/sources.list.d/wily-copies.list
sudo apt update

And try installing python-wxgtk2.8 again:

sudo apt-get install python-wxgtk2.8

Remove repository entry and update package list again

sudo rm /etc/apt/sources.list.d/wily-copies.list
sudo apt update

After doing this, just run PLCOpen Editor normally and you should have everything working fine, no more random errors or blank dialogs.

Let me know if it worked for you.
Reply 0 0
ainfirdaus
Ok Mr I will try. I hope I can run open plc editor succesfully.

Thank you very much Mr
Reply 0 0
ainfirdaus
I have just tried your suggestion. fortunately, it worked.

thank you very much. Open PLC is very usefull [smile]
Reply 0 0
jbuening
Worked for me as well.  Had to use trusty, but fixed now! ðŸ™‚
Reply 0 0
Reply