My custom designed GUI

More
9 years 6 months ago #91867 by KCJ
Replied by KCJ on topic My custom designed GUI
I got this to run some time ago. I am pretty sure it was on a plain vanilla Debian LCNC ISO install, so I think it would have been Py 2.6 but it could have been 2.7. Either way I don't think the problem is with the python version, I think it was just a matter of getting all the files in the right places. The file paths are hard coded so I remember having to changes some of the paths in craftsman.py, and maybe elsewhere. I still have that HDD laying around, I could dig it out and see what I did to get it running if you would like.

Kurt

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

More
9 years 6 months ago #91869 by yodaddy
Replied by yodaddy on topic My custom designed GUI
The guy who created this GUI said there were problems running it with Python 2.7, and that's exactly what I and several others here have experienced. If it's not too much trouble, please check what version of Python you were running on that installation.

Thank you!

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

More
9 years 6 months ago - 9 years 6 months ago #91870 by KCJ
Replied by KCJ on topic My custom designed GUI
I just checked my python version using $ python -V and it says I'm running 2.7.3. CraftsmanCNC seems to start and run fine, see the attached screen shot. I can upload the directory in which I have CraftsmanCNC installed if that would be helpful.

Kurt

EDIT: It is starting to come back to me. I think I remember having to change some floats to ints or something like that to get the GUI to start without errors, maybe in the scaling function? Whatever it was I don't remember it being a lot of work to get going, and at the time I had very little if any python or linux knowledge, and I still don't :)
Last edit: 9 years 6 months ago by KCJ.

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

More
9 years 6 months ago #91872 by yodaddy
Replied by yodaddy on topic My custom designed GUI
It would be much appreciated if you would upload the installation directory.

Thank you very much!

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

More
9 years 6 months ago #91891 by KCJ
Replied by KCJ on topic My custom designed GUI
I just ran some diffs on the original craftsman .py files and on my craftsman .py files in my config directory. Here are the results:

  1. In craftsman.py I modified the paths on lines 18 and 25 to match my user-name. Also, it looks like I removed some parentheses on line 1122, but can't see any reason why that would be necessary.
  2. In vfd_spindle.py I modified the path on line 13 to match my user-name.
  3. In craftsman_toolchange.py I modified the path on line 7 to match my user-name.
  4. In vfd_controller.py I modified the path on line 10 to match my user-name.

I ran diffs on all the other python files and as far as I can tell I did not make any changes to the code other than those listed above. I did add easygui.py to the craftsmancnc directory.

Again, it has been a long time (1-2yrs?) since I was playing with this GUI, and I can not remember exactly what I did to get it running. All I know is that is does run, that I have Python 2.7.3, and that I was not very impressed with the GUI. I will upload my directory when I figure out how to make a tarball.

Hope this info helps!

Kurt

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

More
9 years 6 months ago #91896 by yodaddy
Replied by yodaddy on topic My custom designed GUI
You can create a recursive tarball that retains permissions using the command " tar -cvpf output.tar sourceDirectory/* "

Thanks!

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

Time to create page: 0.104 seconds
Powered by Kunena Forum