Re: [Emc-developers] tool database in python

2022-06-17 Thread andy pugh
On Fri, 17 Jun 2022 at 17:07, Jose Luis  wrote:

> Still need to figure the parts from linuxcnc like where i can get or put
> the data.

Dewey added an interface. I'll be honest and say that it isn't how I
would have done it. But I didn't do it so

https://linuxcnc.org/docs/devel/html/tooldatabase/tooldatabase.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] tool database in python

2022-06-17 Thread Jose Luis

Hello, turboss here


    Did a draft of Andy Pugh page on the wiki in python with sqlachemy.

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ToolDatabase


Relation between tables still not 100% done.


Still need to figure the parts from linuxcnc like where i can get or put 
the data.



Thanks.


linuxcnc_ToolDatabase.7z
Description: application/7z-compressed
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Bug#1012789: linucnc runtime prob with tiff is because of tiff

2022-06-17 Thread Steffen Möller

The problem is with the tiff library. On
https://github.com/LinuxCNC/linuxcnc/pull/1700 it is explained how to
install an earlier version from snapshot.debian.org

To trigger the problem independently from linuxcnc, try

$ wish
% package require Img


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


[Emc-developers] [Hosted Weblate] New comment in LinuxCNC/LinuxCNC Documentation

2022-06-17 Thread Steffen Möller via Emc-developers


#  Comment added

[ smoe](https://hosted.weblate.org/user/smoe/ "Steffen Möller"): [Hosted
Weblate](https://hosted.weblate.org) /
[LinuxCNC](https://hosted.weblate.org/projects/linuxcnc/) / [LinuxCNC
Documentation](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/) /
[English](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/en/)

## Source string

If, during `spindle.N.orient` being true, and `spindle.N.is-oriented` not yet
asserted the `spindle.N.orient-fault` pin has a value other than zero, the M19
command is aborted, a message including the fault code is displayed, and the
motion queue is flushed. The spindle reverts to rotation mode.

## Source string description

type: Plain text

## Comment

Should be simplified.

[Edit this string](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-
docs/en/?checksum=28dd64d307d6b291#comments)

## Source string location

[src/config/core-
components.adoc:260](https://github.com/LinuxCNC/linuxcnc/blob/master/docs/src/config/core-
components.adoc?plain=1#L260)

##  Translation Info

All strings|  [ 31,141 
](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-docs/en/) |   
---|---|
Translated strings |  [ 31,141 
](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-  
docs/en/?q=state:>=translated) |  [ 100%   
](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-  
docs/en/?q=state:>=translated) 
Untranslated strings   |  [ 0  
](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-  
docs/en/?q=state:empty)|  [ 0% 
](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-  
docs/en/?q=state:empty)
Unfinished strings |  [ 0  
](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-  
docs/en/?q=state:https://hosted.weblate.org/translate/linuxcnc/linuxcnc-  
docs/en/?q=state:https://hosted.weblate.org/translate/linuxcnc/linuxcnc-  
docs/en/?q=state:needs-editing)|  [ 0% 
](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-  
docs/en/?q=state:needs-editing)


[View](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/en/)

  
[Weblate, the libre continuous localization system.](https://weblate.org/)

Generated on June 17, 2022, 3:18 p.m..

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


[Emc-developers] Bug#1012789: tk Img error while importing

2022-06-17 Thread Steffen Möller

The same error is triggered from within Tcl/Tk. LinuxCNC I do not think
to be to blame.

$ wish
% package require Img
couldn't load file
"/usr/lib/tcltk/x86_64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so":
/usr/lib/tcltk/x86_64-linux-gnu/Img1.4.13/libtifftcl4.1
.0.so: undefined symbol: _TIFFsetString, version LIBTIFF_4.0^

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


Re: [Emc-developers] Bug#1012789: linuxcnc-uspace: Linux CNC will not start

2022-06-17 Thread Steffen Möller

The problem was also reported on
https://forum.linuxcnc.org/9-installing-linuxcnc/45634-current-master-2-9-building-debs-error
and I can confirm this locally. Above URL points to my changes to
debian/rules in https://github.com/LinuxCNC/linuxcnc/pull/1700 that have
not yet been merged with master. I need to investigate. Help would be
appreciated.

On 15.06.22 00:13, Vector Hasting wrote:

Thank you for looking at this!

(My purpose reporting here is the understanding that we're trying to debug
to get sid into stable Bookworm with LinuxCNC, and I also want LinuxCNC
working on my little SBC.)

This is potentially helpful, but doesn't immediately clear things up for
me...

Here's what I did after getting this email:

I found the following libtiff packages on my SBC:
libtiff-dev  4.4.0-2
libtiff5 4.4.0-2
libtiffxx5  4.4.0-2

When I search the debian repository, it lists these as unstable (I presume
because we're on sid).
But it also lists them as the most recent releases, not the releases from
Buster (4.2.0-1).

Trying to follow the threads further, I went after the error message you
pointed out and saw it's trying to get:   libtifftcl4.1.0.so

I searched the debian repository and nothing by the name of libtiffcl4
exists:

"You have searched for packages that names contain libtifftcl in all
suites, all sections, and all architectures.
Sorry, your search gave no results"

Interestingly, the Sourceforge branches for tkImg does not have a *branch*
for 1.4 (which appears to be what the line above is looking for)
https://sourceforge.net/p/tkimg/code/HEAD/tree/branches/

But there *is* a version 1.4.13 under tags:
https://sourceforge.net/p/tkimg/code/HEAD/tree/tags/1.4.13/

I downloaded that 1.4.13 source and used MS Code to search the downloaded
source and found a piece of code compat/libtiff/libtiff/libtiff.map that
has the string " LIBTIFF_4.0" in it.

I found 8 files that have _TIFFsetString in it.

But I don't understand the compiling setup well enough to see how those
files get compiled to create an object named libtifftcl4.1.0.so  (??)

(there is no string in the source for libtifftcl4)

I'm happy to try and dig further, but I'm also at a stop point.

Vector Hasting



On Tue, 14 Jun 2022 at 07:31, andy pugh  wrote:


On Tue, 14 Jun 2022 at 14:49, Vector Hasting 
wrote:


_tkinter.TclError: couldn't load file

"/usr/lib/tcltk/aarch64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so":
/usr/lib/tcltk/aarch64-linux-gnu/Img1.4.13/libtifftcl4.1.0.so: undefined
symbol: _TIFFsetString, version LIBTIFF_4.0

This looks to be a dependency (hard coded?) on the version of libtiff
that shipped with Buster (4.1).

But it also seems to be in a package that LinuxCNC depends on, but
doesn't control?
https://sourceforge.net/projects/tkimg/files/tkimg/1.4/tkimg%201.4.13/
(From the file path being searched)

For me, the trail dries up there. I guess this is due to a Tcl/Tk
dependency?

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