Gmoccapy - A new screen for linuxcnc

More
05 Dec 2013 04:50 #41341 by newbynobi
Hallo,

I just updated the WIKI page.
There are now new and actual images and the complete part of the settings page has been reworked, and adapted to the new style.

And I do not stop, asking for help:

- Add Usage information to the WIKI, the button X does Y etc.
- Translation of the WIKI page
- Add own information to the WIKI page
- And the most needed, write a AsciiDoc for gmoccapy, to be included in master as a manual, AsciiDoc is not complicated, yust take a look at AsciiDoc

All this is work, that has to be done and will retain my from introducing new features and going on with the gcode generator.

Norbert

Please Log in or Create an account to join the conversation.

More
09 Dec 2013 02:01 - 09 Dec 2013 02:02 #41419 by newbynobi
gmoccapy 0.9.9.5

ver. 0.9.9.5
- added color chooser for homed and unhomed colors, as recommended
by BigJohnT to help people suffering from protanopia (red/green weakness)
- corrected an error updating the DRO colors in lathe mode

Norbert
Last edit: 09 Dec 2013 02:02 by newbynobi. Reason: typos

Please Log in or Create an account to join the conversation.

More
09 Dec 2013 19:04 #41431 by svenakela

gmoccapy 0.9.9.5

ver. 0.9.9.5
- added color chooser for homed and unhomed colors, as recommended
by BigJohnT to help people suffering from protanopia (red/green weakness)
- corrected an error updating the DRO colors in lathe mode

Norbert


I was going to write to you about the colors and now it's already fixed. Good work!

Please Log in or Create an account to join the conversation.

More
10 Dec 2013 00:33 #41438 by mariusl
Hi Norbert
I am trying to move plasma to master but I am having problems running it. This is the error. Can you see what I am doing wrong or missing here?
LINUXCNC - 2.6.0~pre
Machine configuration directory is '/home/marius/dev/bluearc/configs/bluearc_plasma'
Machine configuration file is 'bluearc_plasma.ini'
Starting LinuxCNC...
io started
halcmd loadusr io started
task pid=32472
**** GSCREEN INFO: audio available!
**** GSCREEN INFO ini: /home/marius/dev/bluearc/configs/bluearc_plasma/bluearc_plasma.ini
**** GSCREEN INFO: Skin name = gmoccapy_plasma
('**** GSCREEN INFO: SKIN locale name =', '/home/marius/dev/bluearc/share/gscreen/skins/gmoccapy_plasma/locale', 'gmoccapy_plasma')

**** GSCREEN INFO:  Using SKIN glade file from /home/marius/dev/bluearc/share/gscreen/skins/gmoccapy_plasma/gmoccapy_plasma.glade ****
/home/marius/dev/bluearc/bin/gscreen:445: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.xml.add_from_file(xmlname)
/home/marius/dev/bluearc/bin/gscreen:445: GtkWarning: gtk_widget_grab_default: assertion `gtk_widget_get_can_default (widget)' failed
  self.xml.add_from_file(xmlname)

**** GSCREEN INFO:  using STOCK glade file from: /home/marius/dev/bluearc/share/linuxcnc/gscreen2.glade ****
**** GSCREEN INFO: handler file path: ['/home/marius/dev/bluearc/share/gscreen/skins/gmoccapy_plasma/gmoccapy_plasma_handler.py']
adding import dir /home/marius/dev/bluearc/share/gscreen/skins/gmoccapy_plasma

*** GMOCCAPY INFO: *** no additional python path found
Error trying to import notification
Shutting down and cleaning up LinuxCNC...
emcTaskInit: using builtin interpreter
Cleanup done

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
10 Dec 2013 05:52 - 10 Dec 2013 05:55 #41448 by newbynobi
Hallo Marius,

gmoccapy does not find notification.py.
It should be in linuxcnc-devel/share/gscreen/skins/gmoccapy/python
In your case it should be gmoccapy_plasma/python?!

Does it exist?

Norbert

@Sven,
Sorry for fixing the bug, before you asked ;-)
Last edit: 10 Dec 2013 05:55 by newbynobi.

Please Log in or Create an account to join the conversation.

More
10 Dec 2013 14:26 - 10 Dec 2013 14:42 #41455 by mariusl
Hi Norbert

It is there. I copied all the plasma related files and directories to the same places in the master repo that I am using. So it sits at ~/dev/bluearc/share/gscreen/skins/gmoccapy_plasma/python/


EDIT: Did I mention I am trying to run outside of sim?

Regards
Marius


www.bluearccnc.com

Last edit: 10 Dec 2013 14:42 by mariusl.

Please Log in or Create an account to join the conversation.

More
10 Dec 2013 14:38 #41456 by mariusl
Norbert

Look at the first error in the list
Starting LinuxCNC...
io started
halcmd loadusr io started
task pid=4309
**** GSCREEN INFO: audio available!
**** GSCREEN INFO ini: /home/marius/dev/bluearc/configs/bluearc_plasma/bluearc_plasma.ini
**** GSCREEN INFO: Skin name = gmoccapy_plasma
('**** GSCREEN INFO: SKIN locale name =', '/home/marius/dev/bluearc/share/gscreen/skins/gmoccapy_plasma/locale', 'gmoccapy_plasma')

**** GSCREEN INFO:  Using SKIN glade file from /home/marius/dev/bluearc/share/gscreen/skins/gmoccapy_plasma/gmoccapy_plasma.glade ****
USRMOT: ERROR: command timeout

/home/marius/dev/bluearc/bin/gscreen:445: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.xml.add_from_file(xmlname)
/home/marius/dev/bluearc/bin/gscreen:445: GtkWarning: gtk_widget_grab_default: assertion `gtk_widget_get_can_default (widget)' failed
  self.xml.add_from_file(xmlname)

**** GSCREEN INFO:  using STOCK glade file from: /home/marius/dev/bluearc/share/linuxcnc/gscreen2.glade ****
**** GSCREEN INFO: handler file path: ['/home/marius/dev/bluearc/share/gscreen/skins/gmoccapy_plasma/gmoccapy_plasma_handler.py']
adding import dir /home/marius/dev/bluearc/share/gscreen/skins/gmoccapy_plasma

*** GMOCCAPY INFO: *** no additional python path found
Error trying to import notification
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout

it would seem that there is a problem loading the glade file.

here is the dir list of that file.
-rw-r--r-- 1 marius marius 123168 2013-10-16 09:21 gmoccapy_handler.pyc
-rwxr-xr-x 1 marius marius 440910 2013-10-16 09:02 gmoccapy_plasma.glade
-rwxr-xr-x 1 marius marius 146573 2013-10-16 11:54 gmoccapy_plasma_handler.py
-rw-r--r-- 1 marius marius 126073 2013-10-16 11:55 gmoccapy_plasma_handler.pyc
drwxr-xr-x 2 marius marius   4096 2013-10-21 22:08 icon
drwxr-xr-x 5 marius marius   4096 2013-10-21 22:08 locale
drwxr-xr-x 2 marius marius   4096 2013-10-21 22:08 python
-rwxr-xr-x 1 marius marius  25988 2013-10-16 09:02 release_notes.txt
marius@marius-desktop:~/dev/bluearc/share/gscreen/skins/gmoccapy_plasma$ 

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
10 Dec 2013 15:07 #41457 by newbynobi
Hallo Marius,

yo are right, gscreen can not load the plasma glade file, even beeing in the correct place. Please delete the pyc files and send me the plasma files and the config folder, as I do expect the error in the config dir.

Norbert

Please Log in or Create an account to join the conversation.

More
10 Dec 2013 15:19 #41458 by mariusl
Norbert
I did delete the pyc but still the same. I attached the folder containing the plasma files under the share directory as well as my config. The config is not complete as I am trying to do the integration into the real environment still.

File Attachment:

File Name: bluearc_plasma.tar.gz
File Size:16 KB


File Attachment:

File Name: gmoccapy_p...a.tar.gz
File Size:310 KB

Regards
Marius


www.bluearccnc.com

Attachments:

Please Log in or Create an account to join the conversation.

More
10 Dec 2013 15:51 - 10 Dec 2013 16:17 #41459 by newbynobi
Hallo Marius,

you are using a handler file version 0.9.9 (see line 50 in gmoccapy_plasma_handler.py)
The actual one is 0.9.9.5, let me check if it does work also with the new version.

As we renamed the folder, the search path is not working correct, please edit

line 64 to be SKINPATH = os.path.join(BASE, "share","gscreen","skins","gmoccapy_plasma")

and report about the results.

Norbert
Last edit: 10 Dec 2013 16:17 by newbynobi.

Please Log in or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.163 seconds
Powered by Kunena Forum