- Posts: 19899
- Thank you received: 4655
Axis Position Logger
- andypugh
- Offline
- Moderator
-
Less
More
4 years 6 months ago #241277
by andypugh
Replied by andypugh on topic Axis Position Logger
You might need to also install linuxcnc-uspace-dev
Please Log in or Create an account to join the conversation.
- jurod
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 6
4 years 6 months ago #241455
by jurod
Replied by jurod on topic Axis Position Logger
I have it installed.
OK works for version 2.8.2, but switches to 2.9.0 it can't find the "linuxcnc" module.
This works correctly when switched to 2.8.2 again without any reinstallation of Position Logger.
In version 2.9.0 it still looks for some !linuxcnc! module.
Is it called something else in the 2.9.0?
From emclog.py:
OK works for version 2.8.2, but switches to 2.9.0 it can't find the "linuxcnc" module.
This works correctly when switched to 2.8.2 again without any reinstallation of Position Logger.
In version 2.9.0 it still looks for some !linuxcnc! module.
Is it called something else in the 2.9.0?
From emclog.py:
Code:
#! /usr/bin/python
import os, sys, math
if sys.version_info[0] > 2:
raise Exception("Python 2 is required.")
import ConfigParser
import linuxcnc
from PyQt5 import uic
from PyQt5.QtWidgets import (QApplication, QMainWindow, QCheckBox, QRadioButton,
QMessageBox, QFileDialog, QMenu)
from PyQt5.QtCore import Qt, QTimer, QEvent
IN_AXIS = os.environ.has_key("AXIS_PROGRESS_BAR")
if os.path.split(sys.argv[0])[0] == '/usr/bin':
GUI_PATH = '/usr/lib/python3/dist-packages/libemclog'
print('Installed')
if os.path.split(sys.argv[0])[0] == '.':
GUI_PATH = os.path.split(os.path.realpath(sys.argv[0]))[0]
print('In Development')
.......
......
Please Log in or Create an account to join the conversation.
- jurod
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 6
4 years 6 months ago #241458
by jurod
Replied by jurod on topic Axis Position Logger
or it has something to do with python2.7 and python3
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
Less
More
- Posts: 927
- Thank you received: 280
4 years 6 months ago #241723
by cakeslob
Replied by cakeslob on topic Axis Position Logger
Hey jurod, offtopic, but I have seen you and user domi appear to have a czech(?) modified version of axis, I was wondering where you found it
Please Log in or Create an account to join the conversation.
- jurod
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 6
4 years 5 months ago - 4 years 5 months ago #241802
by jurod
Replied by jurod on topic Axis Position Logger
I didn't find it, but I did it. Slovak language.
forum.strojirenstvi.cz/viewtopic.php?t=31115
forum.strojirenstvi.cz/viewtopic.php?t=31115
Last edit: 4 years 5 months ago by jurod.
The following user(s) said Thank You: tommylight, cakeslob
Please Log in or Create an account to join the conversation.
- jurod
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 6
4 years 5 months ago #242365
by jurod
Replied by jurod on topic Axis Position Logger
I've been working on it for a week. Does anyone know why it can't find the linuxcnc module?
Please Log in or Create an account to join the conversation.
Time to create page: 0.313 seconds