#linuxcnc-devel Logs

Jan 03 2023

#linuxcnc-devel Calendar

12:01 AM seb_kuzminsky: for example, the qtvcp_screens/qtaxis_mpg.ini config fails with this error:
12:08 AM seb_kuzminsky: Pin 'sim_panel.MPG-s' does not exist
12:08 AM seb_kuzminsky: they're all over the map
12:08 AM seb_kuzminsky: axis runs: http://highlab.com/~seb/linuxcnc/axis_axis.ini.jpg
12:08 AM seb_kuzminsky: so no, i don't think this test is catching the opengl problem you discovered
04:39 AM -!- #linuxcnc-devel mode set to +v by ChanServ
09:02 AM roguish[m]: good morning.....
09:25 AM seb_kuzminsky: hi roguish[m]
09:34 AM roguish[m]: seb_kuzminsky: another question..... the docs for qtvcp are a fair bit behind the code.... at least the images of the examples. how does one update the images? is this worth a git issue?
09:35 AM roguish[m]: it's just confusing, especially to a new user, it the docs don't really match the examples.
09:35 AM seb_kuzminsky: ah yeah, that would be a good thing to update in 2.9
09:36 AM seb_kuzminsky: if you have a documentation file foo.html, there will be a matching source file foo.adoc in docs/src/ somewhere (often or maybe always in the same relative path as the html file)
09:36 AM roguish[m]: OK, i'll put in and issue. it should be pretty easy for cmorley to fix.
09:36 AM roguish[m]: I found the adoc files.
09:36 AM seb_kuzminsky: in that source file you can see the name of the image file that's being included in the documentation, it's another file in the docs/src directory
09:36 AM roguish[m]: yup.
09:37 AM seb_kuzminsky: if you can take a screenshot of what the widget looks like now, you can replace the image file in docs/src with your new one, git commit, and make a PR for cmorley on github
09:37 AM seb_kuzminsky: i'm happy to help with more details on any of those steps if you're interested
09:38 AM roguish[m]: ok, I'll try.
09:38 AM seb_kuzminsky: 👍
09:39 AM roguish[m]: let me check it out.... pere has helped me do a PR for my little div2 comp. but I'm not an expert. I may need some reminders.....
09:39 AM seb_kuzminsky: ok
09:40 AM roguish[m]: sometimes I ask JT for help... he's good.
10:31 AM seb_kuzminsky: argh, i hate how long it takes to build our debs now, the package build system doesn't use parallelism by default
10:41 AM pere: yeah, the doc building take forever. the code build is quick.
11:12 AM seb_kuzminsky: pere: i was mistaken last night, the config tests i was running were on bullseye, not bookworm
11:13 AM seb_kuzminsky: but i reran them on bookworm and they still didn't have any opengl problems with axis
11:33 AM pere: thanks. I'll try to reproduce it.
01:40 PM JT-Shop_ is now known as JT-Shop
01:40 PM -!- #linuxcnc-devel mode set to +v by ChanServ
07:44 PM seb_kuzminsky: is there anyone in the linuxcnc world that understands remap? the sample config sim/axis/remap/getting-started/demo.ini fails to start (2.9, bookworm). i fixed a couple of easy python2(!) problems, but then got totally stuck on actual remap stuff
08:15 PM Tom_L: understand?
08:15 PM Tom_L: i did one once but i don't fully understand it
08:15 PM Tom_L: code wise i'd be lost i'm afraid
08:18 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/Remap_notes.txt
08:19 PM Tom_L: some notes i took for myself
08:19 PM Tom_L: may not make any sense to you
08:22 PM Tom_L: i was remapping M6 for spindle orient for a carousel tool changer example
08:24 PM Tom_L: a blur to me now
08:29 PM Tom_L: the actual code would go in an ngc subroutine
08:30 PM Tom_L: i recall you need remap.py and toplevel.py in the ini directory
08:30 PM Tom_L: and probably the change.ngc file
08:30 PM Tom_L: which has the remap gcode in it
08:33 PM Tom_L: http://linuxcnc.org/docs/stable/html/remap/remap.html#_remapping_tool_change_related_codes_t_m6_m61
08:42 PM seb_kuzminsky: any advise on the sim config above?
08:46 PM linuxcnc-build2: Build [#104](http://buildbot2.highlab.com/buildbot/#builders/13/builds/104) of `00-checkin` 4failed.
08:48 PM seb_kuzminsky: ah, that build failure is ok, that's me deleting a branch before the buildbot got around to building it
08:58 PM -!- #linuxcnc-devel mode set to +v by ChanServ
08:58 PM Tom_L: i get a syntax error
09:06 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/remap_sim_error.txt
09:07 PM Tom_dev: all the log shows is:
09:07 PM Tom_dev: 3453
09:07 PM Tom_dev: Stopping realtime threads
09:07 PM Tom_dev: Unloading hal components
09:09 PM Tom_L: missing remap plugin?
09:09 PM Tom_L: Python plugin configure() failed, status = -11
09:09 PM Tom_L: iNTERP_REMAP: Python plugin required for python=, but not available:
09:09 PM Tom_L: REMAP INI line:100 = G88.6 modalgroup=1 argspec=XYZp py=g886
09:12 PM Tom_L: crap. i'm in master... where are the demo files stored for the installed copy?
09:15 PM Tom_L: it seems to me that it can't find remap.py
09:19 PM Tom_L: the only one i'm familiar with remapping is M6. the ones it errors on appear to be user defined
09:20 PM Tom_L: G88.1, G88.6, M462, M465
09:21 PM Tom_L: associated file is also nc_files/examples.ngc
09:24 PM Tom_dev: for G88.6 see /python/remap.py line 30
09:24 PM Tom_dev: where it looks like it is defined
09:24 PM Tom_dev: as are a couple others
09:27 PM Tom_dev: in demo.ini:
09:27 PM Tom_dev: SUBROUTINE_PATH = nc_subroutines:../../nc_files/remap_lib/common_nc_subs
09:27 PM Tom_dev: remap_lib appears to be missing
09:27 PM Tom_dev: dir
09:27 PM TurBoss: that could be except InterpreterException as e:
09:28 PM TurBoss: hello Tom_dev
09:28 PM Tom_L: i know very little about this.. just trying
09:28 PM Tom_L: hi
09:28 PM TurBoss: can you try change the "coma" with an "as" in line 84?
09:29 PM TurBoss: im trying localy
09:29 PM Tom_dev: which file?
09:29 PM TurBoss: /home/tom/linuxcnc/configs/sim.axis.remap.getting-started/python/remap.py
09:29 PM Tom_dev: oh
09:31 PM Tom_dev: now i get a gcode error in examples.ngc
09:32 PM Tom_dev: TurBoss, does the msg = line below that look ok?
09:33 PM Tom_dev: SyntaxError: multiple exception types must be parenthesized
09:33 PM Tom_dev: sry i don't know python
09:33 PM TurBoss: 🙂
09:34 PM Tom_dev: msg = "%d: '%s' - %s" % (e.line_number,e.line_text, e.error_message)
09:34 PM TurBoss: looks okay
09:35 PM Tom_dev: appears to be where the error is thrown to me
09:35 PM Tom_dev: but what do i know?
09:35 PM TurBoss: should be a traceback line in the logs
09:35 PM Tom_dev: ^^
09:36 PM Tom_dev: 3453
09:36 PM Tom_dev: no help
09:36 PM TurBoss: 😕
09:38 PM Tom_dev: the 'as' didn't help
09:38 PM Tom_dev: put the comma back
09:38 PM TurBoss: ouch
09:38 PM TurBoss: ok
09:43 PM Tom_dev: iNTERP_REMAP: Python plugin required for python=, but not available:
09:43 PM Tom_dev: path to remap.py botched?
09:44 PM TurBoss: from what directory are you running demo.ini?
09:44 PM TurBoss: from getting-started?
09:44 PM Tom_dev: home/tom
09:44 PM TurBoss: to get that to work you need to cd to the config dir
09:44 PM TurBoss: or use absulute path to python remaps directory in the ini
09:45 PM Tom_dev: tom@bookworm:~$ linuxcnc /home/tom/linuxcnc/configs/sim.axis.remap.getting-started/demo.ini
09:45 PM TurBoss: plz try to cd there where demo lives and issue linuxcnc demo.ini
09:46 PM Tom_dev: A configuration error is preventing LinuxCNC from starting.
09:46 PM Tom_dev: More information may be available when running from a terminal.
09:46 PM Tom_dev: Shutting down and cleaning up LinuxCNC...
09:49 PM Tom_dev: http://tom-itx.no-ip.biz:81/~webpage/cnc/sim_demo/linuxcnc_debug.txt
09:49 PM Tom_dev: http://tom-itx.no-ip.biz:81/~webpage/cnc/sim_demo/linuxcnc_print.txt
09:55 PM TurBoss: runing demo from getting-started directory i get this error https://dpaste.com/23EALTBJ2
09:56 PM TurBoss: i had to fix the coma , as thing too
10:06 PM Tom_dev: nothing to do with multiple spindles does it?
10:06 PM Tom_dev: now you're allowed more than one
10:08 PM Tom_dev: <-- calls it a night
10:08 PM Tom_L: also i'm running 2.9.0~pre
10:09 PM Tom_L: if it matters
10:14 PM TurBoss: demo.ini boots if i disable OPEN_FILE from the ini
10:15 PM Tom_L: my bookworm is a minimal install.. i wonder if i need more python installed
10:16 PM Tom_L: it should run on it's own though
10:16 PM Tom_L: i shut mine down for the night.. what line in the demo.ini?
10:17 PM TurBoss: line 9
10:17 PM Tom_L: we'll see how long i remember that..
10:18 PM Tom_L: you're running 2.10 on what os?
10:18 PM TurBoss: archlinux
10:33 PM linuxcnc-build2: Build [#106](http://buildbot2.highlab.com/buildbot/#builders/13/builds/106) of `00-checkin` 3completed successfully.