On Saturday 16 November 2013 04:54:06 Frederic RIBLE did opine:

> 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)

They are all there.

> 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.i
> ni

You've stuff there for your gantry I think.  Here's mine:
-rw-r--r-- 1 gene gene   202 2013-08-21 14:48 align.ini
-rw-r--r-- 1 gene gene   242 2012-06-14 05:36 align-start.ngc
-rw-r--r-- 1 gene gene   740 2012-06-14 05:44 align.xml
-rw-r--r-- 1 gene gene   569 2012-06-14 05:37 align-x.ngc
-rw-r--r-- 1 gene gene   572 2012-06-14 05:38 align-y.ngc
-rw-r--r-- 1 gene gene  2063 2012-07-04 07:34 align.zip
-rw-r--r-- 1 gene gene   212 2013-08-20 14:57 autosave.halscope
-rw-r--r-- 1 gene gene  4138 2013-08-21 15:49 Caa3Axis-hal
-rw-r--r-- 1 gene gene  6621 2013-08-21 14:44 Caa3Axis-ini
-rw-r--r-- 1 gene gene   881 2010-12-07 17:00 _camcenter3.ngc
-rw-r--r-- 1 gene gene   580 2010-12-07 17:00 _camcenter4.ngc
-rw-r--r-- 1 gene gene   229 2010-12-07 17:00 _camoff.ngc
-rw-r--r-- 1 gene gene   548 2010-12-07 17:00 _camon.ngc
-rw-r--r-- 1 gene gene   506 2013-11-16 03:50 campins.hal
-rw-r--r-- 1 gene gene   807 2010-12-07 17:00 _camstore.ngc
-rw-r--r-- 1 gene gene 10396 2013-11-15 10:34 cam.ui
-rw-r--r-- 1 gene gene  2654 2013-11-16 04:06 camviewcfg
-rw-r--r-- 1 gene gene  2567 2013-11-16 04:40 camview.cfg
-rw-r--r-- 1 gene gene 14085 2013-11-15 10:34 camview-emc-f1oat.py
-rw-r--r-- 1 gene gene  1767 2013-11-15 13:02 camviewtest
-rw-r--r-- 1 gene gene   108 2012-01-10 12:42 custom.hal
-rw-r--r-- 1 gene gene    98 2012-01-10 12:42 custompanel_backup.xml
-rw-r--r-- 1 gene gene  1769 2013-08-19 22:26 custompanel.xml
-rw-r--r-- 1 gene gene   618 2013-08-21 14:33 custom_postgui.hal
-rw-r--r-- 1 gene gene  6793 2013-08-16 18:32 emcfiles.zip
-rw-r--r-- 1 gene gene  1666 2013-11-16 04:41 emc.var
-rw-r--r-- 1 gene gene  1666 2013-11-16 04:40 emc.var.bak
-rw-r--r-- 1 gene gene    54 2013-02-02 18:50 face.ini
-rw-r--r-- 1 gene gene  5383 2013-11-15 13:26 my-mill-atom-2.hal
-rw-r--r-- 1 gene gene  3250 2013-11-16 03:55 my-mill-atom-2.ini
-rw-r--r-- 1 gene gene   401 2012-06-14 05:50 postgui.hal
-rw-r--r-- 1 gene gene    50 2012-01-10 12:42 README
-rw-r--r-- 1 gene gene  1666 2013-08-21 20:23 stepper.var
-rw-r--r-- 1 gene gene  1666 2013-08-21 20:23 stepper.var.bak
-rw-r--r-- 1 gene gene  4854 2013-11-14 13:42 togle-caa.bak
-rw-r--r-- 1 gene gene  4854 2010-12-07 12:00 togle-caa.ui
-rw-r--r-- 1 gene gene   543 2013-09-18 13:55 tool.tbl
-rw-r--r-- 1 gene gene   501 2013-09-17 18:35 tool.tbl.bak

Thanks Frederic.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

Remember, in 2039, MOUSSE & PASTA will be available ONLY by prescription!!
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

------------------------------------------------------------------------------
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

Reply via email to