[Emc-developers] Gremlin preview offset lag issue

2022-08-23 Thread Thaddeus Waldner
Hi

I'm working on a custom user interface based on gscreen. Part of it involves 
adjusting/fine-tuning axis offsets via a small MPG, and watching the preview 
move in response. I have the mpg moving a spinbutton that contains the axis 
offset. After the user stops twiddling the mpg for a reasonable amount of time, 
I issue a linuxcnc MDI G10L2P1 with the spinbutton value for axis offsets. 
Finally, I refresh the gremlin by calling gremlin.reloadfile(None). 

This has the effect of moving the workpiece origin marker to the current offset 
position, and moving the gcode preview to the *previous* offset position. Upon 
running the program, the live plot correctly plots the path at the new offset.

After struggling with this for a while, I finally got it to work as I want by 
issuing the G10 MDI command twice in succession. This caused both the workpiece 
origin markers and the gcode preveiew to move to the new offset.

This appears to be a bug in gremlin.

___
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-08-23 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

In new code, prefer use of rtapi_parport to rtapi_parport.

## Source string description

type: Plain text

## Comment

Prefer A over A?

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

## Source string location

[man/man3/rtapi_parport.3rtapi:81](https://github.com/LinuxCNC/linuxcnc/blob/master/docs/man/man3/rtapi_parport.3rtapi?plain=1#L81)

##  Translation Info

All strings|  [ 30,232 
](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-docs/en/) |   
---|---|
Translated strings |  [ 30,232 
](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 Aug. 23, 2022, 7:59 p.m..

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


Re: [Emc-developers] next release discussion: Why not make the branch new

2022-08-23 Thread Jérémie Tarot
hey @lcvette o/

Le mar. 23 août 2022 à 15:15, Small Shop Concepts  a
écrit :

> on Gitkraken for QtPyvcp we use the GLO Boards which is basically just an
> item check list with some good formatting, this way it is recorded what has
> to be fixed and strikes through once it has been completed.  you can have
> an overall running list and other lists so you could perhaps setup a DTG
> (distance to go)  :)  list to launching the new release and once completed
> and checked off pull the trigger!   it was quite useful a ways back trying
> to sort through a myriad of items and was a great motivator for when yuou
> had some time to work on something, striking through list items is very
> rewarding for me at least..lol
>
> https://www.gitkraken.com/
>
> https://www.gitkraken.com/blog/gitkraken-boards-column-automation


While Gitkraken is really a great tool I enjoy having in my toolbox as a
git client, I'd prefer not relying on it for project management...

Nevertheless, this looks perfectly in line with my proposal #1960 to extend
GitHub features usage (ie Labels, Projects, Milestones, Discussions,
Wiki)from this morning !

I forgot to mention the personal rewarding side of checking a box in a list
but it may be the most important under the hood :)

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


Re: [Emc-developers] next release discussion: Why not make the branch new

2022-08-23 Thread Small Shop Concepts
on Gitkraken for QtPyvcp we use the GLO Boards which is basically just an
item check list with some good formatting, this way it is recorded what has
to be fixed and strikes through once it has been completed.  you can have
an overall running list and other lists so you could perhaps setup a DTG
(distance to go)  :)  list to launching the new release and once completed
and checked off pull the trigger!   it was quite useful a ways back trying
to sort through a myriad of items and was a great motivator for when yuou
had some time to work on something, striking through list items is very
rewarding for me at least..lol

https://www.gitkraken.com/

https://www.gitkraken.com/blog/gitkraken-boards-column-automation





On Sun, Aug 21, 2022 at 8:25 PM andy pugh  wrote:

> On Wed, 10 Aug 2022 at 20:21, Hans Unzner  wrote:
>
> > Andy, should I assist you by creating such a project?
>
> Possibly?
>
> (I am working through an email backlog, and only just got to this)
>
> --
> 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


Re: [Emc-developers] looks like I need a python3 patch

2022-08-23 Thread gene heskett

On 8/22/22 21:06, Chris Morley wrote:

Unfortunately, I can not see an obvious clue.
Is this running on a raspberry pi?
The desktop notify error is probably from that, and posibly why there is a big 
delay.
I am stumped at this point.

Chris
No pi there Chris, its an older Dell,  intel i5, older 4 core. Debian 
buster from the lcnc install iso.
 lcnc from master. via the buildbot. Other video thingies work, with 
that camera.


Many thanks for taking a look.  Take care & stay well.


From: gene heskett 
Sent: August 22, 2022 3:22 AM
To: emc-developers@lists.sourceforge.net 
Subject: Re: [Emc-developers] looks like I need a python3 patch

On 8/21/22 00:34, Chris Morley wrote:

[QTvcp.QTVCP.QT_MAKEPINS][INFO]  QTVCP: Found external qtvcp
loadusr panel to instantiate (qt_makepins.py:87)

This indicates that you didn't get the code changes I added - maybe it didn't 
get through the  buildbot yet.

Chris

Updated at 23:30, now have a long delay, and a camalign tab, but no
camera. Blank white screen there.

konsole trace:
halcmd loadusr -Wn qtvcp_embed qtvcp -d -c qtvcp_embed -x {XID} cam_align
[False]
Waiting for component 'qtvcp_embed' to become
ready...[QTvcp.QTVCP.LIB.SYS_NOTIFY][WARNING]
Desktop Notify not available:: org.freedesktop.DBus.Error.NoReply: Did
not receive a reply. Possible causes include: the remote application did
not send a reply, the message bus security policy blocked the reply, the
reply timeout expired, or the network connection was broken.
(sys_notify.py:71)
Namespace Gst not available
[QTvcp.QTVCP.LIB.AUDIO_PLAYER][WARNING]  audio alerts - Is
python3-gst1.0 installed? (audio_player.py:37)
..[QTvcp][INFO]  Logging to: /home/gene/qtvcp.log (logger.py:67)
[QTvcp][INFO]  Base log level set to: 10 (logger.py:68)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  BASEPATH cam_align (qt_pstat.py:86)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for handler file in:
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align_handler.py
(qt_pstat.py:96)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for default handler file in:
/usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qt_pstat.py:102)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using DEFAULT handler file path:
/usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qt_pstat.py:105)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in:
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.ui (qt_pstat.py:119)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .ui in:
/usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:124)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using DEFAULT ui file from:
/usr/share/qtvcp/panels/cam_align/cam_align.ui (qt_pstat.py:126)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in:
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qss (qt_pstat.py:151)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qss in:
/usr/share/qtvcp/panels/cam_align/cam_align.qss (qt_pstat.py:156)
[QTvcp.QTVCP.QT_PSTAT][INFO]  No qss file found. (qt_pstat.py:162)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in:
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align.qrc (qt_pstat.py:173)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for .qrc in:
/usr/share/qtvcp/panels/cam_align/cam_align.qrc (qt_pstat.py:179)
[QTvcp.QTVCP.QT_PSTAT][INFO]  No qrc file found. (qt_pstat.py:186)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for resources.py in:
/home/gene/linuxcnc/configs/GO704-5i25-7i76/qtvcp/panels/resources.py
(qt_pstat.py:196)
[QTvcp.QTVCP.QT_PSTAT][INFO]  No resources.py file found, no QRC file to
compile one from. (qt_pstat.py:207)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for translation file in:
/home/gene/linuxcnc/configs/GO704-5i25-7i76/cam_align/languages/cam_align_en.qm
(qt_pstat.py:214)
[QTvcp.QTVCP.QT_PSTAT][DEBUG]  Checking for translation file in:
/usr/share/qtvcp/screens/cam_align/languages/cam_align_en.qm
(qt_pstat.py:219)
[QTvcp.QTVCP.QT_PSTAT][INFO]  Using no translations, default system
locale is: en (qt_pstat.py:224)
[QTvcp][INFO]  Building A VCP Panel with: Python 3 (qtvcp:215)
[QTvcp][INFO]  No handler file specified - using:
/usr/share/qtvcp/panels/cam_align/cam_align_handler.py (qtvcp:218)
.[QTvcp.QTVCP.QT_MAKEGUI][INFO]  Qsettings file path:
/home/gene/.config/QtVcp/cam_align.conf (qt_makegui.py:97)
[QTvcp][DEBUG]  Loading the handler file. (qtvcp:276)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Adding import dir:
/usr/share/qtvcp/panels/cam_align (qt_makegui.py:290)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Module 'cam_align_handler' imported OK
(qt_makegui.py:301)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Module 'cam_align_handler' :
'get_handlers' function found. (qt_makegui.py:307)
[QTvcp.QTVCP.QT_MAKEGUI][DEBUG]  Registering handlers in module
cam_align_handler object  (qt_makegui.py:317)