#emc-devel | Logs for 2008-06-09

Back
[03:10:17] <cradek> jepler: http://distinctperspectives.com/coppermine/displayimage.php?album=lastup&cat=0&pos=41
[03:10:27] <cradek> making a splash screen was a great idea.
[03:14:25] <jmkasunich> heh, the g-code equivalent of hello world
[03:17:22] <cradek> yep
[03:17:58] <cradek> maybe we should make it show the version number - would be neat
[11:22:40] <BigJohnT> I just downloaded the trunk again and now I get a rtapi: error: version mismatch 533 vs 531 hmmm what did I screw up?
[12:13:49] <jepler> hm, I wonder if it would be better for most users if AXIS *did* just move the preview plot around when a user does touch off, and force the (smaller number of) users who have gcode that does not behave in that simple way to hit reload manually
[12:26:23] <micges> jepler: do this by ini settings: RELOAD_PREVIEW_AFTER_TOUCHOFF = 0/1
[12:26:57] <jepler> micges: I hate inifile settings
[12:27:06] <jepler> that means I have twice as many opportunities to write a bug, and I only test half of them regularly
[12:53:17] <cradek> jepler: I would hate to trade the current behavior for "fast but wrong". Any code that uses more than one coordinate system will surely display wrong if you do this. This will be confusing for someone trying to figure out coordinate systems, which can be obscure even with a correct preview.
[12:54:24] <cradek> I wish you could detect whether only one system is used, and do the quick move of the preview if so, but I'm sure that information isn't available at canon.
[13:50:41] <cradek> jepler: could you defer the preview generation so it isn't generated unless/until the preview is turned on in the view menu?
[13:55:55] <jepler> cradek: I think that would be tricky
[13:56:08] <jepler> but it's sure a possibility
[16:40:17] <lerman_> lerman_ is now known as lerman
[17:01:13] <lerman_> lerman_ is now known as lerman
[18:28:38] <lerman_> lerman_ is now known as lerman
[22:34:05] <BigJohnT> I downloaded the latest trunk and I get RTAPI: ERROR: version mismatch 533 vs 531 anyone have an idea where I screwed up
[22:34:34] <cradek> probably your halcmd and emc don't match
[22:34:42] <cradek> be sure you are running both from trunk, or both from 2.2
[22:35:00] <BigJohnT> let me see if I can figure that out
[22:35:03] <cradek> ". emc2.trunk/scripts/emc-environment" is the best way to set up for running trunk
[22:35:13] <cradek> assuming you built it run-in-place
[22:35:19] <BigJohnT> yes I did
[22:35:33] <BigJohnT> does the config folder have to be in trunk?
[22:35:37] <cradek> no
[22:35:44] <jmkasunich> if you have multiple shells open, you need to run the environment script in each one
[22:36:08] <jmkasunich> if you issue "halcmd <whatever>" from a shell that hasn't had that script run, it will use the installed halcmd
[22:37:18] <BigJohnT> hmmm, I get the same error
[22:37:38] <BigJohnT> should I delete emc2-trunk and download again
[22:37:43] <cradek> sounds like you're going to have to say what you're doing command by command
[22:37:50] <cradek> maybe we can spot the problem.
[22:38:05] <cradek> brb
[22:38:08] <BigJohnT> I'm running it from the desktop icon
[22:38:35] <jmkasunich> running an installed version then...
[22:38:48] <BigJohnT> should be running trunk
[22:38:53] <jmkasunich> (I have no clue how to make an icon point to a run-in-place version)
[22:39:21] <BigJohnT> dunno why it drops off the last part
[22:39:34] <BigJohnT> "/home/jt/emc2-trunk/scripts/emc /home/jt/emc2/configs/jtplasma/jtplasma.ini"
[22:39:38] <BigJohnT> there we go
[22:39:53] <jmkasunich> ok, that starts emc
[22:39:55] <BigJohnT> that is the launcher
[22:40:11] <BigJohnT> hmmm, worked before
[22:40:11] <jmkasunich> do you get the error message at that point, or later when you try to run something else?
[22:40:18] <BigJohnT> on start up
[22:40:56] <BigJohnT> some how something got hosed cause I'
[22:41:05] <BigJohnT> I've been doing it like this for monts
[22:41:06] <jmkasunich> something somewhere is just invoking "halcmd" instead of "/home/jt/emc2-trunk/bin/halcmd" or something along those lines
[22:41:07] <BigJohnT> months
[22:41:25] <jmkasunich> ok, what did you do since the last time it worked?
[22:41:41] <BigJohnT> downloaded the latest trunk
[22:41:52] <jmkasunich> "cvs up -dP" in the top level of the checkout (/home/jt/emc2-trunk?
[22:41:57] <BigJohnT> it got put in the wrong folder so I moved it
[22:42:06] <jmkasunich> wait
[22:42:16] <jmkasunich> how can a cvs checkout go in the wrong folder
[22:42:20] <jmkasunich> ?
[22:42:23] <BigJohnT> cvs -z5 -d:ext:anon@cvs.linuxcnc.org:/cvs co -demc2-trunk emc2
[22:42:35] <jmkasunich> you did a fresh checkout?
[22:42:39] <BigJohnT> I was in the src directory when I ran that
[22:42:48] <jmkasunich> oh, yuck
[22:43:00] <BigJohnT> uh oh
[22:43:10] <jmkasunich> first - that long command is something you only ever need to do one time
[22:43:30] <BigJohnT> ok
[22:43:33] <jmkasunich> it gets you a cvs checkout - from then on, all you have to do is update the checkout, not get a new one
[22:43:42] <jmkasunich> in your case, you got a new one, nested inside your old one
[22:43:48] <BigJohnT> yes
[22:43:49] <jmkasunich> hence the yuck
[22:44:00] <BigJohnT> should I just delete it and start again
[22:44:29] <jmkasunich> if you don't have custom configs or anything, yes - go to the top dir of the checkout (I think that would be /home/jt/emc2-trunk
[22:44:32] <jmkasunich> and remove it
[22:44:45] <jmkasunich> if you have custom configs save them first
[22:44:51] <BigJohnT> ok the configs are in emc2/configs
[22:45:01] <BigJohnT> not in trunk
[22:45:02] <jmkasunich> good, they should be safe there
[22:45:25] <BigJohnT> ok for updates I use "cvs up -dP"
[22:45:31] <jmkasunich> rm the existing checkout tree, and make a new one using the long command
[22:45:48] <BigJohnT> ok
[22:45:58] <jmkasunich> from that point on, just go to the top level dir of your checkout and do the "cvs up -dP" to get the latest
[22:46:42] <BigJohnT> ok do I need to do "export CVS_RSH=ssh" before the update too
[22:46:59] <jmkasunich> uh, I don
[22:47:02] <jmkasunich> I don
[22:47:05] <jmkasunich> dammit.
[22:47:09] <jmkasunich> I don't know
[22:47:23] <BigJohnT> ok
[22:47:38] <BigJohnT> it will take a while to do the fresh check out on dialup thanks
[22:47:48] <jmkasunich> I haven't had to do that in ages, I don't know if its because dapper does it for you, or if I stuck it in some config file and it gets done automatically
[22:48:14] <jmkasunich> it does no harm to do the export
[22:48:27] <jmkasunich> but you can try it without and see if its really needed
[22:48:44] <BigJohnT> ok, thanks jmkasunich
[22:48:44] <jmkasunich> cvs will error out pretty quick if its not already there, so you won't waste much tie
[22:48:45] <jmkasunich> time
[22:48:56] <BigJohnT> all ready on the way
[22:49:00] <jmkasunich> cool
[22:49:12] <jmkasunich> dinnertime
[22:49:24] <BigJohnT> thanks
[22:57:11] <BigJohnT_> BigJohnT_ is now known as BigJohnT