#hazzy | Logs for 2018-12-28
Back
[01:06:13] <hazzy-m> jthornton: added command line and INI settings to disable the exit dialog
[01:06:56] <hazzy-m> --confirm-exit=False on cmd line, and [DYSPLAY] CONFIRM_EXIT = False in INI
[01:08:30] <hazzy-m> also fixed several other yaml and ini related bugs
[01:08:51] <hazzy-m> I'm making a new release version, v0.1.5
[01:09:00] * hazzy-m has to drive 24hr tomorrow
[01:09:03] <hazzy-m> gn8
[05:54:09] <jthornton> morning
[08:56:28] <hazzy-m> Morning
[08:58:11] <JT-Shop> I thought you were on the road today?
[08:58:38] <JT-Shop> I saw on the forum you can import or use ngcgui subs :)
[11:50:48] <hazzy-m> Waiting fpr a flight to come in, might be a while before we get on the road :(
[11:51:39] <hazzy-m> Yes! I should make an example of how to use NGCGUI subs
[11:51:44] <JT-Shop2> have a safe trip
[11:52:04] <JT-Shop2> it's starting to come together for me but more questions when you return
[11:52:36] <hazzy-m> thanks! headed to new mexico, will pass by a little south of you
[11:53:25] <hazzy-m> I'm on mobile, so feel free to ask and i'll try to answer as I can
[11:53:37] -!- Roguish has quit [Ping timeout: 250 seconds]
[11:54:04] <JT-Shop2> ok, thanks
[11:54:11] <JT-Shop2> are you driving to new mexico?
[12:13:14] <hazzy-m> Yes
[13:24:49] <hazzy-m> jthornton: have you managed to install LCNC on a recent Mint distro?
[13:25:51] <hazzy-m> python-imaging is no longer available, but it required :(
[13:25:52] <hazzy-m> http://dpaste.com
[13:26:17] <hazzy-m> TurBoss: Yo've installed LCNC on recent ubuntu, right?
[13:26:24] <TurBoss> nop
[13:26:31] <hazzy-m> oh, ok
[13:26:41] <TurBoss> > python-imaging is no longer available, but it required :(
[13:26:41] <TurBoss> where?
[13:27:02] <hazzy-m> Mint 19.1
[13:27:42] <TurBoss> https://pillow.readthedocs.io
[13:28:32] <hazzy-m> I tried that by linuxcnc does not like it :(
[13:28:46] <TurBoss> Pillow, the friendly PIL fork. PIL is the Python Imaging Library.
[13:28:57] <TurBoss> :O
[13:28:58] <hazzy-m> can I ignore a dependancy?
[13:29:14] <TurBoss> is linux mint?
[13:29:16] <TurBoss> sek
[13:29:20] <hazzy-m> yes
[13:29:57] <TurBoss> do you have universe and multiverse repos?
[13:30:14] <hazzy-m> I don't know what those are
[13:30:15] <hazzy-m> lol
[13:30:29] <TurBoss> extra repos
[13:30:45] <hazzy-m> ok great!
[13:30:50] <hazzy-m> i'll try adding them
[13:30:55] <hazzy-m> ty
[13:42:12] -!- Roguish has joined #hazzy
[14:07:13] <jthornton> hazzy-m: yes, I run it on Linux Mint 18.3 Linux cave-mint18 4.19.1-rt3 #1 SMP PREEMPT RT Wed Dec 5 04:47:55 CST 2018 x86_64 x86_64 x86_64 GNU/Linux
[14:09:02] <jthornton> you might need backports, I needed that on ubuntu 10.4
[14:09:04] <jthornton> 04
[14:16:42] <jthornton> I wonder how much of the debian control depends are out of date...
[14:59:56] * hazzy-m unpacked the .deb, edited control, repacked it and now it seems ot be instaling ok
[15:01:14] <hazzy-m> hurray!!!
[15:01:16] <hazzy-m> it works
[15:01:22] <JT-Shop2> yea
[15:01:24] <hazzy-m> maybe I sould open a PR
[15:01:30] <JT-Shop2> aye
[15:02:00] <JT-Shop2> did you just remove python-imaging and python-imaging-tk?
[15:02:02] <hazzy-m> seemed to install and work flawlessly
[15:02:53] <hazzy-m> I just changed: python2.7-imaging | python-imaging
[15:02:55] <hazzy-m> to
[15:02:56] <hazzy-m> python2.7-imaging | python-imaging | python-pil,
[15:03:16] <hazzy-m> so it should not brake anything on other systems
[15:03:46] <JT-Shop> ah cool
[15:06:30] <TurBoss> good amazing
[15:06:37] <TurBoss> so mint worked?
[15:06:46] <hazzy-m> yes, seems perfect
[15:06:53] <TurBoss> hurray!!
[15:07:01] <TurBoss> booooooo
[15:07:03] <TurBoss> not debian
[15:07:03] <TurBoss> :P
[15:07:05] <hazzy-m> so now I need to clone qtpyvcp
[15:07:15] <TurBoss> oki
[15:49:59] * TurBoss uploaded an image: 20181228_214941.jpg (80KB) < https://matrix.org >
[15:50:07] <TurBoss> my huge drivers
[15:50:08] <TurBoss> lol
[15:50:22] <TurBoss> just added the caps
[15:51:07] <hazzy-m> nice!
[15:51:12] <hazzy-m> huge drives
[15:51:13] <hazzy-m> :P
[15:51:35] <TurBoss> i have bigger ones
[15:52:12] * TurBoss uploaded an image: 20181228_215155.jpg (139KB) < https://matrix.org >
[15:53:12] * hazzy-m uploaded an image: image.png (282KB) < https://matrix.org >
[15:53:17] <hazzy-m> JCNC on mint 19.1
[15:53:21] <hazzy-m> Hurray!!
[15:53:26] <TurBoss> wow
[15:54:07] <TurBoss> JCNC is the first external functional UI!!!
[15:54:09] <TurBoss> ahhahahahahah
[15:54:19] <TurBoss> full featured
[15:54:21] <TurBoss> lol
[15:55:42] <TurBoss> full failure
[15:55:43] <hazzy-m> It is! You won the race :D
[15:55:50] <TurBoss> hurray!
[15:55:51] <hazzy-m> xD
[15:56:11] <hazzy-m> also it fits on a normal sized screen
[15:56:14] <TurBoss> ohhh JCNC requires the video widget
[15:56:15] <hazzy-m> lol
[15:56:25] <hazzy-m> oh yes!
[15:56:27] <TurBoss> great!!
[15:57:16] <TurBoss> have you ever eared about mixing thermal past + loctite?
[15:57:33] <TurBoss> for glue heatsinks
[15:59:13] <hazzy-m> no, but is seems like a good ide
[15:59:14] <hazzy-m> a
[15:59:24] <hazzy-m> but you maynever get the heatsink back off!
[15:59:48] <TurBoss> the probles i the oposite
[15:59:57] <TurBoss> they break easy
[16:00:04] <TurBoss> when manipulating
[16:02:03] <TurBoss> I'll try to install qtpyvcp on ubuntu in a hour or 2
[16:02:25] <TurBoss> I'm bored when i play with the laptop
[16:02:51] <TurBoss> hazzy: something new in QtpyVCP
[16:04:35] <TurBoss> I saw travis report
[16:05:48] <TurBoss> https://travis-ci.org
[16:09:04] <hazzy-m> i'll send the deb I made
[16:09:28] * hazzy-m posted a file: linuxcnc-2.8.deb (4600KB) < https://matrix.org >
[16:09:59] <hazzy-m> most recent master, with control edited
[16:10:09] <TurBoss> okey!
[16:10:21] <TurBoss> I'll try buildbot first
[16:10:41] <hazzy-m> great!
[16:10:47] <TurBoss> ok I'm moving
[16:10:49] <hazzy-m> let me know if you can get it to work
[16:10:50] <TurBoss> back in ten min
[16:24:37] * hazzy-m uploaded an image: image.png (148KB) < https://matrix.org >
[16:24:43] <hazzy-m> desnginer even works on mint!
[16:33:10] <hazzy-m> flawless
[16:42:14] * hazzy-m packs up his bags and loads the conestoga wagon to head west
[16:50:53] <hazzy-m> just got 13" of snow were I'm headed in NM :(
[16:56:02] * TurBoss sent a long message: < https://matrix.org >
[16:56:30] <TurBoss> last time used linuxcnc was RIP install
[16:58:41] <hazzy-m> not terrible
[16:59:02] <hazzy-m> if you can fix libboost-python1.62.0 you should be fine
[16:59:07] <TurBoss> oh cool
[17:00:20] <TurBoss> 1.67.0
[17:00:34] <Roguish> hazzy-m: i bet that python imaging is for a camera function. maybe inside Features (NativeCam)
[17:00:55] <Roguish> also, travel safely.
[17:01:41] <hazzy-m> Roguish: I bet you are correct, one reason I don't like having all the GUIs and other non essential stuff in the main repo, you have to satisfy all their deps
[17:01:50] <hazzy-m> will try, thanks!
[17:03:04] <TurBoss> I'll build linuxcnc debs from source
[17:24:56] <jthornton> I wonder how hard it would be to build a stripped down emc without any gui's or wizards???
[17:25:09] <jthornton> then add back what you want...
[17:26:27] <hazzy-m> I don't think it would be hard at all, they are all mostly stand alone already
[17:26:48] <hazzy-m> I think that might be a good thing to do as part of the Py2 ro Py3 trasition
[17:27:09] <jthornton> is any of the core emc python?
[17:27:20] <jthornton> I thought it was mostly c++
[17:27:32] <hazzy-m> yes, quite a bit, but it is all c++
[17:27:48] <hazzy-m> right, but a lot of the C++ has python binding
[17:27:49] <hazzy-m> s
[17:27:59] <hazzy-m> so its all kinda mixed in
[17:28:03] <jthornton> ah ok
[17:33:40] * jthornton studies the linuxcnc script to see how it works...
[17:40:12] <jschi[m]1> hola!
[17:41:18] <jschi[m]1> got my G0704 updated to stretch/2.8pre in anticpation of getting some testing done on the machine - current configs with gmoccapy all good, machine appears to work.
[17:41:57] <hazzy-m> hey jeff!
[17:41:59] <jschi[m]1> discovered though that my asus 19" touch screen maxes out at 1600x - so bumming that it's not 1920x1024
[17:42:01] <jschi[m]1> hey
[17:42:50] <jschi[m]1> glad to take suggestions for full 1920x1024 touchscreen monitors to swap in for the asus
[17:43:58] * hazzy-m thinks that you should stay with the small one so Lcvette has more incentive to make a smaller screen :D
[17:44:17] <jschi[m]1> :-)
[17:44:46] * jthornton has a 15.6" 1366x768 touch screen that costs $170
[17:45:18] <jschi[m]1> yeah,I thought I was being generous to myself with19"
[17:45:56] <jthornton> I think the BP is a 19" and the CHNC had a 21" but had to take it out as the mb was overheating
[17:46:11] <jthornton> the 15.6" is for my chickens lol
[17:46:18] <hazzy-m> LOL
[17:46:19] <jschi[m]1> ;-/
[17:46:51] <hazzy-m> what do they watch on it?
[17:46:57] <jschi[m]1> ROFL
[17:47:10] <jthornton> crickets
[17:47:16] <hazzy-m> hahaha
[17:47:28] <hazzy-m> into sports then, eh?
[17:48:08] <jthornton> yea the sport is who can catch the cricket first
[17:52:10] <jthornton> I wonder what this does in the linuxcnc script PIDOF="/bin/pidof -x"
[17:52:57] <jthornton> # now kill all the other user space components
[17:52:58] <jthornton> for KILL_TASK in linuxcncsvr milltask; do
[17:52:58] <jthornton> if $PIDOF $KILL_TASK >>$DEBUG_FILE ; then
[17:52:58] <jthornton> KillTaskWithTimeout
[17:52:58] <jthornton> fi
[17:53:00] <jthornton> done
[17:53:09] <jschi[m]1> finds the pid of a running program
[17:53:22] <jthornton> ah thanks
[17:53:30] <jschi[m]1> -x excludes scripts
[17:54:05] <jschi[m]1> this viewsonic looks tasty - https://www.amazon.com
[17:54:08] <hazzy-m> ```
[17:54:09] <hazzy-m> kurt@z68:~$ /bin/pidof -x bash
[17:54:10] <hazzy-m> 4547 2169 2160 2155 1650 1649 1633
[17:55:45] <jthornton> john@cave-mint18 ~ $ /bin/pidof -x linuxcncsvr
[17:55:56] <jthornton> 8950
[17:55:59] <jthornton> ah cool
[17:56:18] <hazzy-m> Glenda: kill 8950
[17:56:31] <jthornton> Glenda[m]2: say hi
[17:56:33] <Glenda[m]2> hi
[17:56:42] <jschi[m]1> it's a much better approach than writing linuxcncsvr.pid into a file
[17:56:44] <jthornton> well she is not sleeping on the job
[17:57:20] <jthornton> thanks, trying to understand the linuxcnc script and see what the basic steps are needed
[17:57:23] <jschi[m]1> k, gotta feed the kids (not a euphimism) - code is looking good!
[17:57:39] <jthornton> nice monitor
[17:58:47] <jthornton> is a bash script the best way to start linuxcnc?
[18:01:16] <hazzy-m> yes, probably
[18:01:48] <hazzy-m> you could use python and subprocess or something like that, but bash is much more direct
[18:07:15] <jthornton> just thinking out loud about a bash script just to launch emc with a gui...
[18:16:13] * jthornton has just started and killed linuxcncsvr lol
[18:17:05] <TurBoss> yo
[18:18:54] -!- Not-e6c6 has joined #hazzy
[18:18:54] <Not-e6c6> [02QtPyVCP] 07TurBoss pushed 032 commits to 03master [+0/-0/±3] 13https://gitlab.com/Hazzy/qtpyvcp/compare/b6a40362347064110437e3f43a3d74ac65ec2fc4...5622e9e49132b3a9597ff05511b19fea8d161be6
[18:18:56] <Not-e6c6> [02QtPyVCP] 07Kurt Jacobson 039eb0b18 - DOC: update install deps
[18:18:57] <Not-e6c6> [02QtPyVCP] 07Kurt Jacobson 035622e9e - BLD: enable build status spam
[18:19:27] <hazzy-m> its alive!
[18:19:28] <hazzy-m> better late than never
[18:19:50] <hazzy-m> oh
[18:20:04] <hazzy-m> I must have been pushing to the wrong remote ..
[18:20:22] <TurBoss> :D
[18:23:22] * jthornton needs another chicken door to play with...
[18:25:13] <jthornton> if [ -f $LOCKFILE ] bash cheat sheet says -f File that does not make sense
[18:25:51] <hazzy-m> That checkes if the LCNC lockfile is present
[18:25:55] <jthornton> -e is Exists I wonder what -f actually is
[18:27:05] <hazzy-m> -f checkes if it is a file
[18:27:16] <hazzy-m> false if it is not a file (non existant or a dir)
[18:27:27] <hazzy-m> I used in the in script to install the .so files
[18:27:33] <hazzy-m> if [ -f "$oldlib" ] ...
[18:27:35] <jthornton> is that different than -e?
[18:27:59] <hazzy-m> yes, -e just checks if the path exists, could be a dir or a file, or maybe even a link
[18:28:13] <jthornton> ah ok that makes sense then
[18:28:25] <jthornton> thanks
[18:28:46] <hazzy-m> -e is like os.path.exists in python, -f is like os.path.isfile
[18:28:47] <hazzy-m> np
[18:29:05] <jthornton> ok that makes it much clearer
[18:36:35] <jthornton> geez bash is picky about spaces lol
[18:37:10] <hazzy-m> yes, it can be a pain!
[18:38:50] <jthornton> and the linuxcnc script is a mix of tabs and spaces lol
[18:39:45] <jthornton> is program_available a bash command?
[18:48:06] <hazzy-m> jthornton: not that I know of
[18:48:17] <jthornton> ok
[18:48:24] <jthornton> must be a emc thing
[18:48:33] <TurBoss> where JT?
[18:48:41] <TurBoss> can you point me to the code?
[18:48:46] <jthornton> linuxcnc script
[18:49:04] <hazzy-m> in the scripts dir
[18:49:08] <TurBoss> ok
[18:49:11] <jthornton> yea
[18:49:51] <TurBoss> https://github.com this one?=
[18:50:16] <jthornton> yea
[18:50:36] <TurBoss> Ican only find program_available
[18:50:55] <jthornton> program_available () {
[18:50:55] <jthornton> type -path "$1" > /dev/null 2>&1
[18:50:55] <jthornton> }
[18:50:59] <TurBoss> that
[18:51:01] <jthornton> that must be a function
[18:51:05] <TurBoss> it is
[18:51:14] <jthornton> ok cool
[18:51:15] <TurBoss> it checks for the first argument
[18:51:22] <TurBoss> of the linuxcnc call
[18:52:11] * TurBoss sent a long message: < https://matrix.org >
[18:53:09] <jthornton> so bash kind of like does like basic IIRC from so long ago with passing variables...
[18:53:41] <jthornton> time to put on my chef hat and start dinner :)
[18:53:59] <TurBoss> it ask is a file has begin passed
[18:54:01] <TurBoss> as argument
[18:54:04] <TurBoss> profit
[18:55:05] * hazzy-m gets in the car and heads west into the snow
[18:55:06] <hazzy-m> cu
[18:55:12] <TurBoss> bye
[18:55:15] <jthornton> safe trip
[20:20:58] -!- Roguish has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]