Re: [Emc-developers] Linuxcnc 2.10pre with glade
Hi It work fine I can use my updated interface with linuxcnc 2.10pre ! Thanks for your help! I had made some modification on dxf2gcode as well to change all arc into segment with a settable value Estimation time as well etc... Once I will finish the custom entry and exit on a shape I will share the source. My machine is a 2 axis rotating table with Y axis and a diamond wire cable as tool My target was to transform the standard kinematic (XY) to (AY) . And Happy new year! Cordialement, Moustapha Elhima P Penser à préserver l'environnement avant d'imprimer ce message. Merci De : Steffen Möller via Emc-developers Envoyé : dimanche 31 décembre 2023 08h42 À : emc-developers@lists.sourceforge.net Cc : Steffen Möller Objet : Re: [Emc-developers] Linuxcnc 2.10pre with glade Hello, Once you have integrated your changes with the latest version I expect that you can run this all through Glade again. If not then something was broken in that process, I presume. But I am no expert on what Gmoccapy is doing or on how to modify it - my answer was only on how to use a recursive diff and transition that to the master branch. Good luck! Steffen > Hi SteffenOk I see, so no way to edit the file with glade?Gmoccapy was > created with witch version?Thanks again for your helpCordialement,Moustapha > ElhimaPenser à préserver l'environnement avant d'imprimer ce message. Merci > Message d'origine De : Steffen Möller via Emc-developers > Date : 30/12/2023 22:10 (GMT+01:00) > À : emc-developers@lists.sourceforge.net Cc : Steffen Möller > , emc-developers@lists.sourceforge.net Objet : Re: > [Emc-developers] Linuxcnc 2.10pre with glade Well, there may be another > option if you still have (or can still retrieve) the tarball from which you > started.It is three steps:1. Rename your current source tree to avoid > overwriting it, call it "mywork"2. Unpack the original tarball of LinuxCNC of > version 2.8 that you edited.3. Create a diff of the two and redirect that > into a file: diff -r original mywork > whateverpathto/mywork.patch4. Clone > the current master branch of LinuxCNC5. patch it with what you saved in > mywork.patch: patch -p1 < whateverpathto/mywork.patchNot all hunks of that > patch will work, but many will be just fine.Good luck!Steffen> Gesendet: > Samstag, 30. Dezember 2023 um 16:55 Uhr> Von: "Hans Unzner" > > An: emc-developers@lists.sourceforge.net> Betreff: > Re: [Emc-developers] Linuxcnc 2.10pre with glade>> I'm afraid but I think you > have to do your modifications once more for > LinuxCNC 2.9/2.10. There have > been so many changes during the upgrade > from Python2 to Python3 and Gtk2 to > Gtk3, which make it almost > impossible to merge from 2.8, especially the > glade file. Also a huge > number of deprecated widgets have been replaced in > Gmoccapy for > LinuxCNCN 2.9.> So I would recommend to just do it again for > the current version. Sorry.> > Hans> > Am 30.12.23 um 15:08 schrieb ELHIMA > Moustapha via Emc-developers:> > Hi guy's> >> > Houston I have a problem... I > project to use the mesa 5i25T instead off the 5i25 ( was good for me)> > For > the I need at list the linuxcnc2.10pre version> >> > I had customized the > gmoccapy interface (gmoccapy.glade) to get some other functionality and work > also on the bin file of it> > After few hours of work... I get the suprise to > had made all of this stuff on the 2.8 version of linuxcnc.> >> > I said " > ok lets spend again a part of your life time again...". So I decided to merge > to the buster version and install linuxcnc from the biuldbot.> > > Linuxcnc2.10pre and the mesa 5i25T working fine.> > So 2nd step was to make > the same modification on the gmoccapy interface and I get a terrible > headache.> > Python need to be version 3 instead off 2 for linuxcnc2.8 > but ok no problem for that ( or maybe there is a script to merge python 2 to > 3?)> > For Glade I had installed v3.40 and no way to get the hal library and > gladevcp.> >> > Is it possible to get the right way to update gmoccapy on > linuxcnc 2.10pre???> >> > Thanks for your help> >> > Cordialement,> >> > > Moustapha Elhima> > ELMO - machines outils> > +33 6 09 99 21 97> >> > P > Penser à préserver l'environnement avant d'imprimer ce message. Merci> >> > > ___> > Emc-developers mailing > list> > Emc-developers@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/emc-developers> > > > > ___
Re: [Emc-developers] Linuxcnc 2.10pre with glade
Hello, Once you have integrated your changes with the latest version I expect that you can run this all through Glade again. If not then something was broken in that process, I presume. But I am no expert on what Gmoccapy is doing or on how to modify it - my answer was only on how to use a recursive diff and transition that to the master branch. Good luck! Steffen > Hi SteffenOk I see, so no way to edit the file with glade?Gmoccapy was > created with witch version?Thanks again for your helpCordialement,Moustapha > ElhimaPenser à préserver l'environnement avant d'imprimer ce message. Merci > Message d'origine De : Steffen Möller via Emc-developers > Date : 30/12/2023 22:10 (GMT+01:00) > À : emc-developers@lists.sourceforge.net Cc : Steffen Möller > , emc-developers@lists.sourceforge.net Objet : Re: > [Emc-developers] Linuxcnc 2.10pre with glade Well, there may be another > option if you still have (or can still retrieve) the tarball from which you > started.It is three steps:1. Rename your current source tree to avoid > overwriting it, call it "mywork"2. Unpack the original tarball of LinuxCNC of > version 2.8 that you edited.3. Create a diff of the two and redirect that > into a file: diff -r original mywork > whateverpathto/mywork.patch4. Clone > the current master branch of LinuxCNC5. patch it with what you saved in > mywork.patch: patch -p1 < whateverpathto/mywork.patchNot all hunks of that > patch will work, but many will be just fine.Good luck!Steffen> Gesendet: > Samstag, 30. Dezember 2023 um 16:55 Uhr> Von: "Hans Unzner" > > An: emc-developers@lists.sourceforge.net> Betreff: > Re: [Emc-developers] Linuxcnc 2.10pre with glade>> I'm afraid but I think you > have to do your modifications once more for > LinuxCNC 2.9/2.10. There have > been so many changes during the upgrade > from Python2 to Python3 and Gtk2 to > Gtk3, which make it almost > impossible to merge from 2.8, especially the > glade file. Also a huge > number of deprecated widgets have been replaced in > Gmoccapy for > LinuxCNCN 2.9.> So I would recommend to just do it again for > the current version. Sorry.> > Hans> > Am 30.12.23 um 15:08 schrieb ELHIMA > Moustapha via Emc-developers:> > Hi guy's> >> > Houston I have a problem... I > project to use the mesa 5i25T instead off the 5i25 ( was good for me)> > For > the I need at list the linuxcnc2.10pre version> >> > I had customized the > gmoccapy interface (gmoccapy.glade) to get some other functionality and work > also on the bin file of it> > After few hours of work... I get the suprise to > had made all of this stuff on the 2.8 version of linuxcnc.> >> > I said " > ok lets spend again a part of your life time again...". So I decided to merge > to the buster version and install linuxcnc from the biuldbot.> > > Linuxcnc2.10pre and the mesa 5i25T working fine.> > So 2nd step was to make > the same modification on the gmoccapy interface and I get a terrible > headache.> > Python need to be version 3 instead off 2 for linuxcnc2.8 > but ok no problem for that ( or maybe there is a script to merge python 2 to > 3?)> > For Glade I had installed v3.40 and no way to get the hal library and > gladevcp.> >> > Is it possible to get the right way to update gmoccapy on > linuxcnc 2.10pre???> >> > Thanks for your help> >> > Cordialement,> >> > > Moustapha Elhima> > ELMO - machines outils> > +33 6 09 99 21 97> >> > P > Penser à préserver l'environnement avant d'imprimer ce message. Merci> >> > > ___> > 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>___Emc-developers > mailing > listEmc-developers@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/emc-developers > ___ > 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] Linuxcnc 2.10pre with glade
You really are on a hiding to nothing trying to work with or upgrade a buster distribution because Python 2.7 has been obsoleted. A much quicker pathway would be to Install the latest 2.9.2 Iso from https://linuxcnc.org/iso/LinuxCNC_2.9.2-amd64.hybrid.iso If you really want to use 2.10 from the buildbot 2 at http://buildbot2.highlab.com/ edit /etc/apt/sources.list.d/linuxcnc.list to use the lines shown on the buildbot page to be something like deb http://buildbot2.highlab.com/debian/ bookworm master-uspace Rod Webster *1300 896 832* +61 435 765 611 Vehicle Modifications Network www.vehiclemods.net.au On Sun, 31 Dec 2023 at 07:37, Hans Unzner wrote: > I am using the latest Glade version (3.40.0), probably THE latest > version unfortunately. > But also versions like 3.38.0 should be fine. > You have to make sure that you have the catalogs, that is easiest done > when editing it in a run-in-place environment > ( > https://linuxcnc.org/docs/html/code/building-linuxcnc.html#_building_for_run_in_place > ) > > Am 30.12.23 um 17:22 schrieb melhima: > > Hi Hans > > > > Thanks for your answer > > Ok got that no problem to restart the job > > But could you tell me wich one version of glade can edit the gmoccapy > > file and match with the components > > I would like to make sure this time will.be the right one ;) > > Thanks a lot > > > > Cordialement, > > > > Moustapha Elhima > > *ELMO - machines outils > > *+33 6 09 99 21 97 > > > > Penser à préserver l'environnement avant d'imprimer ce message. Merci > > > > > > Message d'origine -------- > > De : Hans Unzner > > Date : 30/12/2023 16:57 (GMT+01:00) > > À : emc-developers@lists.sourceforge.net > > Objet : Re: [Emc-developers] Linuxcnc 2.10pre with glade > > > > I'm afraid but I think you have to do your modifications once more for > > LinuxCNC 2.9/2.10. There have been so many changes during the upgrade > > from Python2 to Python3 and Gtk2 to Gtk3, which make it almost > > impossible to merge from 2.8, especially the glade file. Also a huge > > number of deprecated widgets have been replaced in Gmoccapy for > > LinuxCNCN 2.9. > > So I would recommend to just do it again for the current version. Sorry. > > > > Hans > > > > Am 30.12.23 um 15:08 schrieb ELHIMA Moustapha via Emc-developers: > > > Hi guy's > > > > > > Houston I have a problem... I project to use the mesa 5i25T instead > > off the 5i25 ( was good for me) > > > For the I need at list the linuxcnc2.10pre version > > > > > > I had customized the gmoccapy interface (gmoccapy.glade) to get some > > other functionality and work also on the bin file of it > > > After few hours of work... I get the suprise to had made all of this > > stuff on the 2.8 version of linuxcnc. > > > > > > I said " ok lets spend again a part of your life time again...". So > > I decided to merge to the buster version and install linuxcnc from the > > biuldbot. > > > Linuxcnc2.10pre and the mesa 5i25T working fine. > > > So 2nd step was to make the same modification on the gmoccapy > > interface and I get a terrible headache. > > > Python need to be version 3 instead off 2 for linuxcnc2.8 but ok no > > problem for that ( or maybe there is a script to merge python 2 to 3?) > > > For Glade I had installed v3.40 and no way to get the hal library > > and gladevcp. > > > > > > Is it possible to get the right way to update gmoccapy on linuxcnc > > 2.10pre??? > > > > > > Thanks for your help > > > > > > Cordialement, > > > > > > Moustapha Elhima > > > ELMO - machines outils > > > +33 6 09 99 21 97 > > > > > > P Penser à préserver l'environnement avant d'imprimer ce message. Merci > > > > > > ___ > > > 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 > > ___ > 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] Linuxcnc 2.10pre with glade
I am using the latest Glade version (3.40.0), probably THE latest version unfortunately. But also versions like 3.38.0 should be fine. You have to make sure that you have the catalogs, that is easiest done when editing it in a run-in-place environment (https://linuxcnc.org/docs/html/code/building-linuxcnc.html#_building_for_run_in_place) Am 30.12.23 um 17:22 schrieb melhima: Hi Hans Thanks for your answer Ok got that no problem to restart the job But could you tell me wich one version of glade can edit the gmoccapy file and match with the components I would like to make sure this time will.be the right one ;) Thanks a lot Cordialement, Moustapha Elhima *ELMO - machines outils *+33 6 09 99 21 97 Penser à préserver l'environnement avant d'imprimer ce message. Merci Message d'origine De : Hans Unzner Date : 30/12/2023 16:57 (GMT+01:00) À : emc-developers@lists.sourceforge.net Objet : Re: [Emc-developers] Linuxcnc 2.10pre with glade I'm afraid but I think you have to do your modifications once more for LinuxCNC 2.9/2.10. There have been so many changes during the upgrade from Python2 to Python3 and Gtk2 to Gtk3, which make it almost impossible to merge from 2.8, especially the glade file. Also a huge number of deprecated widgets have been replaced in Gmoccapy for LinuxCNCN 2.9. So I would recommend to just do it again for the current version. Sorry. Hans Am 30.12.23 um 15:08 schrieb ELHIMA Moustapha via Emc-developers: > Hi guy's > > Houston I have a problem... I project to use the mesa 5i25T instead off the 5i25 ( was good for me) > For the I need at list the linuxcnc2.10pre version > > I had customized the gmoccapy interface (gmoccapy.glade) to get some other functionality and work also on the bin file of it > After few hours of work... I get the suprise to had made all of this stuff on the 2.8 version of linuxcnc. > > I said " ok lets spend again a part of your life time again...". So I decided to merge to the buster version and install linuxcnc from the biuldbot. > Linuxcnc2.10pre and the mesa 5i25T working fine. > So 2nd step was to make the same modification on the gmoccapy interface and I get a terrible headache. > Python need to be version 3 instead off 2 for linuxcnc2.8 but ok no problem for that ( or maybe there is a script to merge python 2 to 3?) > For Glade I had installed v3.40 and no way to get the hal library and gladevcp. > > Is it possible to get the right way to update gmoccapy on linuxcnc 2.10pre??? > > Thanks for your help > > Cordialement, > > Moustapha Elhima > ELMO - machines outils > +33 6 09 99 21 97 > > P Penser à préserver l'environnement avant d'imprimer ce message. Merci > > ___ > 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 ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] Linuxcnc 2.10pre with glade
Hi SteffenOk I see, so no way to edit the file with glade?Gmoccapy was created with witch version?Thanks again for your helpCordialement,Moustapha ElhimaPenser à préserver l'environnement avant d'imprimer ce message. Merci Message d'origine De : Steffen Möller via Emc-developers Date : 30/12/2023 22:10 (GMT+01:00) À : emc-developers@lists.sourceforge.net Cc : Steffen Möller , emc-developers@lists.sourceforge.net Objet : Re: [Emc-developers] Linuxcnc 2.10pre with glade Well, there may be another option if you still have (or can still retrieve) the tarball from which you started.It is three steps:1. Rename your current source tree to avoid overwriting it, call it "mywork"2. Unpack the original tarball of LinuxCNC of version 2.8 that you edited.3. Create a diff of the two and redirect that into a file: diff -r original mywork > whateverpathto/mywork.patch4. Clone the current master branch of LinuxCNC5. patch it with what you saved in mywork.patch: patch -p1 < whateverpathto/mywork.patchNot all hunks of that patch will work, but many will be just fine.Good luck!Steffen> Gesendet: Samstag, 30. Dezember 2023 um 16:55 Uhr> Von: "Hans Unzner" > An: emc-developers@lists.sourceforge.net> Betreff: Re: [Emc-developers] Linuxcnc 2.10pre with glade>> I'm afraid but I think you have to do your modifications once more for > LinuxCNC 2.9/2.10. There have been so many changes during the upgrade > from Python2 to Python3 and Gtk2 to Gtk3, which make it almost > impossible to merge from 2.8, especially the glade file. Also a huge > number of deprecated widgets have been replaced in Gmoccapy for > LinuxCNCN 2.9.> So I would recommend to just do it again for the current version. Sorry.> > Hans> > Am 30.12.23 um 15:08 schrieb ELHIMA Moustapha via Emc-developers:> > Hi guy's> >> > Houston I have a problem... I project to use the mesa 5i25T instead off the 5i25 ( was good for me)> > For the I need at list the linuxcnc2.10pre version> >> > I had customized the gmoccapy interface (gmoccapy.glade) to get some other functionality and work also on the bin file of it> > After few hours of work... I get the suprise to had made all of this stuff on the 2.8 version of linuxcnc.> >> > I said " ok lets spend again a part of your life time again...". So I decided to merge to the buster version and install linuxcnc from the biuldbot.> > Linuxcnc2.10pre and the mesa 5i25T working fine.> > So 2nd step was to make the same modification on the gmoccapy interface and I get a terrible headache.> > Python need to be version 3 instead off 2 for linuxcnc2.8 but ok no problem for that ( or maybe there is a script to merge python 2 to 3?)> > For Glade I had installed v3.40 and no way to get the hal library and gladevcp.> >> > Is it possible to get the right way to update gmoccapy on linuxcnc 2.10pre???> >> > Thanks for your help> >> > Cordialement,> >> > Moustapha Elhima> > ELMO - machines outils> > +33 6 09 99 21 97> >> > P Penser à préserver l'environnement avant d'imprimer ce message. Merci> >> > ___> > 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>___Emc-developers mailing listEmc-developers@lists.sourceforge.nethttps://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] Linuxcnc 2.10pre with glade
Well, there may be another option if you still have (or can still retrieve) the tarball from which you started. It is three steps: 1. Rename your current source tree to avoid overwriting it, call it "mywork" 2. Unpack the original tarball of LinuxCNC of version 2.8 that you edited. 3. Create a diff of the two and redirect that into a file: diff -r original mywork > whateverpathto/mywork.patch 4. Clone the current master branch of LinuxCNC 5. patch it with what you saved in mywork.patch: patch -p1 < whateverpathto/mywork.patch Not all hunks of that patch will work, but many will be just fine. Good luck! Steffen > Gesendet: Samstag, 30. Dezember 2023 um 16:55 Uhr > Von: "Hans Unzner" > An: emc-developers@lists.sourceforge.net > Betreff: Re: [Emc-developers] Linuxcnc 2.10pre with glade > > I'm afraid but I think you have to do your modifications once more for > LinuxCNC 2.9/2.10. There have been so many changes during the upgrade > from Python2 to Python3 and Gtk2 to Gtk3, which make it almost > impossible to merge from 2.8, especially the glade file. Also a huge > number of deprecated widgets have been replaced in Gmoccapy for > LinuxCNCN 2.9. > So I would recommend to just do it again for the current version. Sorry. > > Hans > > Am 30.12.23 um 15:08 schrieb ELHIMA Moustapha via Emc-developers: > > Hi guy's > > > > Houston I have a problem... I project to use the mesa 5i25T instead off the > > 5i25 ( was good for me) > > For the I need at list the linuxcnc2.10pre version > > > > I had customized the gmoccapy interface (gmoccapy.glade) to get some other > > functionality and work also on the bin file of it > > After few hours of work... I get the suprise to had made all of this stuff > > on the 2.8 version of linuxcnc. > > > > I said " ok lets spend again a part of your life time again...". So I > > decided to merge to the buster version and install linuxcnc from the > > biuldbot. > > Linuxcnc2.10pre and the mesa 5i25T working fine. > > So 2nd step was to make the same modification on the gmoccapy interface and > > I get a terrible headache. > > Python need to be version 3 instead off 2 for linuxcnc2.8 but ok no problem > > for that ( or maybe there is a script to merge python 2 to 3?) > > For Glade I had installed v3.40 and no way to get the hal library and > > gladevcp. > > > > Is it possible to get the right way to update gmoccapy on linuxcnc > > 2.10pre??? > > > > Thanks for your help > > > > Cordialement, > > > > Moustapha Elhima > > ELMO - machines outils > > +33 6 09 99 21 97 > > > > P Penser à préserver l'environnement avant d'imprimer ce message. Merci > > > > ___ > > 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 > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] Linuxcnc 2.10pre with glade
I'm afraid but I think you have to do your modifications once more for LinuxCNC 2.9/2.10. There have been so many changes during the upgrade from Python2 to Python3 and Gtk2 to Gtk3, which make it almost impossible to merge from 2.8, especially the glade file. Also a huge number of deprecated widgets have been replaced in Gmoccapy for LinuxCNCN 2.9. So I would recommend to just do it again for the current version. Sorry. Hans Am 30.12.23 um 15:08 schrieb ELHIMA Moustapha via Emc-developers: Hi guy's Houston I have a problem... I project to use the mesa 5i25T instead off the 5i25 ( was good for me) For the I need at list the linuxcnc2.10pre version I had customized the gmoccapy interface (gmoccapy.glade) to get some other functionality and work also on the bin file of it After few hours of work... I get the suprise to had made all of this stuff on the 2.8 version of linuxcnc. I said " ok lets spend again a part of your life time again...". So I decided to merge to the buster version and install linuxcnc from the biuldbot. Linuxcnc2.10pre and the mesa 5i25T working fine. So 2nd step was to make the same modification on the gmoccapy interface and I get a terrible headache. Python need to be version 3 instead off 2 for linuxcnc2.8 but ok no problem for that ( or maybe there is a script to merge python 2 to 3?) For Glade I had installed v3.40 and no way to get the hal library and gladevcp. Is it possible to get the right way to update gmoccapy on linuxcnc 2.10pre??? Thanks for your help Cordialement, Moustapha Elhima ELMO - machines outils +33 6 09 99 21 97 P Penser à préserver l'environnement avant d'imprimer ce message. Merci ___ 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