- Posts: 2180
- Thank you received: 0
LCNC error during remap test
4 years 4 months ago #244700
by spumco
LCNC error during remap test was created by spumco
Trying to remap M6 for an ATC test. and LCNC is throwing an error Only thing changed from a working config was uncommenting the INI line:
Using stdglue.py, remap.py, and toplevel.py that came with Probe Basic sim.
Not linux-clever, so I've no idea where to start or what the errors mean.
MX 21
LCNC 2.9, RIP
QtPyVCP master
Probe Basic python3
Code:
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=toolchangeRMC epilog=change_epilog
Using stdglue.py, remap.py, and toplevel.py that came with Probe Basic sim.
Not linux-clever, so I've no idea where to start or what the errors mean.
MX 21
LCNC 2.9, RIP
QtPyVCP master
Probe Basic python3
Please Log in to join the conversation.
4 years 4 months ago #244729
by spumco
Replied by spumco on topic LCNC error during remap test
Tommy - can you move this to QtPyVCP for me?
I think "Notifications.py" is a qtpyvcp plugin thing, and this may get more attention in the appropriate sub-forum.
Thx,
Ralph
EDIT - yes, it's related to qtpyvcp, not that I know what to do about it.
github.com/kcjengr/qtpyvcp/issues/75
I think "Notifications.py" is a qtpyvcp plugin thing, and this may get more attention in the appropriate sub-forum.
Thx,
Ralph
EDIT - yes, it's related to qtpyvcp, not that I know what to do about it.
github.com/kcjengr/qtpyvcp/issues/75
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 4 months ago #244738
by tommylight
Replied by tommylight on topic LCNC error during remap test
Done.
Please Log in to join the conversation.
4 years 4 months ago #244743
by TurBoss
Replied by TurBoss on topic LCNC error during remap test
Hello!
this issue got fixed recently on qtpyvcp master branch at github
about the notification issue, I have to take a look
Thanks
Edit:
The notification error may be fixed now
Code:
File "/home/mill/.local/lib/python3.9/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 88, in __init__ self.active_wcs_offset = self._datasource.getActiveWcsOffsets() File "/home/mill/.local/lib/python3.9/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/linuxcnc_datasource.py", line 155, in getActiveWcsOffsets xy.append(self.__getRotationOfActiveWcs()) File "/home/mill/.local/lib/python3.9/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/linuxcnc_datasource.py", line 160, in __getRotationOfActiveWcs current_wcs = self.getWcsOffsets()[self.getActiveWcsIndex()] KeyError: -1
this issue got fixed recently on qtpyvcp master branch at github
about the notification issue, I have to take a look
Thanks
Edit:
The notification error may be fixed now
Please Log in to join the conversation.
4 years 4 months ago #244749
by spumco
Replied by spumco on topic LCNC error during remap test
Thanks for having a look.
What do I need to do to update my version? I presume it's a 'git-pull' thing, but I'm still at the cut and paste stage and could use something specific to paste in the terminal.
EDIT - I think I updated to the latest using python3 -m pip install --upgrade qtpyvcp (from the qtpyvcp install page.
Last error went away, but getting a new one. Sorry for the big paste, but I can't figure out where LCNC is storing the debug report file.
EDIT - I think I updated to the latest using python3 -m pip install --upgrade qtpyvcp (from the qtpyvcp install page.
Last error went away, but getting a new one. Sorry for the big paste, but I can't figure out where LCNC is storing the debug report file.
Code:
Debug file information:
Note: Using POSIX realtime
/home/mill/linuxcnc/configs/HAL_rev28.5_ATC/PBtestATC.ini:51: executing 'import sys
sys.path.append("/home/mill/linuxcnc/configs/HAL_rev28.5_ATC/python/")'
PythonPlugin: Python '3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110]'
/home/mill/linuxcnc/configs/HAL_rev28.5_ATC/PBtestATC.ini:51: executing 'import sys
sys.path.append("/home/mill/linuxcnc/configs/HAL_rev28.5_ATC/python/")'
PythonPlugin: Python '3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110]'
is_callable(__init__) = FALSE
Traceback (most recent call last):
File "/home/mill/.local/bin/probe_basic", line 33, in <module>
sys.exit(load_entry_point('probe-basic', 'gui_scripts', 'probe_basic')())
File "/home/mill/probe_basic/probe_basic/__init__.py", line 16, in main
opts = parse_opts(vcp_cmd='probe_basic',
File "/home/mill/.local/lib/python3.9/site-packages/qtpyvcp/utilities/opt_parser.py", line 104, in parse_opts
opts = DotDict({arg.strip('-<>').replace('-', '_') : convType(value) for arg, value in raw_args.items()})
File "/home/mill/.local/lib/python3.9/site-packages/qtpyvcp/utilities/opt_parser.py", line 104, in <dictcomp>
opts = DotDict({arg.strip('-<>').replace('-', '_') : convType(value) for arg, value in raw_args.items()})
File "/home/mill/.local/lib/python3.9/site-packages/qtpyvcp/utilities/opt_parser.py", line 65, in convType
if isinstance(val, basestring):
NameError: name 'basestring' is not defined
26178
26246
is_callable(__delete__) = FALSE
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Please Log in to join the conversation.
4 years 4 months ago #244897
by TurBoss
Replied by TurBoss on topic LCNC error during remap test
hello,
to get latest version from git you can do this
in the qtpyvcp directory
uninstall any version installed from pip before by running
thanks
edit:
WARNING:
will install the python2.7 version,
to get latest version from git you can do this
Code:
python3.9 -m pip install -e .
in the qtpyvcp directory
uninstall any version installed from pip before by running
Code:
python3.9 -m pip uninstall qtpyvcp
thanks
edit:
WARNING:
Code:
python3.9 -m pip install qtpyvcp
will install the python2.7 version,
Please Log in to join the conversation.
Time to create page: 0.488 seconds
