Thanks for testing Andy.

I am not getting the same behavior as you.

I will explain how i am testing.

First using RIP up-to-date a few days ago master

using Debian Wheezy


in a terminal with proper environment set, load linuxcnc (any one)

  (You need to do this so gremlin doesn't display garbage - you always had to- 
should be fixed)


in another terminal with proper environment set either:


    load the sample gladevcp with halcmd loadusr gladevcp test.glade

    or simple start glade in the terminal and add hal_gremlin to a window.


I immediately see errors about not finding INI_FILE_NAME in os.environ

If I patch around that, I get errors I assume from changes for JA:


Traceback (most recent call last):
  File "/home/chris/emc2-dev/lib/python/gremlin.py", line 194, in expose
    if self.perspective: self.redraw_perspective()
  File "/home/chris/emc2-dev/lib/python/rs274/glcanon.py", line 351, in inner
    return f(self, *args, **kw)
  File "/home/chris/emc2-dev/lib/python/rs274/glcanon.py", line 585, in 
redraw_perspective
    self.redraw()
  File "/home/chris/emc2-dev/lib/python/rs274/glcanon.py", line 1349, in redraw
    idx = self.idx_for_home_or_limit_icon(string)
  File "/home/chris/emc2-dev/lib/python/rs274/glcanon.py", line 1044, in 
idx_for_home_or_limit_icon
    self.trajcoordinates)
  File "/home/chris/emc2-dev/lib/python/rs274/glcanon.py", line 1457, in 
jnum_for_aletter
    guess = trajcoordinates.index(aletter)
ValueError: substring not found.

Is this not the case for you?

Chris M

________________________________
From: andy pugh <bodge...@gmail.com>
Sent: December 3, 2016 11:35 AM
To: EMC developers
Subject: Re: [Emc-developers] HAL_GREMLIN broken in master?

On 3 December 2016 at 07:13, Chris Morley <chrisinnana...@hotmail.com> wrote:
> Could someone confirm that building a stand alone gladevcp panel using 
> hal_gremlin is not possible in master.

When you say "stand alone" do you mean one that is loaded from halrun
without LinuxCNC running?

I have tried 2.7 and master and the behaviour seems the same (and
neither work properly)

I made a simple glade UI consisting of a window and a hbox containing
a button and a HAL gremlin widget.

in both 2.7 and master:

halrun
loadusr gladevcp gremlin.ui

opens the window but the Gremlin pane shows whatever was on screen
when it was created, and lets you move that around.

linuxcnc
halcmd -kf
loadusr gladevcp gremlin.ui

Is a bit better. But with both OS versions I only get the origin
triad, and that tends to disappear when the screen is rotated.
No G-code preview is seen

But I have never tried to use Gremlin before, so may be omitting steps.

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
- George Fitch, Atlanta Constitution Newspaper, 1916

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Slashdot: News for nerds, stuff that matters<http://sdm.link/slashdot>
sdm.link
Slashdot: News for nerds, stuff that matters. Timely news source for technology 
related news with a heavy slant towards Linux and Open Source issues.


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
Emc-developers Info Page - 
SourceForge<https://lists.sourceforge.net/lists/listinfo/emc-developers>
lists.sourceforge.net
The Enhanced Machine Controller (EMC) is a CNC machine controller that runs on 
Linux and is available under the terms of the GNU General Public License.


------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to