Re: [Emc-users] Help with a GladeVCP startup error message
Am 22.01.2012 um 19:56 schrieb John Prentice: I suggest you remove the existing emc2 packages and configure for normal install (not RIP) glade should work then, and likely the import issue goes away - having two different versions of emc installed in different places on the same machine is usually asking for troubles - Michael Oh dear - I am just discovering how little I understand. I need to correct myself - glade should run just fine with RIP (checked on current v2.5_branch). I can run the compiled version by using . scripts/linuxcnc but when I quit LinuxCNC the terminal closes instantly. dmesg does not seem to have anything about this. What mght be happening here? the terminal seems to be the linuxcnc config selection box, not a shell window to see more detail: - open a terminal window - if RIP, '. scripts/rip-environment' - cd to, say, configs/gladevcp - run 'linuxcnc gladevcp_tab.ini' if linuxcnc cops out, it will give an obituary in the shell window -m -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
On 23 January 2012 02:14, Steve Blackmore st...@pilotltd.net wrote: Your not on your own John!! EMC, or should I now say LCNC, is written and annotated by Linux gurus That is not entirely true, I don't even know how to rename a file in Linux, but I have written some of the code, and documented it. -- atp The idea that there is no such thing as objective truth is, quite simply, wrong. -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
On 01/22/2012 09:14 PM, Steve Blackmore wrote: Your not on your own John!! EMC, or should I now say LCNC, is written and annotated by Linux gurus who unfortunately think everyone is at the same guru level as them! Beware - of these gotcha's No jog in feedhold! - So don't break an insert or get a swarf ball around a tool!!! Taper thread pitches are measured along the hypotenuse ??? There are others, but those are two show stoppers for me... I only use EMC, or whatever you want to call it, for turning jobs where screw cutting is involved, everything else I do with a really old version of Mach. Credit where credit's due - Parallel screw cutting is flawless. Unfortunately any changes to EMC only happen if you can do it yourself even when you can prove it's sensible or Industry standard. Committee member ego's seem to overrule standards or common sense. Explains really why it's still a niche application with so few users... Steve Blackmore Did you ever think your attitude might have something to do with not getting some of your wish list implemented? The old more flies attracted with honey tends to apply. Mark -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
On Mon, 23 Jan 2012 05:36:52 -0500, you wrote: Did you ever think your attitude might have something to do with not getting some of your wish list implemented? The old more flies attracted with honey tends to apply. Tried that Mark - any requests, however put, simply get ignored if none of the committee want it personally. Steve Blackmore -- -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
Greetings Am 21.01.2012 um 18:49 schrieb John Prentice: Another oddity is that Glade will not open glade-manual.ui as it says it cannot find the gladevcp catalog.. this a different issue - glade expects the catalog file under /usr/something and the catalogs arent installed when using RIP Do you think a clean Ubuntu install and pull then compile of 2.5_branch would be the best course? I suggest you remove the existing emc2 packages and configure for normal install (not RIP) glade should work then, and likely the import issue goes away - having two different versions of emc installed in different places on the same machine is usually asking for troubles - Michael Oh dear - I am just discovering how little I understand. Working on Lucid 10.4.3 I removed the installed EMC2 (2.4.6) with the package manager and rebooted for safety. Pulled from 2.5_branch - lots of changes as everyone has been very busy with the new name! Did a make clean Then, following the wiki page, did cd src ./autogen.sh ./configure make make install-menus sudo make setuid I realise that I do not understand the following from the wiki page: 2.5. Building emc2 (realtime) If you have already installed EMC from the Live CD do not use --prefix/make install. Use the 'run in place' method (the default) instead. On Michael's advice I don't want RIP but as it is default how do you avoid getting it? Wiki suggests you need --prefix/make install but where should this be put? I can run the compiled version by using . scripts/linuxcnc but when I quit LinuxCNC the terminal closes instantly. dmesg does not seem to have anything about this. What mght be happening here? I will now try gladevcp - the whole point of this exercise - but feel very in the dark about the compilation so any explanations very welcome. John Prentice -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
On Sun, 22 Jan 2012 18:56:32 -, you wrote: Oh dear - I am just discovering how little I understand. Your not on your own John!! EMC, or should I now say LCNC, is written and annotated by Linux gurus who unfortunately think everyone is at the same guru level as them! Beware - of these gotcha's No jog in feedhold! - So don't break an insert or get a swarf ball around a tool!!! Taper thread pitches are measured along the hypotenuse ??? There are others, but those are two show stoppers for me... I only use EMC, or whatever you want to call it, for turning jobs where screw cutting is involved, everything else I do with a really old version of Mach. Credit where credit's due - Parallel screw cutting is flawless. Unfortunately any changes to EMC only happen if you can do it yourself even when you can prove it's sensible or Industry standard. Committee member ego's seem to overrule standards or common sense. Explains really why it's still a niche application with so few users... Steve Blackmore -- -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
it looks like you have an existing emc installation and the python code picks up emc.so from that installation if it is run-in-place, it shouldnt import emc.so from /usr/lib/python2.6/dist-packages/ did you run . emc2-dev/scripts/emc-environment? - Michael Am 21.01.2012 um 16:29 schrieb John Prentice: Greetings Returning to working with GladeVCP, I have pulled 2.5_branch from git yesterday and compiled it Run-In-Place After a bit of trouble that running EMC gave me 2.4.6, I saw the program naming email and tried linuxcnc which runs 2.5 fine Following instructions in http://www.linuxcnc.org/docs/2.5/html/gui/gladevcp.html $ cd configs/sim $ emc gladevcp_panel.iniwith a change in folder for the gladevcp_panel.ini and linuxcnc for emc I get: = john@john-desktop-linux:~/emc2-dev/configs/sim/gladevcp$ linuxcnc gladevcp_panel.ini LINUXCNC - 2.5.0-pre2 Machine configuration directory is '/home/john/emc2-dev/configs/sim/gladevcp' Machine configuration file is 'gladevcp_panel.ini' Starting LinuxCNC... Traceback (most recent call last): File /home/john/emc2-dev/bin/gladevcp, line 44, in module import gladevcp.makepins File /home/john/emc2-dev/lib/python/gladevcp/__init__.py, line 1, in module from hal_pythonplugin import * File /home/john/emc2-dev/lib/python/gladevcp/hal_pythonplugin.py, line 17, in module from hal_gremlin import HAL_Gremlin File /home/john/emc2-dev/lib/python/gladevcp/hal_gremlin.py, line 21, in module import gremlin File /home/john/emc2-dev/lib/python/gremlin.py, line 14, in module import emc ImportError: /usr/lib/python2.6/dist-packages/emc.so: undefined symbol: _ZN3NMLC1EPFilPvP3CMSEPcS5_S5_ii commandline:0: gladevcp exited without becoming ready Embeded tab command halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 73400474 -u hitcounter.py manual-example.ui exited with error: 1 Shutting down and cleaning up LinuxCNC... Cleanup done EMC terminated with an error. You can find more information in the log: /home/john/emc_debug.txt and /home/john/emc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal john@john-desktop-linux:~/emc2-dev/configs/sim/gladevcp$ = The undefined symbol looks totally implausible. dmesg has nothing unusual. Suggestions on where I might have gone wrong would be much appreciated John Prentice -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
maybe it is early, but could it be already cnc.so or something, in place of emc.so? -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
you cannot possibly import the right file from the wrong directory Am 21.01.2012 um 17:35 schrieb Spiderdab: maybe it is early, but could it be already cnc.so or something, in place of emc.so? -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
From: Michael Haberler mai...@mah.priv.at snip it looks like you have an existing emc installation and the python code picks up emc.so from that installation if it is run-in-place, it shouldnt import emc.so from /usr/lib/python2.6/dist-packages/ did you run . emc2-dev/scripts/emc-environment? - Michael Michael - thanks for the reply. I think the environment setting script is emc2-dev/scripts/rip-environment now and I had run that just before the quoted stuff from the terminal. Here is the contents of my emc2-dev/scripts/rip-environment www.castlewoodconsultants.com/Misc/rip-environment The modules seem to be being loaded from the right place until emc.so I will have to re-read the search path rules in Python as it is a bit of a black art to me. Another oddity is that Glade will not open glade-manual.ui as it says it cannot find the gladevcp catalog.. Do you think a clean Ubuntu install and pull then compile of 2.5_branch would be the best course? John Prentice -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Help with a GladeVCP startup error message
Am 21.01.2012 um 18:49 schrieb John Prentice: Another oddity is that Glade will not open glade-manual.ui as it says it cannot find the gladevcp catalog.. this a different issue - glade expects the catalog file under /usr/something and the catalogs arent installed when using RIP Do you think a clean Ubuntu install and pull then compile of 2.5_branch would be the best course? I suggest you remove the existing emc2 packages and configure for normal install (not RIP) glade should work then, and likely the import issue goes away - having two different versions of emc installed in different places on the same machine is usually asking for troubles - Michael -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users