Re: [Emc-developers] vismach example movies

2024-05-23 Thread andy pugh
On Thu, 23 May 2024 at 19:02, Stuart Stevenson  wrote:

> https:/l/videobin.org/+87f/b08.html
> https://videobin.org/+87g/b09.html
> https://videobin.org/+87i/b0b.html
> https://videobin.org/+87j/b0c.html
> https://videobin.org/+87k/b0d.html


I am pretty sure that videobin no longer exists. The videos seem to have
been uploaded by tjtr33

-- 
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, 1912

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


Re: [Emc-developers] vismach example movies

2024-05-23 Thread andy pugh
On Wed, 22 May 2024 at 20:14, Stuart Stevenson  wrote:

> Gentlemen,
>   The wikiQuick links to vismach movies
> links do not work.


Which link?

-- 
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, 1912

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


Re: [Emc-developers] The Wiki Certificate might have expired

2024-05-18 Thread andy pugh
On Sat, 18 May 2024 at 13:33, Alan Condit via Emc-developers <
emc-developers@lists.sourceforge.net> wrote:

>
> It works here on my Mac.


It may have been fixed, Tommylight reported the same issue on the forum
yesterday.

-- 
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, 1912

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


[Emc-developers] The Wiki Certificate might have expired

2024-05-17 Thread andy pugh
My Mac is really unwilling to visit wiki.linuxcnc.org


-- 
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, 1912

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


Re: [Emc-developers] Canned cycles on the lathe, in the G19 plane

2024-05-11 Thread andy pugh
On Fri, 29 Mar 2024 at 19:58, andy pugh  wrote:

> it has been pointed out in a bug report that if you run the canned
> cycles in lathe diameter mode in the G19 plane, then the X axis is in
> diameter, but the R value (retract position) is in radius.
>
> https://github.com/LinuxCNC/linuxcnc/issues/2948


This is still an outstanding issue.

The original reporter is adamant that cycles should support both radius and
diameter mode (and insists that other controllers do this).

I don't think that diameter mode has any meaning in the context of a canned
cycle.

I think that the best (and "least surprise") solution is to reject canned
cycles in diameter mode. This removes all ambiguity.

But I really want to hear more opinions on this than the two divergent
views we have now.

-- 
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, 1912

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


Re: [Emc-developers] 2.9.3 release schedule inquiry

2024-05-11 Thread andy pugh
On Sat, 11 May 2024 at 21:18, Chris Morley 
wrote:

> bump
>

I am really struggling to find time to even get started, I am afraid.

-- 
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, 1912

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


Re: [Emc-developers] Bug#1070025: mesaflash FTCBFS: multiple reasons

2024-04-30 Thread andy pugh
On Mon, 29 Apr 2024 at 13:54, Helmut Grohne  wrote:

>
> I'm attaching a patch for your convenience.
>
>
Who is the Debian maintainer for Mesaflash? I don't believe it to be me.

-- 
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, 1912

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


Re: [Emc-developers] LinuxCNC gathering in Norway - July 5th-7th 2024

2024-04-25 Thread andy pugh
On Tue, 19 Mar 2024 at 02:21, Asle Næss via Emc-developers <
emc-developers@lists.sourceforge.net> wrote:

The location is a metal workshop 15 minutes drive away from to the
> Gardermoen airport (OSL), where there is a lot of space and a hotel only
> 5 minutes away by car.  We plan to fire up the barbeque in the evenings.
>
> Please let us know if you would like to join.  We track the list of
> participants on https://pad.efn.no/p/linuxcnc-2024-norway>.


Is anyone else coming? I can recommend it :-)


-- 
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, 1912

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


Re: [Emc-developers] List of includes for components

2024-04-18 Thread andy pugh
On Thu, 18 Apr 2024 at 11:47, Marius Liebenberg 
wrote:

>
> >   Are you talking about Python or C?
>

You can get an idea of the normal ones by looking at the code for
halcompile:

https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/utils/halcompile.g#L271

This query at github will show you everything anyone else has used:
https://github.com/search?q=repo%3ALinuxCNC%2Flinuxcnc+%23include+path%3A%2Fsrc%2Fhal%2Fcomponents%2F*.c=code



-- 
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, 1912

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


Re: [Emc-developers] List of includes for components

2024-04-18 Thread andy pugh
On Wed, 17 Apr 2024 at 10:08, Marius Liebenberg 
wrote:

>
> Is there a document that lists all the includes (modules) that can be
> used to develop a component for linuxcnc?
>

Not that I know of.

 Are you talking about Python or C?

-- 
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, 1912

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


Re: [Emc-developers] How closely do we need to adhere to the NIST standard?

2024-04-09 Thread Andy Pugh



> On 9 Apr 2024, at 19:43, Nicklas SB Karlsson  wrote:
> 
> There might be requirements for safety reasons but do not think we need to 
> care about some standard require MDI commands
> to be executed only with a physical button.

This is actually already the case with Touchy, FWiW. And is one of the reasons 
I use it. 

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


[Emc-developers] How closely do we need to adhere to the NIST standard?

2024-04-09 Thread andy pugh
Apart from anything else, I am not sure that it is a standard.

This is based on bug report #2956. Our current behaviour does not match the
NIST RS274 interpreter "report" from 2000.

The last actual "RS" standard (ie the RS in RS274) was issued in the 1970s.
There is an ISO standard from 1982, and then the NIST EMC report from 2000.

My own feeling is that any deliberate deviation from the NIST v3 report is
not a "bug" as such, and that perhaps we should simply close the "bug" as a
"feature".

Has anyone else looked at this bug report? What do you think?

https://github.com/LinuxCNC/linuxcnc/issues/2956

-- 
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, 1912

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


Re: [Emc-developers] IGBT Module Dial-a-Yield Project Ideas

2024-04-05 Thread andy pugh
On Fri, 5 Apr 2024 at 11:59, Curtis Dutton  wrote:

> I'm starting a new project to build a motor drive based upon igbt modules.
> Hoping to build something that has a single type of controller that will
> plug and play with various capacity igbt modules for various size motors.

Are you aware of the STMBL project? That would seem like a very good
starting point, as it already plays well with LinuxCNC, and works with
a wide range of feedback types (Hall sensors, resolvers, encoders  and
serial protocols)
In fact you could probably copy the LV board with only minor changes
(to account for component obsolescence) and make a new HV/power board.

https://github.com/rene-dev/stmbl/blob/master/README.md

-- 
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, 1912


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


[Emc-developers] Canned cycles on the lathe, in the G19 plane

2024-03-29 Thread andy pugh
it has been pointed out in a bug report that if you run the canned
cycles in lathe diameter mode in the G19 plane, then the X axis is in
diameter, but the R value (retract position) is in radius.

https://github.com/LinuxCNC/linuxcnc/issues/2948

I am fairly sure that whatever is done, the R and X should do the _same_ thing.
But I rather feel that you would expect to drill a hole to a radius,
not to a diameter?

The reporter wants X and R to both use diameter in diameter mode.

The worry about fixing this is that it might break existing G-code. It
might need to be an INI switch. :-(

-- 
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, 1912


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


Re: [Emc-developers] make "errors"(?)

2024-03-25 Thread andy pugh
On Sat, 23 Mar 2024 at 22:02, Stuart Stevenson  wrote:

>
> Are any of the reports important or serious?


No, that's all normal and as expected.

-- 
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, 1912

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


Re: [Emc-developers] possible documentation error

2024-03-25 Thread andy pugh
On Mon, 25 Mar 2024 at 09:56, Stuart Stevenson  wrote:

I thought about trying to fix it myself. Would that have been possible for
> me to do at my level of participation?


 I think so, but I don't know for sure.

If you find the page in Github:
https://github.com/LinuxCNC/linuxcnc/blob/master/docs/src/code/building-linuxcnc.adoc
Then near the top right is an "edit this page" icon. (only if you are
logged in). It will probably say "fork this repository and edit the file"
as it needs to make a copy that you own to keep the changes until accepted.
Then you can make the changes in the web editor and submit them as a pull
request. (all on the web)

-- 
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, 1912

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


Re: [Emc-developers] possible documentation error

2024-03-24 Thread andy pugh
On Sat, 23 Mar 2024 at 21:45, Stuart Stevenson  wrote:

> Should the word disktop be desktop?


Fixed

-- 
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, 1912

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


Re: [Emc-developers] Building from source. Was:Re Status of LinuxCNC in Debian

2024-03-22 Thread andy pugh
On Fri, 22 Mar 2024 at 15:07, Stuart Stevenson  wrote:

> I have found/installed all the configure dependencies.
> A2X stops the make process. There is no A2X in synaptic unless it is in a
> python package and not obvious.


It's part of asccidoc, I think.

Try

./autogen.sh
./configure --enable-build-documentation=none
make

That should bypass all the docs building dependencies.

-- 
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, 1912

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


[Emc-developers] Building from source. Was:Re Status of LinuxCNC in Debian

2024-03-22 Thread andy pugh
On Fri, 22 Mar 2024 at 14:35, Stuart Stevenson  wrote:

> Make will not go past a requirement for A2X. Looks like this is a python
> file.


There are lots of build-time dependencies.

You _might_ be able to (from the source root, ie below /src/

./debian/configure
sudo apt-get build-dep

-- 
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, 1912

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


Re: [Emc-developers] Status of LinuxCNC in Debian

2024-03-22 Thread andy pugh
On Fri, 22 Mar 2024 at 12:56, Stuart Stevenson  wrote:

> I want to download the source from git. Is there a script of instructions
> to get me there?


If you only want the code, and don't want to make pull requests etc, then
just download this zip file:
https://github.com/LinuxCNC/linuxcnc/archive/refs/heads/master.zip

Otherwise, see:
https://linuxcnc.org/docs/stable/html/code/contributing-to-linuxcnc.html

-- 
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, 1912

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


[Emc-developers] Status of LinuxCNC in Debian

2024-03-22 Thread andy pugh
Is LinuxCNC currently in Debian? I know that we were due for removal from
Testing, and since then I have heard no further updates from Debian about
anything at all.

-- 
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, 1912

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


[Emc-developers] Possible 2.9.3 Update

2024-03-15 Thread andy pugh
I have been asked if we can release an update to 2.9.

Does anyone have anything nearly-ready that they would like to see in 2.9
before the cutoff?

Currently I am thinking in terms of next weekend.

-- 
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, 1912

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


Re: [Emc-developers] 2.9.3 release schedule inquiry

2024-03-15 Thread andy pugh
On Fri, 15 Mar 2024 at 20:17, Chris Morley 
wrote:

> I see there are a lot of bug fixes in 2.9.
> I am getting a fair amount of request to fix things that are already fixed.
> Any rough idea when we might?


I will give it some thought, maybe try for next weekend (I should be home)

I will drop a message to the list.

-- 
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, 1912

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


Re: [Emc-developers] This run once problem just won't to away.

2024-03-11 Thread andy pugh
On Mon, 11 Mar 2024 at 00:11, gene heskett  wrote:

> Since no one has commented I updated to todays build, no help there.
> lcnc refuses to move the machine by my code more than once per startup.

It sounds like the code leaves a parameter in a state that causes the
code to skip.

If it isn't error-ing then it is probably running to completion, but
not doing what you expect.

Try running through it in single-block mode.

-- 
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, 1912


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


Re: [Emc-developers] Part of my problem with this program

2024-03-08 Thread andy pugh
On Fri, 8 Mar 2024 at 02:29, gene heskett  wrote:

>  is there a way to make it ignore such a false trigger
> during the first few milliseconds of the back to center move?

My probing routines do a fast probe onto the edge (G38.2) and then a
slower move out of contact (G38.4)
And I keep the result of the G38.4

-- 
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, 1912


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


Re: [Emc-developers] Found a new show stopper

2024-03-07 Thread andy pugh
On Thu, 7 Mar 2024 at 16:44, gene heskett  wrote:

> > o
> >
> > It needs to be
> >
> > o CALL
> >
> What line Andy, call is there in line 160 of the main do/while loop,
> you've got week old code i think as I've posted two versions.

That was from the version you posted 1 hour ago.

I can only work with what you provide.

-- 
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, 1912


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


Re: [Emc-developers] Found a new show stopper

2024-03-07 Thread andy pugh
As has been said, you are not calling the subroutines. I am surprised
that the code even runs.

You have

o

It needs to be

o CALL

-- 
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, 1912


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


Re: [Emc-developers] Found a new show stopper

2024-03-07 Thread andy pugh
On Thu, 7 Mar 2024 at 00:30, gene heskett  wrote:


>  If there is
> any error that stops it, such as a probe trip when not in a probe move,
> its all done until shut down, restarted and rehomed.

It really shouldn't need a shutdown and restart.

-- 
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, 1912


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


Re: [Emc-developers] Dynamically building a string for a varname?

2024-03-02 Thread Andy Pugh



> On 2 Mar 2024, at 12:35, gene heskett  wrote:
> 
> I renamed tholefinder.ngc to tholefinder,

Leave the filename the same. 
Rename the subroutine inside that file. 
Call it by the subroutine name. 



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


Re: [Emc-developers] Dynamically building a string for a varname?

2024-03-02 Thread andy pugh
On Fri, 1 Mar 2024 at 23:38, gene heskett  wrote:

> Well, I seem to be up to the first named subroutine call. But it cannot
> find it.

Drop the ".ngc" from the subroutine name in the .ngc fle.

You have

o sub

-- 
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, 1912


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


Re: [Emc-developers] Dynamically building a string for a varname?

2024-03-01 Thread andy pugh
On Fri, 1 Mar 2024 at 08:04, gene heskett  wrote:

> One last Q in this thread, assuming the machine has been homed and I
> want to G38.2 z-70. where contact is expected at about -67mm. But I
> occasionally get a stop before contact. Noise? Will #5070 tell me?.

No, the system can't tell the difference between a false and a genuine trigger.

-- 
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, 1912


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


Re: [Emc-developers] Dynamically building a string for a varname?

2024-02-29 Thread andy pugh
On Thu, 29 Feb 2024 at 18:14, gene heskett  wrote:

> Is it possible to concatenate several string vars into a variable name
> in order to access an array of vars

No.

But you can do this with numbered variables.

So #[100 + #3] is a valid construction.

-- 
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, 1912


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


Re: [Emc-developers] got usability problem w/master

2024-02-29 Thread andy pugh
On Wed, 28 Feb 2024 at 17:14, gene heskett  wrote:

> > The Halshow "Watch" tab can be better for this.

> Sounds useful. is it covered by a manpage?

https://linuxcnc.org/docs/stable/html/hal/tools.html#_halshow

-- 
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, 1912


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


Re: [Emc-developers] got usability problem w/master

2024-02-29 Thread andy pugh
On Wed, 28 Feb 2024 at 21:29, gene heskett  wrote:

> and I've copies of it in nc_files and in nc_files/subs, error msg claims
> EOF while searching for it.

That isn't the most helpful message, it means that it hasn't found the
subroutine in the current G-code file (and had got to the end of the
file looking)
What this normally means is that the subroutine file has not been
found in the subroutine path.
Working out why can be difficult.

-- 
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, 1912


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


Re: [Emc-developers] got usability problem w/master

2024-02-28 Thread andy pugh
On Wed, 28 Feb 2024 at 11:59, gene heskett  wrote:

> I often have as many as 8 open while developing code so I can see whats
> going on in real time and now I can't see things w/o clicking on them,

The Halshow "Watch" tab can be better for this. You can build  a list,
(and save the layout) and can also set the values of inputs, as well
as view outputs.

-- 
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, 1912


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


Re: [Emc-developers] got usability problem w/master

2024-02-28 Thread andy pugh
On Wed, 28 Feb 2024 at 01:14, gene heskett  wrote:

> Some one since the last time I wrote some gcode on my g0704, has hooked
> the hal meter up to focus status

I am not aware of any changes made to Halmeter recently.

Chris has made some stylesheet changes to QtVCP but I wouldn't expect
that to affect Halmeter.

Have you made any local changes to your GUI theme?

-- 
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, 1912


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


Re: [Emc-developers] Problems with multi axis behaviour in Gmoccapy nad QTDragon

2024-02-21 Thread andy pugh
On Wed, 7 Feb 2024 at 07:04, Marius  wrote:

> G49 should not be used with a multi axis machine at all and there should
> be an option either on the gui or in the setup to allow the user to make
> the choice if they want to use it or not.

Can you convert this into an issue report? Otherwise it is likely to get lost.

-- 
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, 1912


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


Re: [Emc-developers] Also prepared a Hugging Face LinuxCNC assistant. Aw: Re: LinuxCNC-aware chat bot

2024-02-07 Thread andy pugh
On Wed, 7 Feb 2024 at 11:31, Rod Webster  wrote:
>
> It lied a lot when I asked
>
> build me a hal file for a 3 axis milling machine that uses a mesa card

I got decent answers to "Can I use the carousel HAL component with a
Fanuc encoder" and "Can I write a HAL realtime component in Python"

Overall I am rather awed.

-- 
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, 1912


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


Re: [Emc-developers] Error fetching from buildbot

2024-02-05 Thread andy pugh
On Mon, 5 Feb 2024 at 08:20, Marius  wrote:

> deb http://buildbot.linuxcnc.org buster 2.9-rtpreempt
> deb-src http://linuxcnc.org buster 2.9-rtpreempts

They should both be builbot.linuxcnc.org, and it's "preempt" not "preempts"



-- 
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, 1912


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


Re: [Emc-developers] LinuxCNC-aware chat bot

2024-02-04 Thread andy pugh
On Sun, 4 Feb 2024 at 17:51, Steffen Möller via Emc-developers
 wrote:

> I added all in src that ends with .comp or .hal. This is what now happened. I 
> was a bit surprise by the emphasis on Python.

> Copy code
> #include "hal.h"
> #include 
> #include 
> #include 
>
> static int comp_id; // Component ID
> static hal_bit_t *signal; // Pointer to the signal pin

This all seems slightly scary, has anyone tried these?

I am not 100% sure that you can use stdio.h in realtime code, though
that might only be an RTAI kernel mode thing.
(looks to be, see for example
https://github.com/LinuxCNC/linuxcnc/blob/5e7d654d772b52da7bb703788bf78951a942bc82/src/hal/components/lcd.c#L29
)

So, I for one welcome our new robot overlords.

-- 
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, 1912


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


Re: [Emc-developers] LinuxCNC-aware chat bot

2024-02-02 Thread andy pugh
On Fri, 2 Feb 2024 at 23:43, Steffen Möller via Emc-developers
 wrote:

> GPT 4 after receiving all our documentation:
> In HAL (Hardware Abstraction Layer) configuration for LinuxCNC, traditional 
> programming constructs like loops (for, while) are not directly supported in 
> the HAL configuration language itself.
...
> In summary, while HAL itself does not support loops in the way a conventional 
> programming language does, you can achieve similar outcomes through the 
> methods mentioned above. This design choice keeps HAL configurations 
> straightforward and focused on hardware-software interfacing, with more 
> complex logic handled by custom components or external scripts.

That's really quite impressive.

-- 
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, 1912


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


Re: [Emc-developers] Repositories for buildbot on bullseye

2024-02-02 Thread andy pugh
On Fri, 2 Feb 2024 at 07:25, Marius  wrote:

> I need to get master installed to try and get the machines running
> again. There seems to be no repository for Bullseye master. How do I go
> about getting that please.

Try Sebs experimental buildbot: http://buildbot2.highlab.com/


-- 
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, 1912


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


Re: [Emc-developers] Cannot clone from github

2024-01-31 Thread andy pugh
On Wed, 31 Jan 2024 at 16:35, Marius  wrote:

> RPC failed;  stream was not closed cleanly; CANCEL (err 8)

https://gist.github.com/daopk/0a95772d582cafb202142ff7871da2fc

Suggests changing to a different network connection for Err 8, but I
don't know if that is feasible for you?

-- 
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, 1912


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


Re: [Emc-developers] Raspi stuff in 2.9.2 update

2024-01-22 Thread andy pugh
On Mon, 22 Jan 2024 at 13:30, Marius  wrote:
>
> Rod is it going to stuff up my installation at all? How do I get around it?

Did you follow the link I sent? That said what to uninstall and delete.

-- 
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, 1912


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


Re: [Emc-developers] Raspi stuff in 2.9.2 update

2024-01-22 Thread andy pugh
On Mon, 22 Jan 2024 at 09:54, Marius  wrote:

> Every time I install anything the update process tries to install these
> kernel and raspberrypi stuff.

Are you using a Pi or not?

> How do I get rid of this please?

This appears to be a problem in the Debian installer.
https://forums.debian.net/viewtopic.php?t=155245
(There is a fix there too)


-- 
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, 1912


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


Re: [Emc-developers] RPImager problem Aw: Re: RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2024-01-01 Thread andy pugh
On Mon, 1 Jan 2024 at 13:57, andy pugh  wrote:

> Try not doing that? The RPi Imager will accept a .xz file.
> I just wrote the Pi5  XZ straight to an SD card with no complaints.

Oh, wait, you mean Rod's latest images? The one at www.linuxcnc.org
seem to work.

-- 
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, 1912


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


Re: [Emc-developers] RPImager problem Aw: Re: RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2024-01-01 Thread andy pugh
On Mon, 1 Jan 2024 at 13:12, Steffen Möller via Emc-developers
 wrote:

> I downloaded the RPi5 image , ran xz -dt on it with no complaint

Try not doing that? The RPi Imager will accept a .xz file.
I just wrote the Pi5  XZ straight to an SD card with no complaints.

-- 
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, 1912


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


Re: [Emc-developers] Merge 2.9 to master

2023-12-31 Thread andy pugh
On Sun, 31 Dec 2023 at 12:14, Hans Unzner  wrote:

> You mean via Github by the author of the PR? Not sure if that will work.
> Better that the person who merges it keep track of it.

That assumes that the person who accepts the merge understands the
code as well as the one creating the code, which is rarely likely to
be the case?

-- 
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, 1912


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


Re: [Emc-developers] Merge 2.9 to master

2023-12-31 Thread andy pugh
On Sun, 31 Dec 2023 at 11:50, Hans Unzner  wrote:

> > Is it the job of the person who accepts the PR to merge it upstream?
> > Or a secondary task for the Pull Requestor?
> >
> I think it would be the best if the person who accepts the PR or the
> persons who makes changes which could cause conflicts merge the branch
> upwards.

Yes, so do I. I was asking which it should be.

Maybe PRs to 2.9 (and earlier) should also be presented with a
merge-PR to upstream branches?

-- 
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, 1912


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


Re: [Emc-developers] Merge 2.9 to master - Partially completed

2023-12-31 Thread andy pugh
Chris M: Can you look at linuxcnc/lib/python/qtvcp/qt_pstat.py? Based
on commit dates I think you probably wanted both sets of changes in?
(functions mportDefaultHandler from 2.9 and isUsingDefaultHandler +
getQSSPaths from master?

Håvard F. Aasen: Can you take a look at emcrsh.cc lines 573-584 &
1246-1253,? Your commit 18f0295 changed the handling of some string
checks, but master was already significantly changed by
https://github.com/LinuxCNC/linuxcnc/commit/8b91f27d5f9c2523e4e4350efa38e5264aa51280
using rtapi_strlcpy, which I think is maybe better? I have kept the
master version.


-- 
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, 1912


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


Re: [Emc-developers] Merge 2.9 to master

2023-12-31 Thread andy pugh
On Sun, 31 Dec 2023 at 10:58, Hans Unzner  wrote:
>
> It's been a while since 2.9 was merged to master (almost 3 months).

I suppose that's one of the drawbacks of working through pull-requests.

Is it the job of the person who accepts the PR to merge it upstream?
Or a secondary task for the Pull Requestor?

-- 
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2023-12-29 Thread andy pugh
On Sat, 30 Dec 2023 at 00:27, Steffen Möller via Emc-developers
 wrote:

> Andy's image was a success - I just did not know the passwords.

I mentioned it in a previous message, but it is cnc / cnc

-- 
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2023-12-29 Thread andy pugh
On Fri, 29 Dec 2023 at 17:56, andy pugh  wrote:

> Let me look to see what I have.

Try this one
rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img.xz

Raspi-imager can work directly with .xz files, no need to expand.

Note that you need to use menu-config to set up the Wifi.


--
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2023-12-29 Thread andy pugh
On Sat, 30 Dec 2023 at 03:53, andy pugh  wrote:

> That's odd. I am replying to this email on _my_ Pi5 and it works fine.
> I can't remember the exact details of how I got here,

Looking further, almost certainly not with the image from
linuxcnc.org/iso as that was built a month before the timestamp of the
kernel that I am using.

Let me look to see what I have.

-- 
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2023-12-29 Thread andy pugh
On Sat, 30 Dec 2023 at 02:23, Steffen Möller via Emc-developers
 wrote:

> I just went for it and it does not work for the RPi5 - stating that the 
> device tree would not be found and that the bcm2712-rpi-5-b.dtb cannot be 
> found.

That's odd. I am replying to this email on _my_ Pi5 and it works fine.
I can't remember the exact details of how I got here, but it seems to
be the LinuxCNC image that Rod built, as it is username cnc and
password cnc (and I don't do that). Also the kernel build timestamp is
in the AEST timezone.

The latency is pretty decent.

-- 
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, 1912
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latencytests-firstimpressions

2023-12-28 Thread andy pugh
On Thu, 28 Dec 2023 at 20:35, Rod Webster  wrote:

> Its really too late to offer solutions now, get behind the current build
> process and work with it.

You mean where I build the images by hand over the course of weeks? I
don't think that's the ideal solution.

-- 
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2023-12-28 Thread andy pugh
On Thu, 28 Dec 2023 at 14:07, Daniel Hiepler
 wrote:oot I had no more Wifi and (worse)
the ventilator was a max
>
> I encountered similar problems and decided to build my own kernel. I created 
> a "fire & forget" bash script to build an image from the ground up and 
> compiles linuxcnc+rt kernel on the pi:

Why do people keep reinventing this particular wheel? We distribute a
Pi SD card image via www.linuxcnc.org.

If there is something about it that you don't like, then make a change
request, rather than dividing the effort.

-- 
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests-firstimpressions

2023-12-28 Thread Andy Pugh


> On 28 Dec 2023, at 12:55, gene heskett  wrote:
> 
> Any chance of updating the buildbots page yellow table?

I can’t. I have no access to the buildbot. 

Anyway, the buildbot doesn’t build anything for arm64. 



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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests-first impressions

2023-12-28 Thread andy pugh
On Thu, 28 Dec 2023 at 03:24, gene heskett  wrote:

> All packages are up to date.
> W: Skipping acquire of configured file '2.9-rt/source/Sources' as
> repository 'https://www.linuxcnc.org bookworm InRelease' does not seem
> to provide it (sources.list entry misspelt?)

There isn't a 2.9-rt for Pi, only a 2.9-uspace.
You can remove 2.9-rt from the sources.list.d if that message bothers you.

-- 
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2023-12-27 Thread andy pugh
On Thu, 28 Dec 2023 at 01:15, andy pugh  wrote:

> http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_raspberry_pi_image

Sorry, the link to the image is higher up the same page:
http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_normal_download

-- 
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2023-12-27 Thread andy pugh
On Thu, 28 Dec 2023 at 00:58, Steffen Möller via Emc-developers
 wrote:
> I looked through our documentation today but did not find anything beyond the 
> use of RPi GPIOs.

http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_raspberry_pi_image

And (same page)

http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_installing_on_raspbian_12

-- 
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, 1912


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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions

2023-12-27 Thread andy pugh
On Wed, 27 Dec 2023 at 15:20, Steffen Möller via Emc-developers
 wrote:

> My RPi5 arrived over Xmas and I just fired it up, was offered to install 
> LinuxCNC directly from what we offer in Debian, and then ran latency tests.  
> Graphics (as in video but also the extra art from your X interface when 
> ALT-tabbing through your applications) have the most effect on the latency. 
> I/O from the SD does not seem to affect it too much.

The numbers you show are _awful_ though?

It doesn't look like the LinuxCNC installation has installed the
correct kernel. (I seem to recall that I had to do a fair bit of
fiddling to make it happen, it's a Pi thing)

-- 
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, 1912


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


Re: [Emc-developers] Bug#1055493: linuxcnc-uspace, linuxcnc-uspace-dev: both packages ship the manpages

2023-12-19 Thread andy pugh
On Mon, 18 Dec 2023 at 18:31, Sudip Mukherjee
 wrote:

> > However I haven't so far worked out why the man3 sections are being
> > included in the main package installer.
> > (the commands in man3 are only of interest to developers)
>
> From 
> https://sources.debian.org/src/linuxcnc/2.9.1-2/debian/linuxcnc-uspace.manpages/#L2

OK, so where does _that_ file come from? I don't see it in our source
repository:
https://github.com/LinuxCNC/linuxcnc-gbp/tree/debian/unstable/debian

-- 
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, 1912


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


Re: [Emc-developers] .po and .pot files in git

2023-12-17 Thread andy pugh
On Sun, 17 Dec 2023 at 21:40, Hans Unzner  wrote:

> If you think the files are generated correctly, you should commit them.

They probably are, but how would I tell?

-- 
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, 1912


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


[Emc-developers] .po and .pot files in git

2023-12-17 Thread andy pugh
When I do test builds on my local machine I seem to create new .po and
,pot files.

These show up as uncommitted changes in Git, and prevent rebasing etc.

What is the right thing to do with these?

-- 
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, 1912


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


Re: [Emc-developers] Debian bug 1055493 is going to get us removd from Debian

2023-12-16 Thread andy pugh
On Sat, 16 Dec 2023 at 19:27, andy pugh  wrote:

> And I have no idea how to even test this, let alone fix it.

A not very productive chat on the debian IRC suggests that
dh_installman spiders the temp directories and installs all manpages
that it finds, regardless of what the .install files suggest.

So that might be what it happening here. (We don't call that tool, but
it is possible that the debian build system does)

-- 
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, 1912


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


[Emc-developers] Debian bug 1055493 is going to get us removd from Debian

2023-12-16 Thread andy pugh
Does anyone have any ideas about this?
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055493
I don’t understand it.
If you:
wget 
http://buildbot2.highlab.com/debian/dists/bookworm/2.9-uspace/binary-amd64/linuxcnc-uspace_2.9.0.97.g052a73adc4_amd64.deb
then:
dpkg -c ./linuxcnc-uspace_2.9.0.97.g052a73adc4_amd64.deb | grep halcompile
It comes up blank, as s it should, as "halcompile" is only meant to be
in the -dev package.
(this is the most recent build from our buildbot, but the buildbot has
a version numbering issue)
But if you get the deb from Debian:
wget 
http://http.us.debian.org/debian/pool/main/l/linuxcnc/linuxcnc-uspace_2.9.1-2_amd64.deb
Then on that run the search:
dpkg -c linuxcnc-uspace_2.9.1-2_amd64.deb | grep halcompile
the result is
-rw-r--r-- root/root  1428 2023-11-05 11:59
./usr/share/man/man1/halcompile.1.gz
So packages built by Debian package files differently to how they are
packaged when crealted locally.
And I have no idea how to even test this, let alone fix it.


-- 
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, 1912


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


Re: [Emc-developers] 2.9.2

2023-12-15 Thread andy pugh
On Sun, 10 Dec 2023 at 10:36, Steffen Möller via Emc-developers
 wrote:

> Please allow me to fix the double-installation of that one manual page prior 
> to the release.

Did you get anywhere with this? I have looked through the files in
/debian and can't see how or why that would happen.

Is this controlled by the .install files? I don't see any overlap of
the man3* and man1/halcompile files

https://github.com/LinuxCNC/linuxcnc-gbp/blob/debian/unstable/debian/linuxcnc-uspace.install
https://github.com/LinuxCNC/linuxcnc-gbp/blob/debian/unstable/debian/linuxcnc-uspace-dev.install

-- 
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, 1912


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


Re: [Emc-developers] 2.9.2

2023-12-10 Thread andy pugh
Github CI is failing with:

E: Failed to fetch
http://deb.debian.org/debian/pool/main/l/linux-signed-amd64/linux-image-6.1.0-14-rt-amd64_6.1.64-1_amd64.deb
403 Access denied - broken package [IP: 199.232.30.132 80]
E: Failed to fetch
http://deb.debian.org/debian/pool/main/l/linux-signed-amd64/linux-image-rt-amd64_6.1.64-1_amd64.deb
403 Access denied - broken package [IP: 199.232.30.132 80]

Is that a problem in our CI YAML or with the Debian server?

-- 
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, 1912


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


Re: [Emc-developers] 2.9.2

2023-12-10 Thread andy pugh
On Sun, 10 Dec 2023 at 10:36, Steffen Möller via Emc-developers
 wrote:

> Please allow me to fix the double-installation of that one manual page prior 
> to the release.

I think it's a double-installation of all of the man3 folder? I was
expecting to fix that myself, but I am more than happy for someone
else to do it who is more likely to know how.

> Concerning the tag and ensuring that you exactly know what you are tagging, 
> does it help that you can specify the commit that you want to tag?

Not really, the issue is with what prompts the buildbot to build a set
of release debs into http://buildbot.linuxcnc.org/release/ (and the
equivalent for buildbot2, which does not actually seem to be
responding right now)

-- 
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, 1912


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


[Emc-developers] 2.9.2

2023-12-09 Thread andy pugh
There are a number of important bug fixes waiting for release
(including that I broke run-from-line in Axis. Oops).

I plan to make a 2.9.2 release in the next few days. This is largely
predicated on me figuring out how to fix the Bullseye builds, which
looks to be just putting the newer po4a where the Bullseye buildbot
can find it.

I am hoping not to have to hand-build all the debs again, like I did
for the 2.9.1 release.

Why did I have to do that? Because between me creating the tag and
pushing it, there was a commit made. Well. maybe my fault, I could
have done a --dry-run, but that still leaves a window of opportunity
for a commit to break the process.

This was nobody's fault, but it meant that the tag got pushed, but not
the commit (or vice-versa) and the buildbot didn't make the debs.

The build notes at
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ReleaseCheckList do say:

"Ideally make it so no one will commit to the release branch while
you're working, but I'm not sure how to do this."

So, two requests:

1) Tell me now if there is anything that you are working on that you
want to see in 2.9.2
2) From now until I say otherwise, please check this mailing list for
a post entitled "2.9 frozen until further notice"

-- 
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, 1912


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


Re: [Emc-developers] Bug#1056990: src:linuxcnc: fails to migrate to testing for too long: unresolved RC issue

2023-12-07 Thread andy pugh
On Thu, 7 Dec 2023 at 18:03, Hans Unzner  wrote:

> Why do you think there is more to do than to fix the man page issue?

Because, once the change is made, someone then needs to make a source
package to upload to Debian, which is a fair bit of effort, and which
we have no way to test (that I am aware of) against the Debian package
checks.

The process (on top of the existing LinuxCNC release process) is
documented here:
https://github.com/LinuxCNC/linuxcnc-gbp/blob/debian/unstable/debian/README.source

However, it has come to light that I broke "run from here" in the Axis
GUI in 2.9.1 so 2.9.2 is likely to be released pretty soon.

--
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, 1912


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


Re: [Emc-developers] removed subdor in tests on linuxcnc branch linuxcnc-barwidget

2023-11-29 Thread andy pugh
On Mon, 27 Nov 2023 at 06:59, Thomas J Powderly  wrote:

> That breaks build , so  I removed tests/pyvcp-bar ( git rm ...)

You could have added an empty file called "skip" to the test folder:

See: https://linuxcnc.org/docs/2.9/html/code/writing-tests.html

Also, don't get too hung-up on your test branch failing to build,
that's what test branches are for.


--
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, 1912


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


Re: [Emc-developers] Bug#1056990: src:linuxcnc: fails to migrate to testing for too long: unresolved RC issue

2023-11-28 Thread andy pugh
On Tue, 28 Nov 2023 at 15:45, Steffen Möller  wrote:

> We will not be part of the next Debian release if we do not fix (or otherwise 
> close) the bugs reported against our package.

It looks like a simple fix, possibly, as it is just the man3 pages:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055493

But, it's probably a complete pain to fix, requiring days of arcane
messing about in a poorly-understood (and separate) build system.

And I simply can't be bothered.

-- 
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, 1912


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


Re: [Emc-developers] Strange error in multi axis mode

2023-11-28 Thread andy pugh
On Mon, 27 Nov 2023 at 17:51, Marius  wrote:

> We get a joint following error every time the gcode program comes to an
> end or when we stop the run mode.

This sounds like it happens when you transition from coordinated mode
to free / teleop mode. Which aligns with what Chris is saying.

During G-code operation the system is only using the inverse kins, to
calculate required joint positions from axis commands.
When the program ends it switches modes and runs the forward kins to
update the internal positions, and it feels like it is at this point
that you see an issue

-- 
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, 1912


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


Re: [Emc-developers] Bug#1056990: src:linuxcnc: fails to migrate to testing for too long: unresolved RC issue

2023-11-28 Thread andy pugh
On Mon, 27 Nov 2023 at 16:17, Paul Gevers  wrote:

> The Release Team considers packages that are out-of-sync between testing
> and unstable for more than 30 days as having a Release Critical bug in
> testing [1].

Can anyone explain what this means?  I understand the words but not
what they mean when arranged in this order.



--
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, 1912


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


Re: [Emc-developers] Looking for rtapi_shmem example between RT- C comp and Uspace Python comp?

2023-11-17 Thread andy pugh
On Fri, 17 Nov 2023 at 15:44, Ted  wrote:

> I am looking to be able to share some large [fixed] co-ordinate value
> arrays between a realtime component, but source it from an external flat
> file (via a complementary userspace component).

Is this related to wanting to do height mapping, or laser rastering,
or something?

Whilst this could be done with shared memory, you might also want to
look at using the HAL port to send the data serially.

This is how the "raster" HAL component does it:
https://linuxcnc.org/docs/devel/html/man/man9/raster.9.html

Both the HAL "port" and the raster comp are pretty new. HAL ports are
new in 2.9 and the raster comp is still only in master/2.10

-- 
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, 1912


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


Re: [Emc-developers] interpreter errors and motion

2023-11-13 Thread andy pugh
On Fri, 20 Oct 2023 at 22:10, John Allwine  wrote:

> I'm hoping someone might have some insight into an error I encountered
> today. I have a roughly 11,000 line G code program, with a bad cutter
> compensation code (Length of cutter compensation entry move is not greater
> than the tool radius) about 4,500 lines into the program. The read-ahead
> doesn't see the error until the motion of the machine is about 1,500 lines
> into the program (~5 minutes of run time in). It reports the error at that
> point through the linuxcnc.error_channel, but continues to run until about
> line 2,800 and then halts (~8.5 minutes of run time in).

Does it stop before the bad move? Or are you saying that it continues
past it, and then stops some time later?

Are you running a GUI which has a graphical preview? Errors like
thiswill often me flagged during the preview stage. otherwise I think
that the interpreter stops at "queue busters" and so you won't see the
error until execution is in the queue section of the code.

If you have a tool change or a probe, for example, i think that the
lookahead stops there.

-- 
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, 1912


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


Re: [Emc-developers] Upcoming stable point release (12.3)

2023-11-12 Thread andy pugh
On Sun, 12 Nov 2023 at 17:54, andy pugh  wrote:
>
> Can we try to get a bugfix for
> https://github.com/LinuxCNC/linuxcnc/issues/2587 into this?

This also has a Debian bug number too:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053251

-- 
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, 1912


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


[Emc-developers] Fwd: Upcoming stable point release (12.3)

2023-11-12 Thread andy pugh
Can we try to get a bugfix for
https://github.com/LinuxCNC/linuxcnc/issues/2587 into this?

I have already prepared a file to upload, but don't know if it is of
the right type. (Should it be a diff file rather than a full new
source?)


-- Forwarded message -
From: Adam D. Barratt 
Date: Sun, 12 Nov 2023 at 17:49
Subject: Upcoming stable point release (12.3)
To: 


Hi,

The next point release for "bookworm" (12.3) is scheduled for Saturday,
December 9th. Processing of new uploads into bookworm-proposed-updates
will be frozen during the preceding weekend.

Regards,

Adam



-- 
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, 1912


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


Re: [Emc-developers] Bug#1055493: linuxcnc-uspace, linuxcnc-uspace-dev: both packages ship the manpages

2023-11-07 Thread andy pugh
On Tue, 7 Nov 2023 at 10:45, Andreas Beckmann  wrote:
>
> Package: linuxcnc-uspace,linuxcnc-uspace-dev
> Version: 2.9.1-2
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package failed to install
> because it tries to overwrite other packages files:

I assume that this could be fixed by deleting the last line here:
https://github.com/LinuxCNC/linuxcnc/blob/2.9/debian/linuxcnc-uspace-dev.install

However I haven't so far worked out why the man3 sections are being
included in the main package installer.
(the commands in man3 are only of interest to developers)


--
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, 1912


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


[Emc-developers] Fwd: Fw: RTAI Package Building Failure

2023-10-31 Thread andy pugh
-- Forwarded message -
From: Alec Ari 
Date: Tue, 31 Oct 2023 at 02:32
Subject: Re: [Emc-developers] Fw: RTAI Package Building Failure
To: andy pugh , EMC Developers



My emails aren't getting through to the mailing list anymore..

I haven't seen that error before, is asciidoc and a2x installed?

To kill docs, I had to use this commit:

https://github.com/NTULINUX/linuxcnc-rtai-gnu11/commit/aadd9b81ee03b5054774df8ee55fffa6f91381ca

However building a debian package still fails due to missing examples.

Andy, can you forward this to the mailing list if it doesn't go through for me?

Thanks!

Alec


 On Sunday, October 29, 2023 at 08:11:10 PM UTC, andy pugh
 wrote:

On Sun, 29 Oct 2023 at 18:08, andy pugh  wrote:

> I am not sure that killing the doc generation helps, as the packaging
> part _really_ wants to package the docs too, and sulks if it can't
> find them.

And, in fact, my latest attempt failed with:

../docs/src/Submakefile:851: *** Cannot build documents, missing
AsciiDoc or some other required program, or explicitly disabled in
configure.  Stop.
make[1]: Leaving directory '/home/andypugh/linuxcnc-dev/src'
make: *** [debian/rules:34: build-stamp] Error 2

Though frankly I am puzzled as to why docs generation fails with RTAI
but not with uspace.


-- 
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, 1912


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


Re: [Emc-developers] 2.9.1 Release Status

2023-10-30 Thread andy pugh
On Mon, 30 Oct 2023 at 09:43, Rod Webster  wrote:
>
> Must be a modified one. The one you forked from me should have used the
> bookworm branch

I switched from buildbot2 to linuxcnc.org before building the installer.
I don't know what the long term plan is for buildbot2, and also it
doesn't seem like a great plan to set every installed LinuxCNC to
track the development versions.

-- 
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, 1912


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


Re: [Emc-developers] 2.9.1 Release Status

2023-10-30 Thread andy pugh
On Mon, 30 Oct 2023 at 03:56, Rod Webster  wrote:

> > was in fact due to a malformed repository entry on the test PC.
> Was this due to my installer or something in your environment?

I don't know at this point. I have forgotten the history of the VM in
question.  But as it is called "Bookworm preempt-rt" I think it is
probably a modified normal debian install.

-- 
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, 1912


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


Re: [Emc-developers] 2.9.1 Release Status

2023-10-29 Thread andy pugh
It seems that, once again, I was impossibly optimistic.

I have spent much of the day trying to go through the install process
to check that it works, only to find that a problem that I thought
_had_ to be something wrong in the repository structure / file lists
was in fact due to a malformed repository entry on the test PC.

(I also wasted several hours on the RTAI packaging, which takes about
an hour to fail to build each time.)

-- 
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, 1912


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


[Emc-developers] 2.9.1 Release Status

2023-10-27 Thread andy pugh
To an extent, 2.9.1 has already been released, but I have not made the
announcement yet as I was wanting to be able to offer RTAI debs too.

So far we have debs for uspace in linuxcnc.org/dists for Buster,
Bullseye and Bookworm.
There are also RTAI kernel debs and mesaflash debs  in /dists/ too.

There is an ISO image for amd64 and an image for Pi4 in linuxcnc.org/iso

Thanks to Rod for a lot of work on the infrastructure, and for
building the Pi image.
All the other debs have been built by hand by myself, because the
buildbot didn't seem to want to do it.

Steffen uploaded the new release to Debian Unstable today. That means
that it should be in Trixie. How (and if) we can get a bugfix version
into Debian is an unknown at the moment.

I will send out the release announcement on Sunday, after editing the
install instructions etc.
I still hope to build an RTAI deb.

However, whilst building a RIP for RTAI works fine, for some reason
the deb building system is broken for RTAI. This doesn't really make
sense (and most of the problems are with building docs under RTAI,
which makes even less sense. And trying to turn off docs makes things
worse). I can only assume that the build system for debs has bitrotted
while we haven't been building them on the buildbots.

I am going to start again from scratch this evening, as I have learned
a fair bit during the last couple of weeks of trying to build the RTAI
debs.

Note that I have been building and running RTAI RIP continually for
years, the problems are only in the deb build process.

-- 
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, 1912


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


Re: [Emc-developers] Fw: RTAI Package Building Failure

2023-10-24 Thread andy pugh
On Tue, 24 Oct 2023 at 23:46, Alec Ari via Emc-developers
 wrote:

> mv debian/linuxcnc/usr/share/doc/linuxcnc/examples 
> debian/linuxcnc/usr/share/doc/linuxcnc
> mv: cannot stat 'debian/linuxcnc/usr/share/doc/linuxcnc/examples': No such 
> file or directory

I found that, though not the "why" it's
https://github.com/LinuxCNC/linuxcnc/blob/master/debian/rules.in#L88

I think that the @MAIN_PACKAGE_NAME@ needs to be "/tmp", at least for
the RTAI build. (no idea why, though)

-- 
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, 1912


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


Re: [Emc-developers] Fw: RTAI Package Building Failure

2023-10-24 Thread andy pugh
I am seeing something very strange, there are two files
(Master_Documentation and drivers/mb2hal) that keep failing with:

make[2]: *** No rule to make target 'depends/drivers/mb2hal.d', needed
by 'Makefile'.  Stop.
make[2]: Leaving directory '/home/andypugh/linuxcnc-dev/src'
make[1]: *** [debian/rules:55: override_dh_auto_build-arch] Error 2

And, sure enough, the files don't exist:

These files also fail in every language directory too. But always the
same two files.

andypugh@rm-one:~/linuxcnc-dev$ ls -l src/depends/
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 code
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 common
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 config
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 drivers
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 examples
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 gcode
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 getting-started
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 gui
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 hal
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 install
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 integrator
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 ladder
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 lathe
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 man1
drwxr-xr-x 2 andypugh andypugh 12288 Oct 25 00:21 man3
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 man9
-rw-r--r-- 1 andypugh andypugh  1883 Oct 25 00:21 Master_Developer.d
-rw-r--r-- 1 andypugh andypugh 0 Oct 25 00:21 Master_Documentation.d.tmp
-rw-r--r-- 1 andypugh andypugh  1528 Oct 25 00:21 Master_Getting_Started.d
-rw-r--r-- 1 andypugh andypugh   875 Oct 25 00:21 Master_Integrator.d
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 motion
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 plasma
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 remap
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 tooldatabase
drwxr-xr-x 2 andypugh andypugh  4096 Oct 25 00:21 user

There is a tmp file which isn't getting renamed (but it's also a
zero-bytes zombie)

-- 
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, 1912


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


Re: [Emc-developers] Fw: RTAI Package Building Failure

2023-10-24 Thread andy pugh
On Tue, 24 Oct 2023 at 01:41, Rod Webster  wrote:
>
> > Still can't build a package, the system really does seem to be
> >  impossible to persuade to not build docs
>
> Steffan put a PR forward to enable this the debian way
> https://github.com/LinuxCNC/linuxcnc/pull/2647

I can try it, but I am not sure that it will work.

It will (I think) only affect override_dh_auto_build-indep:
https://github.com/LinuxCNC/linuxcnc/blob/master/debian/rules.in#L57

But I think it still runs override_dh_installdocs-arch:
https://github.com/LinuxCNC/linuxcnc/blob/master/debian/rules.in#L81

And here are un-switched docs-related actions also in:
override_dh_auto_install-indep:
override_dh_installdocs-indep:


And even with these commented out, the system _still_ fails,
complaining about missing docs packages files.

It _really_ doesn't want to make debs without docs.

Now, maybe I can change this with parameters to the dpkg-buildpackage
command. -uc is right (sign after building) but possibly -T is
relevant?

-- 
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, 1912


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


Re: [Emc-developers] Fw: RTAI Package Building Failure

2023-10-23 Thread andy pugh
Alec: Do the tests pass with your run-in-place build, by the way? I am
getting some odd errors in the maths tests, but not ones that seem to
be related to maths.
They actually look like a permissions problem with the temp directory.

Still can't build a package, the system really does seem to be
impossible to persuade to not build docs. I should probably have put
my efforts into fixing the doc build instead.

-- 
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, 1912


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


Re: [Emc-developers] RTAI Package Building Failure

2023-10-23 Thread andy pugh
On Mon, 23 Oct 2023 at 09:08, andy pugh  wrote:
>
> > As for the failing modules, the problem is that when you build LinuxCNC 
> > Debian packages, you're in the top directory of LinuxCNC, _not_ the src 
> > directory. In linuxcnc/src/Makefile, the value of M is $(PWD) however when 
> > you build Debian packages, this value now needs to be M="$(PWD)/src"
> >
> > How to conditionally set M=$(PWD) vs. M=$(PWD)/src depending on whether 
> > building a Debian package or not is beyond me, but that's the issue.

After a but of digging, this was last changed by you:
https://github.com/LinuxCNC/linuxcnc/commit/9695eb6b1104a54c9087947acd27f76dbb63be9d

All changes prior to that date from when RTAI was the only game in
town, so presumably worked then
https://github.com/LinuxCNC/linuxcnc/commit/fc949aa523f9ede1d7c059fa00171691c8cafe1f



--
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, 1912


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


Re: [Emc-developers] RTAI Package Building Failure

2023-10-23 Thread andy pugh
On Mon, 23 Oct 2023 at 04:22, Alec Ari via Emc-developers
 wrote:

> As for the failing modules, the problem is that when you build LinuxCNC 
> Debian packages, you're in the top directory of LinuxCNC, _not_ the src 
> directory. In linuxcnc/src/Makefile, the value of M is $(PWD) however when 
> you build Debian packages, this value now needs to be M="$(PWD)/src"
>
> How to conditionally set M=$(PWD) vs. M=$(PWD)/src depending on whether 
> building a Debian package or not is beyond me, but that's the issue.

Presumably something else in there does it, as the uspace deb build works fine.

Another concern is that the test suite is failing for me, but I am not
sure why as the errors seem to be related to writing to temp files
rather than a functional problem.

-- 
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, 1912


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


Re: [Emc-developers] RTAI Package Building Failure

2023-10-22 Thread andy pugh
On Mon, 23 Oct 2023 at 00:15, Alec Ari via Emc-developers
 wrote:
>
> One thing to try, revert 3ee51e306bbe93d424dcdcc8429feaf0b9d6ef02

Yes, that looks promising.

> Thanks for the command lines, will dig soon.

You can also try ./debian/configure -r no-docs

(I tried --no-docs and that didn't work, but I am just leaving the
build to it rather than interrupt it and try again)

-- 
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, 1912


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


Re: [Emc-developers] RTAI Package Building Failure

2023-10-22 Thread andy pugh
On Sun, 22 Oct 2023 at 22:44, Alec Ari via Emc-developers
 wrote:
>
> What on the command line do you pass to trigger building LinuxCNC against 
> RTAI? I'll need the full ./debian/configure stuff and the dpkg-buildpackage 
> strings and whatever else is required. Treat me like I'm a total Debian noob 
> :)

I might be getting there with a whole bunch of links (rather than a
proper fix in the right place) but it's ignored my --no-docs and so
it's going to take a while.


There are only two commands, from the level that contains the debian folder.

./debian/configure -r
dpkg-buildpackage -b -uc


-- 
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, 1912


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


Re: [Emc-developers] RTAI Package Building Failure

2023-10-22 Thread Andy Pugh


> On 22 Oct 2023, at 21:36, Alec Ari via Emc-developers 
>  wrote:
> 
> As a sanity check, have you done the same to ensure your RTAI environment is 
> all good? Just a quick run-in-place install for testing.

Yes, I have been building and running RIP with RTAI continuously. 

Compiling works fine, it’s (fairly) clearly something not quite right in the 
debian folder. 

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


[Emc-developers] RTAI Package Building Failure

2023-10-22 Thread andy pugh
I reverted the change which removed the ability to build RTAI packages
(https://github.com/LinuxCNC/linuxcnc/commit/6f285604ac1a1b58b2d65d5904ffec3998a833ef
) and I have created a new branch to build RTAI debs
( https://github.com/LinuxCNC/linuxcnc/tree/andypugh/2.9_rtai )

However I am not getting a successful build:

See: https://paste.debian.net/1295890/

I can see what the issue is, I think. The system uses a Makefile in
usr/src/linux-headers. (KBuild?) to build the modules, and that it
being passed a too-short path:

scripts/Makefile.build:42: /home/andypugh/linuxcnc-dev/Makefile: No
such file or directory

Note that the /src/ is missing from the file path. I have got further
by adding a softlink to the Makefile in that spot, but then it fails
with /objects/

Does anyone know what needs to change to modify that path?

-- 
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, 1912


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


Re: [Emc-developers] adding library requirement to pyvcp_widgets

2023-10-22 Thread andy pugh
On Sun, 22 Oct 2023 at 13:47, Thomas J Powderly  wrote:

> Any problems with adding importlib?

I don't see any, but I am not really one of the Pythonati.

-- 
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, 1912


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


Re: [Emc-developers] got nother bug in master

2023-10-19 Thread andy pugh
On Wed, 18 Oct 2023 at 11:49, gene heskett  wrote:

> no place
> to spec it as an RN tool.

What's an RN tool?

Radius Nose? I am fairly sure that the Axis Preview knows nothing
about that. (and as it only plits the tool tip centre, it is probably
only a cosmetic issue)

-- 
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, 1912


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


Re: [Emc-developers] lcnc bug in master?

2023-10-14 Thread andy pugh
On Sat, 14 Oct 2023 at 03:10, gene heskett  wrote:

> What I found may not actually be linuxcnc, but in linux itself. All the
> indications are that its a stale cache problem. The only way to get the
> edited code into linuxcnc is to use the pulldown to load it by displayed
> name, which apparently, because it has to show the dir contents, is the
> only way to refresh the cache.

I haven't observed this problem. Which Linux version and LinuxCNC GUI
are you using?

-- 
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, 1912


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


[Emc-developers] German PDFs

2023-10-13 Thread andy pugh
When I decided that it was time to release 2.9.0 I did that partly
based on apparently clean builds on the buildbot.
But it looks like the BB doesn't try to build PDFs?

Does anyone know why my builds fail at the point that dpkg tries to
move the PDFs into place?

-- 
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, 1912


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


  1   2   3   4   5   6   7   8   9   10   >