[Emc-developers] building/running linuxcnc from source question
Hi, I managed to compile linuxcnc from source and all the tests run successfully. I was wondering if anybody else got the following error. When I run the file ./scripts/linuxcnc. I get the following error : File "/home/marc/Documents/linuxcnc/linuxcnc/lib/python/glnav.py", line 118, in glRotateScene mat = [i for i in itertools.chain(*mat.tolist())] AttributeError: 'c_double_Array_4_Array_4' object has no attribute 'tolist' the error is fairly straight forward. I am just wondering if this is a bug or just that I have the wrong version of pyopengl. I am running Ubuntu 20.04.3 LTS with an 5.10.59-rt52 kernel. I have pyopengl 3.1.0 installed with python 3.8.10. Regards, Marc ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] building/running linuxcnc from source question
On Sat, 18 Sep 2021, Marc Wang wrote: Date: Sat, 18 Sep 2021 20:43:11 + From: Marc Wang Reply-To: EMC developers To: "emc-developers@lists.sourceforge.net" Subject: [Emc-developers] building/running linuxcnc from source question Hi, I managed to compile linuxcnc from source and all the tests run successfully. I was wondering if anybody else got the following error. When I run the file ./scripts/linuxcnc. I get the following error : File "/home/marc/Documents/linuxcnc/linuxcnc/lib/python/glnav.py", line 118, in glRotateScene mat = [i for i in itertools.chain(*mat.tolist())] AttributeError: 'c_double_Array_4_Array_4' object has no attribute 'tolist' the error is fairly straight forward. I am just wondering if this is a bug or just that I have the wrong version of pyopengl. I am running Ubuntu 20.04.3 LTS with an 5.10.59-rt52 kernel. I have pyopengl 3.1.0 installed with python 3.8.10. Regards, Marc ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers Same error Mint 20.2, Python 3.8.10, pyopengl 3.1.0, 4.19.206-rt87 Peter Wallace Mesa Electronics ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] building/running linuxcnc from source question
I have a potential fix at https://github.com/LinuxCNC/linuxcnc/pull/1275 Jeff ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] building/running linuxcnc from source question
Hi Peter, I ended up figuring out the error. I was missing numpy in my dependencies. You can either install it through "pip3 install numpy" or "sudo apt-get install python3-numpy" Regards, marc -Original Message- From: Peter C. Wallace Sent: September 25, 2021 5:07 PM To: EMC developers Subject: Re: [Emc-developers] building/running linuxcnc from source question On Sat, 18 Sep 2021, Marc Wang wrote: > Date: Sat, 18 Sep 2021 20:43:11 + > From: Marc Wang > Reply-To: EMC developers > To: "emc-developers@lists.sourceforge.net" > > Subject: [Emc-developers] building/running linuxcnc from source question > > Hi, > > I managed to compile linuxcnc from source and all the tests run successfully. > I was wondering if anybody else got the following error. When I run the file > ./scripts/linuxcnc. I get the following error : > > File "/home/marc/Documents/linuxcnc/linuxcnc/lib/python/glnav.py", line 118, > in glRotateScene >mat = [i for i in itertools.chain(*mat.tolist())] > AttributeError: 'c_double_Array_4_Array_4' object has no attribute 'tolist' > > the error is fairly straight forward. I am just wondering if this is a bug or > just that I have the wrong version of pyopengl. > > I am running Ubuntu 20.04.3 LTS with an 5.10.59-rt52 kernel. I have pyopengl > 3.1.0 installed with python 3.8.10. > > Regards, > Marc > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > Same error Mint 20.2, Python 3.8.10, pyopengl 3.1.0, 4.19.206-rt87 Peter Wallace Mesa Electronics ___ 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] building/running linuxcnc from source question
On Mon, 27 Sep 2021, Marc Wang wrote: Date: Mon, 27 Sep 2021 13:44:21 + From: Marc Wang Reply-To: EMC developers To: EMC developers Subject: Re: [Emc-developers] building/running linuxcnc from source question Hi Peter, I ended up figuring out the error. I was missing numpy in my dependencies. You can either install it through "pip3 install numpy" or "sudo apt-get install python3-numpy" Regards, marc Yes, I did that and its fixed. (still have DRO font issues however) -Original Message- From: Peter C. Wallace Sent: September 25, 2021 5:07 PM To: EMC developers Subject: Re: [Emc-developers] building/running linuxcnc from source question On Sat, 18 Sep 2021, Marc Wang wrote: Date: Sat, 18 Sep 2021 20:43:11 + From: Marc Wang Reply-To: EMC developers To: "emc-developers@lists.sourceforge.net" Subject: [Emc-developers] building/running linuxcnc from source question Hi, I managed to compile linuxcnc from source and all the tests run successfully. I was wondering if anybody else got the following error. When I run the file ./scripts/linuxcnc. I get the following error : File "/home/marc/Documents/linuxcnc/linuxcnc/lib/python/glnav.py", line 118, in glRotateScene mat = [i for i in itertools.chain(*mat.tolist())] AttributeError: 'c_double_Array_4_Array_4' object has no attribute 'tolist' the error is fairly straight forward. I am just wondering if this is a bug or just that I have the wrong version of pyopengl. I am running Ubuntu 20.04.3 LTS with an 5.10.59-rt52 kernel. I have pyopengl 3.1.0 installed with python 3.8.10. Regards, Marc ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers Same error Mint 20.2, Python 3.8.10, pyopengl 3.1.0, 4.19.206-rt87 Peter Wallace Mesa Electronics ___ 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 Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] building/running linuxcnc from source question
On Sat, 25 Sep 2021, Jeff Epler wrote: Date: Sat, 25 Sep 2021 17:18:19 -0500 From: Jeff Epler Reply-To: EMC developers To: EMC developers Subject: Re: [Emc-developers] building/running linuxcnc from source question I have a potential fix at https://github.com/LinuxCNC/linuxcnc/pull/1275 Jeff This does work without numpy, I somehow messed up applying the patch ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers Peter Wallace Mesa Electronics ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers