#linuxcnc-devel | Logs for 2016-06-30

Back
[00:00:10] -!- andypugh has quit [Quit: andypugh]
[00:08:18] <jepler> ah that's good news then
[00:11:26] <PCW__> there's something a bit different with the N3XXX graphics than seems to make it picky (at least on the Zotac)
[00:18:52] -!- skunkworks [skunkworks!~skunkwork@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[00:33:59] <skunkworks> zlog
[00:34:00] <zlog> skunkworks: Log stored at http://tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%23linuxcnc-devel/2016-06-29.html
[01:00:19] -!- kingarmadillo has quit [Ping timeout: 250 seconds]
[01:14:27] <jepler> seb_kuzminsky: hey where is the public half of the key you use to sign http://highlab.com/~seb/linuxcnc/ ?
[01:14:39] <jepler> W: GPG error: http://highlab.com jessie Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EF0D730CE9AD3D5D
[01:18:07] <PCW__> well crap 4.1.27-rt30 crashed after a couple hours up on the n3150
[01:19:01] <PCW__> back to 4.4 on the n3150
[01:19:49] <skunkworks> 4.4.9-rt17 #1 SMP PREEMPT RT Sun May 15 20:22:00 CDT 2016 x86_64 GNU/Linux
[01:21:03] <skunkworks> no crashes - but it doesn't lock the screen after 5 minutes like it should. (I don't know if that all happed at the same time or unrelated..)
[01:21:37] <skunkworks> have not tried the latest
[01:22:05] <skunkworks> PCW__, how is it going? the matsuura has been up for probably months now - no issues. we just leave it on
[01:22:36] <PCW__> I think this is N3150/Zotac specific 4.4.16 had been up more than a month also without issue
[01:23:47] <PCW__> busy ATM trying to build up a reasonable amount of stock so we are not building every other month or so
[01:24:29] <PCW__> first time building 1000 5I25s at once
[01:26:47] <skunkworks> well - you are popular :)
[01:27:47] <PCW__> just too much purchasing work to do in small batches
[01:49:14] <cradek> that's very good news
[02:00:21] -!- ve7it [ve7it!~LawrenceG@S010648f8b3c3bc3b.pk.shawcable.net] has joined #linuxcnc-devel
[02:17:29] <skunkworks> PCW__, The panel interface - If I use the ones that don't have the pull ups - I need to use 3.3v?
[02:31:57] -!- kingarmadillo has quit [Ping timeout: 244 seconds]
[02:33:18] <seb_kuzminsky> jepler: http://highlab.com/~seb/linuxcnc/dists/archive-signing-key.gpg
[02:33:22] -!- anth0ny_ has quit [Quit: anth0ny_]
[02:33:30] <seb_kuzminsky> i hid it in plain sight and then didnt tell anyone
[02:34:08] <seb_kuzminsky> http://i.imgur.com/A40o10Q.gif
[02:50:51] -!- skunkworks has quit [Ping timeout: 240 seconds]
[03:07:32] <pcw_home> skunkworks: (should you read this later) yes the analog inputs (no pullups/pulldowns)
[03:07:33] <pcw_home> can be pulled down to gnd or pulled up to 3.3V, they are 3.3V max inputs
[03:16:04] -!- kingarmadillo has quit [Ping timeout: 240 seconds]
[03:17:05] -!- sebstrax has quit [Quit: Connection closed for inactivity]
[03:19:07] -!- Komzpa has quit [Ping timeout: 258 seconds]
[03:40:51] -!- skunksleep has quit [Ping timeout: 240 seconds]
[04:17:52] -!- kingarmadillo has quit [Ping timeout: 264 seconds]
[05:07:43] -!- KimK [KimK!~Kim__@2600:8803:7a82:b200:4a5b:39ff:fe0b:57d2] has joined #linuxcnc-devel
[05:13:23] -!- ve7it has quit [Remote host closed the connection]
[05:19:21] -!- kingarmadillo has quit [Ping timeout: 244 seconds]
[05:34:55] -!- KimK has quit [Quit: Leaving]
[05:48:23] -!- anth0ny_ has quit [Quit: anth0ny_]
[05:59:33] -!- kwallace [kwallace!~kwallace@162.222.30.254] has parted #linuxcnc-devel
[06:26:55] -!- skunksleep [skunksleep!~AndChat14@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[06:29:17] -!- Mathnerd314 has quit [Ping timeout: 244 seconds]
[06:34:22] -!- anth0ny_ has quit [Quit: anth0ny_]
[06:42:44] -!- teepee has quit [Ping timeout: 272 seconds]
[06:42:57] -!- teepee [teepee!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[06:53:12] -!- Robh__ [Robh__!~R@97e428d3.skybroadband.com] has joined #linuxcnc-devel
[07:17:05] -!- sebstrax has quit [Quit: Connection closed for inactivity]
[07:22:50] -!- skunksleep has quit [Ping timeout: 244 seconds]
[07:23:54] -!- skunksleep [skunksleep!~AndChat14@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[07:24:33] -!- b_b has quit [Changing host]
[07:39:57] -!- skunksleep has quit [Ping timeout: 260 seconds]
[07:52:06] -!- k-man has quit [Quit: WeeChat 1.4]
[08:19:20] -!- KimK [KimK!~Kim__@2600:8803:7a82:b200:4a5b:39ff:fe0b:57d2] has joined #linuxcnc-devel
[08:49:15] -!- skunksleep [skunksleep!~AndChat14@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc-devel
[09:08:07] -!- Miner_48er has quit [Quit: Leaving]
[09:08:17] -!- sheppard has quit [*.net *.split]
[09:08:17] -!- chesty_ has quit [*.net *.split]
[09:08:18] -!- johtso has quit [*.net *.split]
[09:08:18] -!- racicot has quit [*.net *.split]
[09:08:21] racicot_ is now known as racicot
[09:11:31] -!- ikcalB [ikcalB!~ikcalB@mail.team-electronics.com] has joined #linuxcnc-devel
[09:40:09] -!- Robh__ has quit [Ping timeout: 258 seconds]
[09:55:39] -!- md-2 has quit [Quit: Leaving...]
[10:01:21] -!- Komzzpa has quit [Ping timeout: 246 seconds]
[10:40:39] -!- md-2 has quit [Remote host closed the connection]
[10:42:16] -!- persina has quit [Ping timeout: 250 seconds]
[11:08:18] -!- skunkworks [skunkworks!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[11:15:39] -!- md-2 has quit [Remote host closed the connection]
[11:21:37] -!- md-2 has quit [Ping timeout: 260 seconds]
[11:47:19] <jepler> seb_kuzminsky: works fine, thanks
[11:57:02] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15lair82 opened issue #99: After Update to 2.7.4 error warning when using "Run From Line" in Gmoccapy 02https://github.com/LinuxCNC/linuxcnc/issues/99
[11:57:29] -!- Robh__ [Robh__!~R@97e428d3.skybroadband.com] has joined #linuxcnc-devel
[12:02:41] <lair82> Good Morning Gents, jepler, that add in that Norbert mentioned to fix the 0600 permission problems, can I hand edit that hal_sourceview.py file and see if that fixes the problem?
[12:28:49] <jepler> lair82: never change files installed by a debian package. build a RIP or build a package if you want to test any changes.
[12:30:24] <lair82> Ok, no problem, would norberts fix hopefully be in a 2.7.5 update?
[12:31:53] <lair82> I will probably build an RIP for now, at least until the 2 bugs are fixed that I found.
[12:32:28] <jepler> I haven't tracked the status of that bug. if it's in the 2.7 branch of our git, then yes that will be in the next 2.7.x. If not, then who can say.
[12:33:23] <lair82> Ok, cool, I will just wait and see
[12:35:41] <lair82> Will that fix the problem though, inserting the "os.chmod (filename,0664)" line after line 260 in the hal_sourceview.py file, and then building an RIP?
[12:36:30] <cradek> I don't see any related fix in 2.7
[12:44:17] <jepler> that will probably do what you need. it is not the ideal solution to the problem, because it still does not respect umask. the ideal solution would change the way the temporary file is created, so that it respects umask
[12:44:39] <jepler> but my plan is to let norbert fix it in whatever way he sees fit, because I am not a gmoccapy user or developer
[12:48:06] <lair82> Totally understandable,
[12:49:00] <jepler> if do you make and verify a fix that works for you, follow our procedure for contributors and create a pull request for it on github with the fix.
[12:49:08] <jepler> afk
[13:41:22] -!- lair82_ [lair82_!616b5c34@gateway/web/freenode/ip.97.107.92.52] has joined #linuxcnc-devel
[13:44:52] -!- Robh__ has quit [Ping timeout: 264 seconds]
[13:49:48] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:585:8200:7a40:d0d5:13c1:9dae:52c] has joined #linuxcnc-devel
[13:54:04] -!- kingarmadillo has quit [Ping timeout: 240 seconds]
[14:09:40] -!- skunkworks_ [skunkworks_!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[14:10:01] <lair82_> I am trying to modify andy's carousel component, after I did a git pull, it erased my change to the comp, and I can't remember what to change it to, I need the following parameter " param r bit homing = 0" outputted so I can get it into classicladder, and make a comparison against it.
[14:11:39] <lair82_> I thought I changed it to "pin out bit homing = 0" but that apparently wasn't it.
[14:12:50] <lair82_> He showed me what to change it to, but that was a year ago, and I didn't make a copy of the file for myself, after I made the change.
[14:29:55] -!- anth0ny_ has quit [Quit: anth0ny_]
[14:31:21] -!- BeachBumPete [BeachBumPete!~IceChat9@2601:585:8200:7a40:d0d5:13c1:9dae:52c] has parted #linuxcnc-devel
[14:32:14] -!- Mathnerd314 [Mathnerd314!~quassel@supertux/Mathnerd314] has joined #linuxcnc-devel
[14:34:30] <lair82> Disregard the above, just found our conversation,
[14:41:27] -!- skunkworks_ has quit [Ping timeout: 258 seconds]
[14:56:38] -!- skunkworks_ [skunkworks_!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[14:57:42] -!- kwallace [kwallace!~kwallace@162.222.30.254] has joined #linuxcnc-devel
[15:01:50] -!- skunkworks_ has quit [Ping timeout: 250 seconds]
[15:21:42] -!- md-2 has quit [Ping timeout: 258 seconds]
[15:27:39] -!- md-2 has quit [Remote host closed the connection]
[15:34:56] -!- ivansanchez has quit []
[15:36:10] -!- Daerist has quit [Quit: Leaving]
[15:49:01] -!- md-2 has quit [Read error: Connection reset by peer]
[15:49:18] -!- rigid has quit [Ping timeout: 272 seconds]
[15:50:59] -!- md-2 has quit [Read error: Connection reset by peer]
[15:53:04] <lair82_> seb_kuzminsky, jepler, I inserted this "os.chmod(filename, 0664)" after line 260 in hal_sourceview.py, and it works now, it saved the file like this, "-rw-rw-r-- 1 greenmill greenmill 251970 Jun 30 11:59 RICK-TEST.ngc"
[15:56:49] -!- md-2 has quit [Remote host closed the connection]
[15:57:41] <seb_kuzminsky> nice
[15:58:20] -!- md-2 has quit [Read error: Connection reset by peer]
[16:02:35] <seb_kuzminsky> i agree with jepler above that the correct fix should honor the user's umask
[16:02:52] <seb_kuzminsky> (and that it's norbert's choice how to fix it properly)
[16:03:00] <seb_kuzminsky> my suggestion for a PR to norbert is this:
[16:03:03] <seb_kuzminsky> (untested)
[16:03:23] <seb_kuzminsky> orig_umask = os.umask(0)
[16:03:33] <seb_kuzminsky> os.umask(orig_umask)
[16:03:57] <seb_kuzminsky> os.chmod(filename, (0666 & ~orig_umask))
[16:04:13] <seb_kuzminsky> that will preserve the umask, and honor it when creating the file
[16:07:50] <jepler> there is NO REASON to create the temporary file with the API that doesn't respect umask in the first place!
[16:08:17] <jepler> if you just stop using that API, there's no need to chmod at all!
[16:08:23] <seb_kuzminsky> hmm, yeah
[16:09:28] <jepler> i.e., just generate a temporary filename in whatever way you like and use open().
[16:11:32] <jepler> .. open with mode wx to get O_EXCL|O_CREAT behavior
[16:13:38] <jepler> ('x' in an fopen mode string is an extension to POSIX supported on linux and freebsd and properly passed through by Python, I just checked)
[16:13:45] <jepler> (either that or it's parsed and emulated by Python)
[16:14:00] -!- tobias47n9e_ has quit [Ping timeout: 272 seconds]
[16:14:11] <jepler> and proposed for a future C standard http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1339.pdf
[16:16:08] <jepler> actually it appears to be in C11 http://www.open-std.org/jtc1/sc22/wg14/www/standards.html http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
[16:16:28] -!- skunkworks_ [skunkworks_!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[16:18:19] -!- md-2 has quit [Quit: Leaving...]
[16:20:20] -!- kingarmadillo has quit [Ping timeout: 272 seconds]
[16:24:42] -!- skunkworks_ has quit [Ping timeout: 276 seconds]
[16:25:43] <jepler> though I see that code deals in file descriptors, so you want os.open(..., O_CREAT_O_EXCL, 0666)
[16:30:45] -!- ikcalB has quit [Quit: WeeChat 1.5]
[16:41:36] -!- remstw has quit [Ping timeout: 276 seconds]
[16:42:27] -!- Komzpa has quit [Ping timeout: 246 seconds]
[16:43:52] <lair82_> I have finished up my build from source, and it is running 2.7.4, how can I make it run 2.7.3?
[16:45:26] <jepler> Are you asking how to build a specific released version from source?
[16:45:29] <seb_kuzminsky> lair82_: did you check out the 2.7 branch, make some changes, build it for run-in-place, and now when you run it it says it's 2.7.4?
[16:45:47] <seb_kuzminsky> because it so, that's our build system lying to you :-/
[16:49:25] <lair82_> I did run "git branch --track 2.7_branch" then I ran, "git checkout 2.7", then compiled from there. It is running 2.7.4, I want 2.7.3
[16:49:58] <lair82_> And yes I modified a few files, and built a RIP
[16:50:53] <seb_kuzminsky> lair82_: the version number it announces is whatever was in the /VERSION file when you built
[16:51:03] <jepler> like most projects that use git, we have a tag associated with each release
[16:51:04] <seb_kuzminsky> when we make a release, we update the version in that file
[16:51:09] <jepler> to build a specific release, you would check out a tag instead of a branch
[16:51:40] <jepler> in this case, the tag would be v2.7.3
[16:51:57] <seb_kuzminsky> we have a script that updates that file when we build interim versions between the official releases, but the build system doesn't run it for you automatically
[16:51:59] <lair82_> I didn't want to get into the whole JA conversion, so I went back to 2.7, in 2.7.4 somethings up with the carousel component, so I was going to try 2.7.3 to see if the problem went away
[16:52:00] <jepler> the internet will of course have a lot more help about git tags in general, as will git --help tag, etc
[16:52:21] <seb_kuzminsky> so that's why it says you're on 2.7.4 even though you're obviously ahead of that release
[16:52:44] -!- kingarmadillo has quit [Ping timeout: 260 seconds]
[16:52:44] <seb_kuzminsky> but what you really want is what jepler's saying
[16:53:14] <lair82_> I think I remember, "git checkout v2.7.3"
[16:53:21] <seb_kuzminsky> that's it
[16:53:47] <lair82_> One of these days, it will all come together for me.
[16:53:49] <seb_kuzminsky> if you have made commits in your 2.7 branch, they'll not be in your working dir any more after you switch to the 2.7.3 commit, of course
[16:53:59] <jepler> since v2.7.3 (actually since v2.7.4) there is one change to the carousel component.
[16:54:02] <jepler> $ git log --oneline v2.7.3..origin/2.7 src/hal/components/carousel.comp
[16:54:05] <jepler> 72cb686 carousel.comp: Fix a bad initialisation in index mode
[16:54:05] <seb_kuzminsky> you'll get your commits back when you switch back to your local 2.7 branch
[16:55:08] <lair82_> while in 2.7, " git stash save"," git checkout v2.7.3", " git stash apply" ?????
[16:57:43] -!- basiclaser has quit [Quit: Connection closed for inactivity]
[16:57:44] <jepler> if you have made modifications and not committed them with "git commit" then that may be an appropriate sequence of commands.
[16:57:52] <jepler> that will carry over uncommitted changes
[16:58:56] <lair82_> Ok, I will give it a try, I have never wandered any farther than changing branches with git, so this is virgin territory for me.
[16:59:47] <jepler> there is a very active #git channel on irc. they may be more experienced at helping people who are relatively new to git than we are. https://git-scm.com/community
[17:01:03] <seb_kuzminsky> linuxcnc-specific git questions are welcome here of course
[17:13:22] -!- Robh__ [Robh__!~R@97e428d3.skybroadband.com] has joined #linuxcnc-devel
[17:14:02] <lair82_> I guess I will have to ask Andy directly what he changed, my tool changer carousel isn't working properly now in v2.7.4. After I reverted back to v2.7.3 it is working as intended.
[17:15:54] <cradek> there are no differences between 2.7.3 and 2.7.4 in carousel.comp
[17:16:20] <jepler> there are changes in 2.7 (the branch) since v2.7.4 (the tag / the release)
[17:16:24] <cradek> % git log v2.7.3..v2.7.4 -- src/hal/components/carousel.comp
[17:16:26] <cradek> [nothing]
[17:17:06] <cradek> yep one line is changed since v2.7.4
[17:17:29] <cradek> % git log -u v2.7.4..2.7 -- src/hal/components/carousel.comp
[18:00:39] -!- kalxas has quit [Remote host closed the connection]
[18:07:29] -!- rigid has quit [Excess Flood]
[18:25:21] -!- PCW__ has quit [Read error: Connection reset by peer]
[18:34:02] <cradek> yep you can fix that error by just removing the error. someone added it on purpose, but it must've been for no reason, yeah.
[18:34:30] <cradek> (real answer is you at least need to enqueue it, since cutter comp has to read ahead in many cases, possibly far ahead)
[18:36:10] <cradek> even after you do that, the user will sometimes be surprised by where the IO changes, since one move when compensated can turn into 2 (or I think 3?) moves (when going around corners etc)
[18:39:55] <cradek> guess I should probably say that in the thread
[18:52:34] -!- JT-Shop has quit [Ping timeout: 240 seconds]
[18:52:53] -!- jthornton has quit [Read error: Connection reset by peer]
[18:53:43] -!- JT-Shop [JT-Shop!~john@198.45.191.246] has joined #linuxcnc-devel
[18:53:58] -!- jthornton [jthornton!~john@198.45.191.246] has joined #linuxcnc-devel
[19:25:27] -!- ve7it [ve7it!~LawrenceG@S010648f8b3c3bc3b.pk.shawcable.net] has joined #linuxcnc-devel
[19:41:39] -!- kingarmadillo has quit [Ping timeout: 276 seconds]
[19:49:49] -!- micges [micges!~micges@dcf139.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[20:03:45] -!- skunkworks_ [skunkworks_!~skunkwork@68-115-41-210.static.eucl.wi.charter.com] has joined #linuxcnc-devel
[20:21:39] -!- skunkworks has quit [Read error: Connection reset by peer]
[20:25:14] -!- skunkworks_ has quit [Ping timeout: 244 seconds]
[20:38:12] -!- kingarmadillo has quit [Ping timeout: 276 seconds]
[21:04:00] -!- remstw has quit [Quit: quit]
[21:16:24] <seb_kuzminsky> i wonder if gene's surprise machine motion experience was due to #96, or some other fallout of the JA merge
[21:17:03] <seb_kuzminsky> i'm thinking now we should have made a 2.8.0~pre2 release just before the merge, so it'd be easy for folks to go back to a relatively stable version while we shake out the new bugs
[21:17:20] <jepler> you (well, the RM) can tag that ref after the fact
[21:17:38] <seb_kuzminsky> true dat
[21:19:43] <seb_kuzminsky> mozmck: how about we tag 44c5fb919801bdeef83035bebfd4a488c7278d0e as v2.8.0-pre2? that would help folks avoid JA until we fix it more
[21:43:58] -!- rigid has quit [Ping timeout: 272 seconds]
[21:45:37] -!- racicot has quit [*.net *.split]
[21:45:37] -!- teepee has quit [*.net *.split]
[21:45:37] -!- the_wench has quit [*.net *.split]
[21:45:38] -!- mozmck has quit [*.net *.split]
[21:45:38] -!- hm2-buildmaster has quit [*.net *.split]
[21:46:39] -!- teepee [teepee!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[21:52:30] -!- Miner_48er has quit [Quit: Leaving]
[22:15:32] -!- rigid has quit [Ping timeout: 260 seconds]
[22:25:59] -!- mozmck [mozmck!~moses@67.210.159.94] has joined #linuxcnc-devel
[22:27:09] <mozmck> Hmm, I thought that looked strange. Showed that everyone left with a net split and only me, hm_buildslave, and the_wench were in the channel
[22:27:20] <mozmck> restarted my client and that fixed it.
[22:27:42] <mozmck> zlog
[22:27:42] <zlog> mozmck: Log stored at http://tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%23linuxcnc-devel/2016-06-30.html
[22:51:00] -!- micges has quit [Ping timeout: 246 seconds]
[22:54:16] -!- teepee has quit [Ping timeout: 272 seconds]
[22:56:14] -!- teepee [teepee!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[23:10:58] -!- PCW_ [PCW_!~chatzilla@99.88.10.65] has joined #linuxcnc-devel
[23:22:23] <PCW_> Someone complained that mesaflash corrupted configs when run on a 64 bit system
[23:22:24] <PCW_> but I cannot duplicate this
[23:28:56] <jepler> I have also run it on 64-bit systems
[23:31:12] -!- rob_h [rob_h!~R@97e428d3.skybroadband.com] has joined #linuxcnc-devel
[23:31:42] <PCW_> I'll have to ask what version and OS (heck might be Winders)
[23:34:21] -!- Robh__ has quit [Ping timeout: 276 seconds]
[23:35:03] <jepler> this issue was reported with a linux-looking commandline: https://github.com/micges/mesaflash/issues/4
[23:38:36] -!- tobias47n9e__ has quit [Ping timeout: 272 seconds]
[23:38:57] <jepler> but I assume the report you mention today is a fresh one?
[23:39:34] -!- Robh__ [Robh__!~R@97e428d3.skybroadband.com] has joined #linuxcnc-devel
[23:40:22] <PCW_> yes just fetched source and built
[23:40:54] <PCW_> sorry error report is today
[23:41:27] <PCW_> I fetched the source and built on mint 64B and had no issues
[23:42:49] -!- rob_h has quit [Ping timeout: 260 seconds]
[23:45:44] <jepler> hostmot2.c:325:5: warning: field precision specifier ‘.*’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
[23:45:47] <jepler> printf(" Board Name: %.*s\n", sizeof(hm2->config_name), hm2->idrom.board_name);
[23:45:50] <jepler> ^
[23:47:26] <jepler> there are some warnings of this type, I haven't spotted anything else that appears likely to be a 64-bit-specific bug
[23:51:23] <PCW_> yeah I saw those warnings also but none seemed related to the firmware image