#linuxcnc-devel | Logs for 2018-09-08

Back
[01:11:06] -!- c-log has quit [Ping timeout: 252 seconds]
[01:12:51] -!- c-log has joined #linuxcnc-devel
[01:20:44] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15c-morley pushed 1 new commit to 06qt5vcp_py2: 02https://github.com/LinuxCNC/linuxcnc/commit/bee95ef9aad79c78b2a2bb8dcfbe07f1c49b593c
[01:20:44] -linuxcnc-github:#linuxcnc-devel- 13linuxcnc/06qt5vcp_py2 14bee95ef 15Chris Morley: qtvcp -update blender screen...
[01:20:49] -!- c-log has quit [Ping timeout: 244 seconds]
[01:22:45] -!- c-log has joined #linuxcnc-devel
[01:30:36] -!- ve7it has quit [Remote host closed the connection]
[01:31:18] -!- c-log has quit [Ping timeout: 245 seconds]
[01:34:07] -!- c-log has joined #linuxcnc-devel
[03:53:21] -!- mozmck has quit [Ping timeout: 252 seconds]
[04:15:37] -!- Robh__ has joined #linuxcnc-devel
[06:55:28] -!- Robh__ has quit [Ping timeout: 245 seconds]
[07:52:10] -!- Robh__ has joined #linuxcnc-devel
[08:11:25] Jin|away is now known as Jin^eLD
[08:43:29] <Jin^eLD> does recent master head work for you guys? https://paste.ee
[08:43:38] <Jin^eLD> what python version does it expect?
[08:45:41] <jthornton> looks like an error in the comp
[08:49:36] <Jin^eLD> who is its maintainer? a bit hard to fix that without having enough context
[08:50:57] <Jin^eLD> but the .comp is .c, not python, the exception is on halcompile, I wonder if its related to the python version on my system?
[08:53:49] <Jin^eLD> yeah, its not the comp itself I think
[08:53:55] <Jin^eLD> I added a traceback to the exception
[08:53:56] <Jin^eLD> OSError: [Errno 2] No such file or directory: 'objects/hal/user_comps/thermistor.c'
[08:54:18] <Jin^eLD> looks more like some problem in halcompile
[08:54:40] <jthornton> way above my pay grade
[08:54:59] <Jin^eLD> )
[09:02:51] <jepler> Jin^eLD: you mention python version, you have to use python2 for everything linuxcnc.
[09:10:59] <jepler> anyway tip of master works fine on debian stable for me
[09:11:09] <jepler> Compiling hal/user_comps/xhc-hb04.cc
[09:11:09] <jepler> Preprocessing thermistor.comp
[09:11:09] <jepler> Compiling hal/user_comps/vfs11_vfd/vfs11_vfd.c
[09:12:05] <jepler> def _parse(rule, text, filename=None):
[09:12:06] <jepler> global P, S
[09:12:06] <jepler> S = HalScanner(text, filename=filename)
[09:12:28] <jepler> this is the most likely location of the error. maybe you also have an incompatible version of the yapps parser generator or its runtime
[09:12:43] <Jin^eLD> so its probably python3 thats default on Fedora I guess, I'll have to see how to force linuxcnc to stick with python2, I tried pointing it to the python2 binary via configure but that did not help
[09:13:21] <Jin^eLD> at the same time 2.7.14 tag does work fine
[09:13:49] <Jin^eLD> so it must be some change after the release that causes thsi
[09:13:52] <Jin^eLD> *this
[09:15:04] <Jin^eLD> is halcompile.py being generated? it does not seem to be under revision control unless I am missing something
[09:15:17] <jepler> commit 902eeef01a528290b9fb1d8bb1cc99454cdf82b6
[09:15:33] -!- jthornton has quit [Quit: Leaving]
[09:15:37] <jepler> we hade a fleeting gesture at python3 compatibility before getting tired
[09:16:37] <Jin^eLD> but that commmit is way before 2.7.14, something after 2.7.14 must have broken it?
[09:17:39] <jepler> ummm
[09:17:43] <jepler> that commit is not on 2.7
[09:17:50] <jepler> looking at the date is not the right information, because of branches
[09:18:30] -!- jthornton has joined #linuxcnc-devel
[09:18:36] <Jin^eLD> oh
[09:18:38] <jepler> $ git --help contains
[09:18:39] <jepler> `git contains' is aliased to `!f() { r=${2-HEAD}; if git merge-base --is-ancestor "$1" "$r"; then echo $r contains $1; return 0; else echo $r does not contain $1; return 1; fi; }; f'
[09:18:43] <jepler> $ git contains 902eeef01a528290b9fb1d8bb1cc99454cdf82b6 origin/2.7
[09:18:43] <jepler> origin/2.7 does not contain 902eeef01a528290b9fb1d8bb1cc99454cdf82b6
[09:18:47] <jepler> $ git contains 902eeef01a528290b9fb1d8bb1cc99454cdf82b6 origin/master
[09:18:47] <jepler> origin/master contains 902eeef01a528290b9fb1d8bb1cc99454cdf82b6
[09:18:50] <jepler> afk
[09:19:24] <Jin^eLD> aha... so that commit actually breaks it :)
[09:45:47] <Jin^eLD> btw based on what I see from configure it does use python 2.7 here, so the python3 compat commit probably goes a bit too far
[09:46:54] <Jin^eLD> I surprisingly have a different problem now though, after switching branches back and forth and doing some build I got back to master, did a make clean but I am now again failing in halcompile with: import yapps.yappsrt as yappsrt
[09:47:02] <Jin^eLD> I do have yapps, but it has no yappsrt thing...
[09:48:56] <Jin^eLD> which python vesion exactly are you using with master?
[10:39:40] -!- selroc has joined #linuxcnc-devel
[11:48:01] -!- selroc has quit [Quit: Leaving]
[12:19:27] -!- Robh__ has quit [Ping timeout: 272 seconds]
[13:54:58] -!- ve7it has joined #linuxcnc-devel
[14:40:53] -!- pcw_home has quit [Ping timeout: 245 seconds]
[15:57:56] <rene_dev_> Jin^eLD are you working on python3 support?
[16:08:28] <Jin^eLD> rene_dev_: no, I am not that good at python to know the differences between python2 and python3
[16:08:51] <Jin^eLD> I tried to compile linuxcnc on Fedora 27 and ran into python problems
[16:08:57] <Jin^eLD> it uses python 2.7
[16:09:16] <Jin^eLD> and the release tag compiles fine, but the python3 support patch that jepler mentioned breaks it
[16:10:09] <Jin^eLD> another thing to look out for is Fedora 28 - they removed rpc headers from glibc and everyone is supposed to use the libtirpc library now
[16:10:16] <Jin^eLD> that's something I can look into
[16:16:59] <Jin^eLD> I am a bit surprised that only autoconf is used, but not automake...
[16:21:44] -!- ve7it has quit [Remote host closed the connection]
[16:36:33] -!- ve7it has joined #linuxcnc-devel
[16:59:50] -!- KimK has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[17:04:44] -!- ve7it has quit [Remote host closed the connection]
[17:09:47] -!- ve7it has joined #linuxcnc-devel
[18:11:38] -!- Robh__ has joined #linuxcnc-devel
[18:12:39] Jin^eLD is now known as Jin|away
[18:23:24] -!- ve7it has quit [Remote host closed the connection]
[18:27:01] -!- ve7it has joined #linuxcnc-devel
[19:43:38] -!- hazzy has joined #linuxcnc-devel
[19:50:04] -!- hazzy has quit [Ping timeout: 240 seconds]
[20:27:14] -!- hazzy has joined #linuxcnc-devel
[20:39:18] -!- Robh__ has quit [Ping timeout: 252 seconds]
[21:22:34] -!- hazzy has quit [Ping timeout: 240 seconds]
[22:06:10] -!- hazzy has joined #linuxcnc-devel
[23:55:23] -!- Tom_itx has joined #linuxcnc-devel
[23:55:47] Tom_itx is now known as Guest64656