PathPilot V2 source code

More
4 years 7 months ago #236602 by smgvbest
Replied by smgvbest on topic PathPilot V2 source code
When I compiled it I did so from a working PP install so all my dependacies where meet then I posted the files asked for.

you can not just overlay LinuxCNC code over the PP code
From what I see (i have not done this as of this time though) you need to merge it with what tormach supplies.

edit the tormach make files to add the stuff you want added in then use the tormach make to get a full working PP build

I never did get a build of Mint+LinuxCNC working in a way that worked with PP
only by starting with their environment did I get it to work

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #236801 by andypugh
Replied by andypugh on topic PathPilot V2 source code

BTW: PP2 is based on LinuxCNC 2.8.0-Pre
Really? I thought that PP was based on Machinekit and so was rather diverged from LinuxCNC 2.8

If PP2 is LinuxCNC-based then that should make the 9-axis lookahead much easier to merge in. 
(As the JA changes were a major issue there, as so much changed) 
 

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #236803 by smgvbest
Replied by smgvbest on topic PathPilot V2 source code
Yep
From the PP2.8.3 Log
Code:
About to run scripts/start_linuxcnc. ------------------------------------------------------------------------------ | start_linuxcnc | ------------------------------------------------------------------------------ prefix: /home/operator/tmc exec_prefix: /home/operator/tmc EMC2_BIN_DIR=/home/operator/tmc/bin EMC2_RTLIB_DIR=/home/operator/tmc/rtlib INIFILE: /home/operator/tmc/configs/tormach_lathe/tormach_15L_sim.ini expanded INIFILE: /home/operator/tmc/configs/tormach_lathe/tormach_15L_sim.ini EXTRA_ARGS: RUN_IN_PLACE=yes LINUXCNC version - 2.8.0~pre1

 

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago - 4 years 2 months ago #250619 by sagreen
Replied by sagreen on topic PathPilot V2 source code
I recently received the 2.9.0 PathPilot source. Took a while, but I finally got it.

I've been trying to compile for a couple days and have not gotten a clean compile yet. I have installed the PP source on a system that has a working version of PP 2.9.1 running on it.

Couple of things:
1) Not sure what version of Python2.7 they are using on their compile machines. The distro of mint they used comes with 2.7.6. I made a little headway with 2.7.9, but currently 2.7.18 has made the most progress. 
2) Not sure what version of pip they are using.
3) It appears that the Makefile attempts to resolve at least .py dependancies as it downloads a bunch of packages during the make.
4) I'm currently stuck on a problem with GTK being missing when one of the .py files used in the make process attempts to import gtk

Anyone else gotten a clean compile of a recent source release?

Scott...
Last edit: 4 years 2 months ago by sagreen.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #250621 by smgvbest
Replied by smgvbest on topic PathPilot V2 source code
From 2.9.1 Python VENV

operator@tormachpcnc:~/tmc/venv/bin$ ./python -V
Python 2.7.6

operator@tormachpcnc:~/tmc/venv/bin$ ./pip -V
pip 20.3.4 

Some of the GTK related libraries I have installed (includes dev packages)
libgtksourceview2.0-0
libgtk2.0-0
libgtk-3-0
glade-gtk2 3.8.0-0

Couple of things:
1) Not sure what version of Python2.7 they are using on their compile machines. The distro of mint they used comes with 2.7.6. I made a little headway with 2.7.9, but currently 2.7.18 has made the most progress. 
2) Not sure what version of pip they are using.
3) It appears that the Makefile attempts to resolve at least .py dependancies as it downloads a bunch of packages during the make.
4) I'm currently stuck on a problem with GTK being missing when one of the .py files used in the make process attempts to import gtk
 

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #250623 by sagreen
Replied by sagreen on topic PathPilot V2 source code
Not entirely sure that they are using 2.7.6 to build with. One of the first things that is missing is "virtualenv" When I try to run the following command from tmc/venv/bin...

sudo ./pip install virtualenv

I get the following errors:
/home/operator/v2.9.1/venv/lib/python2.7/site-packages/pip/_vendor/urllib3/util/ssl_.py:424: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see urllib3.readthedocs.io/en/latest/advance...ge.html#ssl-warnings

WARNING: Certificate did not match expected hostname: pypi.org. Certificate: {'notAfter': 'Aug 27 18:45:09 2023 GMT', 'subjectAltName': (('DNS', ' www.python.org '), ('DNS', '*.python.org'), ('DNS', 'docs.python.org'), ('DNS', 'downloads.python.org'), ('DNS', 'pypi.python.org')), 'subject': ((('commonName', u' www.python.org '),),)}
Could not fetch URL pypi.org/simple/virtualenv/ : There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/virtualenv/ (Caused by SSLError(CertificateError("hostname 'pypi.org' doesn't match either of ' www.python.org ', '*.python.org', 'docs.python.org', 'downloads.python.org', 'pypi.python.org'",),)) - skipping


This is what made me upgrade python to 2.7.9 to start with.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum