#flex-dev Logs

Sep 19 2025

#flex-dev Calendar

07:31 AM lcnc-relay: <meisterdippel@> set the library path
07:31 AM lcnc-relay: if self.path == '/usr/bin':
07:31 AM lcnc-relay: self.lib_path = '/usr/lib/libflexgui'
07:31 AM lcnc-relay: self.gui_path = '/usr/lib/libflexgui'
07:31 AM lcnc-relay: ... long message truncated: https://jauriarts.org/_heisenbridge/media/jauriarts.org/zaDCxmxoENureucdjmuAQnWd/RGsSktLrc-g (7 lines)
07:31 AM lcnc-relay: <meisterdippel@> please can you add this last 3 lines
07:35 AM JT-Cave: why is that needed?
07:35 AM Tom_L: probably for his rio stuff
07:36 AM JT-Cave: the only reason I can think of is if your just running flexgui without emc
07:37 AM JT-Cave: actually I should just check that the path is usr/bin and complain if not???
07:38 AM JT-Cave: is he running emc and flex on rio? and what's rio?
07:42 AM JT-Cave: actually I check for emc
07:43 AM JT-Cave: # connect to linuxcnc
07:43 AM JT-Cave: self.status = emc.stat()
07:43 AM JT-Cave: try:
07:43 AM JT-Cave: self.status.poll()
07:43 AM JT-Cave: except:
07:43 AM JT-Cave: msg = ('Flex GUI must be called from\n'
07:43 AM JT-Cave: 'the LinuxCNC ini file.')
07:43 AM JT-Cave: dialogs.error_msg_ok(self, msg, 'Error')
07:43 AM JT-Cave: sys.exit()
07:44 AM Tom_L: https://github.com/multigcs/LinuxCNC-RIO
07:44 AM Tom_L: i think that's it
07:45 AM JT-Cave: and that test fails if you have emc running then run flexgui from a terminal
07:46 AM Tom_L: iirc he's got a board etc for it
07:46 AM Tom_L: using maybe the 7c81 or whichever is the carrier board
07:47 AM Tom_L: https://github.com/multigcs/riocore
07:52 AM lcnc-relay: <meisterdippel@> to run flexgui in place without installation 🙂
07:56 AM JT-Cave: I used to do that when I first started but anyway the gui path would be wrong
07:58 AM JT-Cave: I have to prep for a trip so I won't have time to look into that right now
07:58 AM JT-Cave: why do you want to run flex not installed?
08:04 AM lcnc-relay: <meisterdippel@> to run different versions in different configs with different patches, like with my robot 3d view and it would be nice to stay as close to the original as possible
08:29 AM JT-Cave: the reason I don't run from a terminal when emc is already running is the creation of the hal component fails the second time and crashes flex because the component flexhal is still in emc memory
08:46 AM Tom_L: headin out here. have a good trip
08:50 AM JT-Cave: thanks
09:17 AM lcnc-relay: <meisterdippel@> i don't run it outside, i only copy it into my config folder
09:39 AM JT-Cave: how does linuxcnc find it?
10:34 AM JT-Shop: so how does linuxcnc find flexgui when it's in your configuration directory
12:15 PM lcnc-relay: <meisterdippel@> read_ini.py: 88: # check for theme must be done before using any dialogs
12:15 PM lcnc-relay: <meisterdippel@> 57: dialogs.warn_msg_ok(parent, msg, 'Configuration Error')
12:16 PM lcnc-relay: <meisterdippel@> it's before
01:47 PM JT-Mobile: Welcome to Perryville Mo
02:19 PM JT-Mobile: See you in Collinsville IL