OpenPLC_Editor
OpenPLC_Editor
sudo apt-get install --reinstall libcanberra-gtk-module
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
nbsp;python3 editor/Beremiz.py
Gtk-Message: 11:26:15.560: Failed to load module "atk-bridge"
Gtk-Message: 11:26:15.564: Failed to load module "canberra-gtk-module"
11:26:15 AM: Debug: Adding duplicate image handler for 'Windows bitmap file'
11:26:15 AM: Debug: Adding duplicate animation handler for '1' type
11:26:15 AM: Debug: Adding duplicate animation handler for '2' type
nbsp;./update.sh
Cloning into 'OpenPLC_Editor'...
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 13 (delta 0), reused 7 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (13/13), 13.22 KiB | 1.20 MiB/s, done.
Submodule 'editor' (https://github.com/thiagoralves/editor) registered for path 'editor'
Submodule 'matiec' (https://github.com/thiagoralves/matiec) registered for path 'matiec'
Cloning into '/home/eric/OpenPLC_Editor/OpenPLC_Editor/editor'...
remote: Enumerating objects: 1195, done.
remote: Counting objects: 100% (1195/1195), done.
remote: Compressing objects: 100% (1015/1015), done.
remote: Total 1195 (delta 240), reused 896 (delta 114), pack-reused 0 (from 0)
Receiving objects: 100% (1195/1195), 70.62 MiB | 33.25 MiB/s, done.
Resolving deltas: 100% (240/240), done.
Cloning into '/home/eric/OpenPLC_Editor/OpenPLC_Editor/matiec'...
remote: Enumerating objects: 261, done.
remote: Counting objects: 100% (261/261), done.
remote: Compressing objects: 100% (241/241), done.
remote: Total 261 (delta 31), reused 222 (delta 11), pack-reused 0 (from 0)
Receiving objects: 100% (261/261), 831.90 KiB | 5.44 MiB/s, done.
Resolving deltas: 100% (31/31), done.
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 1 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (4/4), 1006 bytes | 503.00 KiB/s, done.
From https://github.com/thiagoralves/editor
* branch f0b7d517d9dfe45f96f7faf5453484ccbb337c31 -> FETCH_HEAD
Submodule path 'editor': checked out 'f0b7d517d9dfe45f96f7faf5453484ccbb337c31'
Submodule path 'matiec': checked out 'f9ca9ba8d3290f2985dcf2def87a196432bf3152'
Update applied successfully
However the version is still 2024-08-12 as shown in the about section.
On running, I noticed (unsure if related):
OpenPLC_Editor
python3 new_editor/Beremiz.py
Gtk-Message: 11:36:52.632: Failed to load module "atk-bridge"
Gtk-Message: 11:36:52.636: Failed to load module "canberra-gtk-module"
11:36:52 AM: Debug: Adding duplicate image handler for 'Windows bitmap file'
11:36:52 AM: Debug: Adding duplicate animation handler for '1' type
11:36:52 AM: Debug: Adding duplicate animation handler for '2' type
so I tried:
sudo apt-get install --reinstall libcanberra-gtk-module
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
The second line returned that it's already the newest version, and the runtime terminal output was unchanged. Also, I just saw the revision file:
cat revision
20250609
Which I find odd. I looked again at my file contents and found a new_editor/ folder, which does open 20250609, however the originally stated blink bug persists exactly as originally stated. (I've done some name changing so editor/ is now the current version).
finally, I get the following error when I run openplc_editor:
./openplc_editor.sh
Traceback (most recent call last):
File "/home/eric/OpenPLC_Editor/./editor/Beremiz.py", line 32, in <module>
import wx
File "/home/eric/OpenPLC_Editor/.venv/lib/python3.9/site-packages/wx/__init__.py", line 17, in <module>
from wx.core import *
File "/home/eric/OpenPLC_Editor/.venv/lib/python3.9/site-packages/wx/core.py", line 12, in <module>
from ._core import *
ImportError: /lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0: undefined symbol: atk_object_get_help_text
Edited: Formatting and added last error