- Posts: 913
- Thank you received: 0
2.9.0-pre0-4388-gc2838822c / Gmoccapy >> Py 3 // gladevcp/iconview.py
- robertspark
- Topic Author
- Offline
- Platinum Member
-
somewhere between Gmoccapy (the change to Python 3) and the file gladevcp/iconview.py
there is an error loading Gmoccapy
(bit better / more detailed explanation in the attached report)
Attachment not found
Traceback (most recent call last):
File "/usr/bin/gmoccapy", line 5299, in <module>
app = gmoccapy(sys.argv)
File "/usr/bin/gmoccapy", line 328, in __init__
self._init_IconFileSelection()
File "/usr/bin/gmoccapy", line 2101, in _init_IconFileSelection
self.widgets.IconFileSelection1.show_filelabel(False)
File "/usr/lib/python3/dist-packages/gladevcp/iconview.py", line 404, in show_filelabel
self.file_label.hide()
AttributeError: 'IconFileSelection' object has no attribute 'file_label'
(gmoccapy:10763): Gtk-WARNING **: 11:54:29.634: Invalid icon size 48
(gmoccapy:10763): Gtk-WARNING **: 11:54:29.636: Invalid icon size 48
/usr/bin/gmoccapy:717: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: wiki.gnome.org/PyGObject/InitializerDeprecations
lbl = Gtk.Label("")
/usr/bin/gmoccapy:735: DeprecationWarning: Gtk.Image.set_from_stock is deprecated
image.set_from_stock(stock, 48)
/usr/bin/gmoccapy:896: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: wiki.gnome.org/PyGObject/InitializerDeprecations
btn = Gtk.ToggleButton(_(" edit\noffsets"))
/usr/bin/gmoccapy:900: DeprecationWarning: Gtk.Widget.modify_bg is deprecated
btn.modify_bg(Gtk.StateFlags.ACTIVE, Gdk.color_parse("#FFFF00"))
/usr/bin/gmoccapy:944: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: wiki.gnome.org/PyGObject/InitializerDeprecations
btn = Gtk.Button(_("zero\n G92"))
/usr/bin/gmoccapy:959: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: wiki.gnome.org/PyGObject/InitializerDeprecations
btn = Gtk.Button(_(" set\nselected"))
/usr/bin/gmoccapy:1168: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: wiki.gnome.org/PyGObject/InitializerDeprecations
btn = Gtk.Button(name.upper())
/usr/bin/gmoccapy:1374: DeprecationWarning: Gtk.Table.resize is deprecated
self.widgets.tbl_jog_btn_axes.resize(3,3)
(gmoccapy:10763): Gtk-WARNING **: 11:54:30.499: Invalid icon size 48
(gmoccapy:10763): Gtk-WARNING **: 11:54:30.500: Invalid icon size 48
(gmoccapy:10763): Gtk-CRITICAL **: 11:54:32.134: gtk_text_buffer_remove_tag: assertion 'tag->priv->table == buffer->priv->tag_table' failed
(gmoccapy:10763): Gtk-CRITICAL **: 11:54:32.135: gtk_text_buffer_remove_tag: assertion 'tag->priv->table == buffer->priv->tag_table' failed
(gmoccapy:10763): Gtk-WARNING **: 11:54:32.267: Invalid icon size 48
(gmoccapy:10763): Gtk-WARNING **: 11:54:32.268: Invalid icon size 48
(gmoccapy:10763): Gtk-WARNING **: 11:54:32.389: Invalid icon size 48
(gmoccapy:10763): Gtk-WARNING **: 11:54:32.390: Invalid icon size 48
(gmoccapy:10763): Gtk-WARNING **: 11:54:32.594: Invalid icon size 48
(gmoccapy:10763): Gtk-WARNING **: 11:54:32.594: Invalid icon size 48
Please Log in to join the conversation.
Have you modified anything?
is this error present on sim configs?
Does the error show right away or do you do something to invoke it?
I do not see this error - nor how it could happen. I use mint 20 though
Please Log in to join the conversation.
- robertspark
- Topic Author
- Offline
- Platinum Member
-
- Posts: 913
- Thank you received: 0
Linuxcnc kept up to date via buildbot to master, daily updated.
Yes the error is apparent on sim and my configs.
No, I do not believe that I have modified anything, but anything is a bit of a wide sweeping statement...... as I obviously have other applications installed such as sheetcam, estlcam via play on linux.
Yes the error shows up at the time of loading.
I am going to back up my configs, wipe and install fresh from 2.8.2 iso shortly.
I will report back, as I "should" just be able to install from clean iso install..... change to buildbot master .... and 2.9 + gmoccapy via configs should work.....
I have removed nativeCAM for the time being.
I will report back later.
Please Log in to join the conversation.
I'm not sure what the minimum python3/GTK3 version is.
So you are not compiling - you are using buildbot binaries?
I had a little trouble compiling linuxcnc on mint 19 - had to backport python-yapps2 (unrelated to your problem)
Chris
Please Log in to join the conversation.
- robertspark
- Topic Author
- Offline
- Platinum Member
-
- Posts: 913
- Thank you received: 0
changed sources to buildbot master, and updated
created new Gmoccapy Sim (lathe) and was given the same message
Please Log in to join the conversation.
I do get a lot of deprecation warnings but no errors.
Please Log in to join the conversation.
Note the python error, I'm not sure of a solution. I'll try a gmocappy sim on my build of V2.9 I compiled today
Please Log in to join the conversation.
I was going to post up a howto when I have a bit of time (2 days playing with this over the weekend has left me a bit worn out
Bullseye is to be release as final in < 1 week and includes preempt_rt
Please Log in to join the conversation.
I updated my ver2.9 to the latest and gmoccapy completely stopped functioning with all the same errors as stated at the top of this thread
Please Log in to join the conversation.
- robertspark
- Topic Author
- Offline
- Platinum Member
-
- Posts: 913
- Thank you received: 0
I found what was missing in another thread.... I did a bit of investigation.
forum.linuxcnc.org/gmoccapy/43477-gmoccapy-theme#219291
Also there are a list of dependencies that you may need to install too to clear some of the issues.
forum.linuxcnc.org/9-installing-linuxcnc...eye-questions#220493
Please Log in to join the conversation.
