Le 2013-11-16 10:13, Gene Heskett a écrit : > On Saturday 16 November 2013 03:17:35 Marius Liebenberg did opine: > >> Gene, >> Are you sure that config was not just for Gmoccaypy or Gscreen? >> > No I am no sure. The wiki pages does not specify. I have about 5 or > 6 camview"cfg"s I have collected, none of which give the DRO. > > And something else bothers me too. That line > > EMBED_TAB_COMMAND = ./camview-emc-f1oat.py -v 1280x720 -c camview.cfg -g > cam.ui -H campins.hal -w {XID} > > does not work at all if I use an uppercase -C, which is what every example > of that line I have found shows as uppercase, but I have to use lowercase. > > Then, because the pins referenced in campins.hal, have the -C config file as > part of the pinname, if I change the camview.cfg to camviewcfg, then I have > to edit campins.hal to match. But since the float.py version doesn't work, > with a full debug indicating the problem step is: > > File "/usr/lib/python2.6/subprocess.py", line 633, in __init__ > errread, errwrite) > File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child > raise child_exception > OSError: [Errno 13] Permission denied > > which doesn't happen if i use the /usr/bin/camview-emc in place of the > ./camview-emc-float.py version. > > And now with my screwing around, I've done something to the camera itself, > very poor pix even in cheese, extremely out of focus and posterized. A > walk to the shop to unplug it, count to 5 and plug it back in might be in > order. But at 4AM, the bed is closer since its raining. > >> On 2013-11-16 02:24 AM, Gene Heskett wrote: >>> Greetings; >>> >>> following teh wiki page about putting a zoom into camunits or camview, >>> I've pulled those 3 files and put them in my active config directory. >>> >>> The middle line about "EMBED_TAB_LOCATION = ntb_user_tabs" that we are >>> supposed to add to our .ini file under [DISPLAY} does not appear to do >>> anything, and when I activate the 3rd line, I get this: >>> >>> gene@shop:~/linuxcnc/configs/my-mill-atom-2$ linuxcnc -l >>> LINUXCNC - 2.5.3-62-g99bc7a8 >>> Machine configuration directory is >>> '/home/gene/linuxcnc/configs/my-mill- atom-2' >>> Machine configuration file is 'my-mill-atom-2.ini' >>> Starting LinuxCNC... >>> >>> Traceback (most recent call last): >>> File "/usr/bin/axis", line 3326, in <module> >>> >>> _dynamic_tabs(inifile) >>> >>> File "/usr/bin/axis", line 3182, in _dynamic_tabs >>> >>> child = Popen(cmd) >>> >>> File "/usr/lib/python2.6/subprocess.py", line 633, in __init__ >>> >>> errread, errwrite) >>> >>> File "/usr/lib/python2.6/subprocess.py", line 1139, in >>> _execute_child >>> >>> raise child_exception >>> >>> OSError: [Errno 13] Permission denied >>> Shutting down and cleaning up LinuxCNC... >>> Cleanup done >>> LinuxCNC terminated with an error. You can find more information in >>> the >>> >>> log: >>> /home/gene/linuxcnc_debug.txt >>> >>> and >>> >>> /home/gene/linuxcnc_print.txt >>> >>> as well as in the output of the shell command 'dmesg' and in the >>> terminal >>> >>> And yet the perms on those 3 files are the same as all others in that >>> directory. "-rw-r--r--" And I own then all. >>> >>> So, what is this "ntb_user_tabs" actually supposed to be doing, and >>> what perms should what file have that were probably lost in the >>> firefox save_as download? >>> >>> Thanks John. >>> >>> Cheers, Gene > > Cheers, Gene
"EMBED_TAB_LOCATION = ntb_user_tabs" is for gmoccapy. "Axis integration" section in the wiki is waiting for volunteers ! -C is upper case, but you need to put camview.cfg in your config directory (the same as where your .ini , as well as cam.ui and camview-emc-f1oat.py) Here is the content of my config dir -rw-r--r--+ 1 f1oat f1oat 150 2013-09-19 22:38 autosave.halscope -rw-rw-rw-+ 1 f1oat f1oat 378 2013-09-03 23:19 _CAMlog -rw-r--r--+ 1 f1oat f1oat 488 2010-12-07 17:00 campins.hal -rwxrwxr--+ 1 f1oat f1oat 10396 2013-09-29 22:14 cam.ui -rwxrwxr--+ 1 f1oat f1oat 2567 2013-09-29 22:22 camview.cfg -rwxr-xr--+ 1 f1oat f1oat 14085 2013-09-29 22:03 camview-emc-f1oat.py -rwxrwxr--+ 1 f1oat f1oat 5715 2013-11-10 19:35 CNC-6040-gmoc.ini -rwxrwxr--+ 1 f1oat f1oat 5562 2013-09-21 14:46 CNC-6040-gmoc-simu.ini -rwxrwxr--+ 1 f1oat f1oat 5201 2013-10-06 11:47 CNC-6040.hal -rw-r--r--+ 1 f1oat f1oat 1819 2013-07-21 23:01 core_sim.hal -rw-r--r--+ 1 f1oat f1oat 255 2013-07-08 22:19 custom.hal -rw-r--r--+ 1 f1oat f1oat 963 2013-07-12 21:43 custom_postgui.hal -rw-r--r--+ 1 f1oat f1oat 11324 2013-07-21 12:11 dro.glade lrwxrwxrwx 1 f1oat f1oat 52 2013-08-02 19:58 gmoccapy2.glade -> /home/f1oat/linuxcnc/configs/CNC-6040/gmoccapy.glade -rwxrwxrwx+ 1 f1oat f1oat 8497 2013-11-01 16:34 gmoccapy2_handler.py -rw-rw-rw-+ 1 f1oat f1oat 9774 2013-11-01 16:34 gmoccapy2_handler.pyc -rwxrwxrw-+ 1 f1oat f1oat 410394 2013-10-07 21:23 gmoccapy.glade -rwxrwxrw-+ 1 f1oat f1oat 138204 2013-10-07 21:37 gmoccapy_handler.py -rw-rw-rw-+ 1 f1oat f1oat 111867 2013-10-07 21:37 gmoccapy_handler.pyc -rwxr-xr-x+ 1 f1oat f1oat 5791 2013-07-21 12:11 gmoccapy.ini -rwxr-xr-x+ 1 f1oat f1oat 3961 2013-09-19 22:40 gmoccapy_postgui.hal drwxr-xr-x+ 2 f1oat f1oat 4096 2013-09-11 22:22 icon -rw-rw-rw-+ 1 f1oat f1oat 1671 2013-11-16 10:08 linuxcnc.var -rw-rw-rw-+ 1 f1oat f1oat 1671 2013-11-16 10:08 linuxcnc.var.bak drwxr-xr-x+ 3 f1oat f1oat 4096 2013-08-02 19:58 locale -rw-r--r--+ 1 f1oat f1oat 332 2013-07-28 10:41 my.tbl drwxr-xr-x+ 2 f1oat f1oat 4096 2013-09-22 21:24 nc_files drwxr-xr-x+ 2 f1oat f1oat 4096 2013-09-29 23:44 nc_subroutines -rw-r--r--+ 1 f1oat f1oat 5564 2013-08-15 18:21 .nfs000000001129000700000001 drwxrwxrw-+ 2 f1oat f1oat 4096 2013-08-06 11:39 old -rw-rw-rw-+ 1 f1oat f1oat 185 2013-11-11 21:11 position.txt -rw-r--r--+ 1 f1oat f1oat 21942 2013-09-04 22:51 probe.glade -rw-rw-rw-+ 1 f1oat f1oat 345 2013-11-11 21:11 probe.ini -rw-rw-rw-+ 1 f1oat f1oat 369 2013-09-04 21:59 probe.ini.BAD drwxr-xr-x+ 2 f1oat f1oat 4096 2013-09-19 22:33 python drwxr-xr-x+ 2 f1oat f1oat 4096 2013-08-02 19:58 python-stdglue -rw-r--r--+ 1 f1oat f1oat 1218 2013-07-21 12:11 sim_spindle_encoder.hal -rw-r--r--+ 1 f1oat f1oat 1272 2013-08-01 19:44 simulated_switch.hal -rw-r--r--+ 1 f1oat f1oat 1666 2013-07-23 23:06 sim.var -rw-r--r--+ 1 f1oat f1oat 1666 2013-07-23 23:06 sim.var.bak drwxrwxrw-+ 2 f1oat f1oat 4096 2013-08-15 19:38 sounds -rw-r--r--+ 1 f1oat f1oat 758 2013-11-01 17:54 tool.tbl -rw-r--r--+ 1 f1oat f1oat 626 2013-08-31 19:18 tool_webcam_calib.tbl lrwxrwxrwx 1 f1oat f1oat 65 2013-08-02 19:58 xhc-hb04.hal -> /media/n5200-f1oat/projects/CNC_Milling/XHC-HB04/src/xhc-hb04.hal lrwxrwxrwx 1 f1oat f1oat 73 2013-08-02 19:58 xhc-hb04-layout1.ini -> /media/n5200-f1oat/projects/CNC_Milling/XHC-HB04/src/xhc-hb04-layout1.ini ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users