Error when launching LinuxCNC with Gmoccapy

More
20 Jul 2017 18:59 #96165 by nonkeldw
Hello

I 'have setup my machine with success. Now I want to migrate to Gmoccapy but this will not work.
I found and followed this tutorial: linuxcnc.org/docs/html/gui/gmoccapy.html
After launching LinuxCNC i got this error: "Invalid icon size 48 Self.widget.window1.show()"
What is wrong with my configuration?

Thanks!

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

More
20 Jul 2017 21:28 #96180 by newbynobi
That is not an error, just a Information,
Please check for other errors, most probably a hal connection error.
Norbert

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

More
21 Jul 2017 07:34 #96210 by nonkeldw
Thanks for your answer.

This is my output:
/usr/bin/gmoccapy:237: GtkWarning: Invalid icon size 48

  self.widgets.window1.show()

(gmoccapy:3883): GtkSourceView-CRITICAL **: gtk_source_language_manager_set_search_path: assertion `lm->priv->ids == NULL' failed
/usr/bin/linuxcnc: regel 857:  3883 Geƫlimineerd           $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS

Thanks.

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

More
21 Jul 2017 13:06 #96218 by nonkeldw
Update:

This is my DISPLAY
[DISPLAY]
DISPLAY = gmoccapy
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.500000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1
PROGRAM_PREFIX = "MyPC"
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 20.000000
MAX_LINEAR_VELOCITY = 150.000000
MIN_LINEAR_VELOCITY = 0.500000
DEFAULT_ANGULAR_VELOCITY = 12.000000
MAX_ANGULAR_VELOCITY = 180.000000
MIN_ANGULAR_VELOCITY = 1.666667
EDITOR = gedit
GEOMETRY = xyz

This works!
When i add LATHE = 1, then i got the error:

(gmoccapy:5228): GtkSourceView-CRITICAL **: gtk_source_language_manager_set_search_path: assertion `lm->priv->ids == NULL' failed
/usr/bin/linuxcnc: regel 857: 5228 Geƫlimineerd $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS

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

More
24 Jul 2017 16:45 #96355 by newbynobi
The problem seems to be, that you have a XYZ configuration, but a lathe is a two axis machine with just X and Z.
That may cause a error, but again, what you post as error is not the error that causes the GUI not to start.

Please check in your home directory for linuxcnc_print.txt and linuxcnc_debug.txt and post the files.

Norbert

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

More
30 Jul 2017 15:19 #96683 by nonkeldw
Hello

Sorry for the delay.
See the picture below:

I add also my error file.

Thanks.
Attachments:

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

More
30 Jul 2017 19:15 #96693 by newbynobi
Are you running debian stretch?

If you run from normal 2.7 release CD, than you have not installed Python-gstreamer
If you run actal master brunch, just pull the latest release, I fixed that a few days ago.

Norbert

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

More
31 Jul 2017 06:59 #96723 by nonkeldw
Yes, I use debian stretch.
Is that a problem for Gmoccapy?

Thanks.

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

More
31 Jul 2017 07:05 #96725 by rodw

Yes, I use debian stretch.
Is that a problem for Gmoccapy?

Thanks.


No, its just you have not installed one of the prerequisites.

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

More
31 Jul 2017 07:55 #96726 by nonkeldw
Hello

The packet "Python-gstreamer" is not available in the repository.

Thanks

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

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