Hi Pavel Thanks for the effort and patches. I am working long hours on a shutdown so I don't have much time for a couple of weeks. Does this patch fix the GLADE so if launched from menu it will properly find the LED widget? The reason I put make pins where I did Is because I followed pyvcp example. I agree everything in one folder would be better . If no one objects we can change it . Chris M Sent from my BlackBerry device on the Rogers Wireless Network
-----Original Message----- From: Pavel Shramov <[email protected]> Date: Thu, 21 Oct 2010 11:30:08 To: EMC developers<[email protected]> Reply-To: EMC developers <[email protected]> Subject: Re: [Emc-developers] Gladevcp module names [was: GladeVCP embedded in Axis] On Fri, Oct 08, 2010 at 09:53:05PM +0000, Chris Morley wrote: > I used system links from modules to EMC directories. > I had always started glade from terminal and it worked fine. > If I start glade from GUI the led widget is not available. > Thanks for setting me on the probable path to fix it. I've tested a bit gladevcp and it seem that no links into /usr/lib/glade-3 are needed at all. lib/python/gladevcp/*.py files are installed with emc2 and if __init__.py is placed there then led.py may be imported from everywhere as gladevcp.led So I've fixed a bit hal_python.xml catalog file to import gladevcp.* files and added empty __init__.py [1]. Also since gladevcp is valid module why not to move gladevcp_makepins under it as gladevcp.makepins so naming will be more consistent [2]? > Instead of using system link I can tell glade where to look for libraries. > This would probably be the way to go in an installed EMC. > I am really not up on this stuff - I just research and hack away till it > works. With emc not installed you may either export PYTHONPATH or make symlink to lib/modules/gladevcp. If patches look reasonable please consider merging branch gladevcp-modules of git://psha.org.ru/psha/emc2.git or i'll post them with git-send-email. Pavel Shramov -- [1] http://psha.org.ru/git?p=psha/emc2.git;a=commitdiff;h=65b1d57c819cdfcde0cea67f02c0cfd802553a57 [2] http://psha.org.ru/git?p=psha/emc2.git;a=commitdiff;h=861ccaa82d2f9f310900be973b50587133c0187f ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
