You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(15) |
Oct
(32) |
Nov
(35) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(46) |
Feb
(22) |
Mar
(65) |
Apr
(49) |
May
(22) |
Jun
(29) |
Jul
(51) |
Aug
(34) |
Sep
(32) |
Oct
(46) |
Nov
(30) |
Dec
(32) |
2002 |
Jan
(48) |
Feb
(4) |
Mar
(20) |
Apr
(28) |
May
(13) |
Jun
(34) |
Jul
(51) |
Aug
(15) |
Sep
(15) |
Oct
(35) |
Nov
(15) |
Dec
(20) |
2003 |
Jan
(31) |
Feb
(111) |
Mar
(41) |
Apr
(28) |
May
(36) |
Jun
(29) |
Jul
(27) |
Aug
(29) |
Sep
(47) |
Oct
(28) |
Nov
(7) |
Dec
(26) |
2004 |
Jan
(44) |
Feb
(9) |
Mar
(17) |
Apr
(26) |
May
(58) |
Jun
(13) |
Jul
(44) |
Aug
(64) |
Sep
(30) |
Oct
(11) |
Nov
(21) |
Dec
(28) |
2005 |
Jan
(29) |
Feb
(11) |
Mar
(11) |
Apr
(22) |
May
(85) |
Jun
(46) |
Jul
(17) |
Aug
(18) |
Sep
(14) |
Oct
(22) |
Nov
(1) |
Dec
(45) |
2006 |
Jan
(20) |
Feb
(36) |
Mar
(18) |
Apr
(24) |
May
(21) |
Jun
(48) |
Jul
(23) |
Aug
(20) |
Sep
(10) |
Oct
(41) |
Nov
(46) |
Dec
(40) |
2007 |
Jan
(40) |
Feb
(20) |
Mar
(13) |
Apr
(6) |
May
(24) |
Jun
(31) |
Jul
(30) |
Aug
(11) |
Sep
(11) |
Oct
(10) |
Nov
(56) |
Dec
(64) |
2008 |
Jan
(64) |
Feb
(22) |
Mar
(63) |
Apr
(28) |
May
(25) |
Jun
(36) |
Jul
(11) |
Aug
(9) |
Sep
(14) |
Oct
(41) |
Nov
(46) |
Dec
(130) |
2009 |
Jan
(95) |
Feb
(41) |
Mar
(24) |
Apr
(35) |
May
(53) |
Jun
(67) |
Jul
(48) |
Aug
(48) |
Sep
(86) |
Oct
(75) |
Nov
(64) |
Dec
(52) |
2010 |
Jan
(57) |
Feb
(31) |
Mar
(28) |
Apr
(40) |
May
(25) |
Jun
(42) |
Jul
(79) |
Aug
(31) |
Sep
(49) |
Oct
(66) |
Nov
(38) |
Dec
(25) |
2011 |
Jan
(29) |
Feb
(18) |
Mar
(44) |
Apr
(6) |
May
(28) |
Jun
(31) |
Jul
(36) |
Aug
(24) |
Sep
(30) |
Oct
(23) |
Nov
(21) |
Dec
(27) |
2012 |
Jan
(14) |
Feb
(11) |
Mar
(2) |
Apr
(48) |
May
(7) |
Jun
(32) |
Jul
(22) |
Aug
(25) |
Sep
(31) |
Oct
(32) |
Nov
(21) |
Dec
(17) |
2013 |
Jan
(44) |
Feb
(27) |
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
(4) |
Sep
(1) |
Oct
(7) |
Nov
(5) |
Dec
(5) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(2) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Bruce S. <Bru...@nc...> - 2013-02-14 14:53:10
|
Sorry, I have no idea. Since the error mentions threads, I will comment that threads have been eliminated from VPython 6. Bruce Sherwood On Thu, Feb 14, 2013 at 5:51 AM, Steve Spicklemire <st...@sp...> wrote: > Hmm.. I've never hit that one. > > I haven't experimented with linking to dylibs for boost, so I'm probably > not going to be much help there. > > Maybe Bruce will know if that's been tried. > > sorry! > -steve > > On Feb 13, 2013, at 9:43 PM, boy...@gm... wrote: > > > Hello Steve, > > > > I did read that, but I have't tried yet. I'm interested in trying to > install boost with homebrew. > > > > I made a few changes with the boost installation complied by homebrew (I > not do their basic install for 10.8. Before I had chosen some options that > I didn't really need). > > > > The strange c++ error has gone. Instead 'import visual' generated the > following Fatal error: > > > > Fatal Python error: PyThreadState_Get: no current thread > > Abort trap: 6 > > > > Do you think this could be because I linked with the dylibs. I remember > when I did some ctypes work with python on OSX that there was a problem > importing dylib files that gave a similar error. > > > > Best wishes, > > > > Dan > > > > > > On 13 Feb 2013, at 22:42, Steve Spicklemire <st...@sp...> wrote: > > > >> Hi Dan, > >> > >> When you built boost did you use the bootstrap/b2 parameters suggest in > MAC-OSX.txt or some variation? > >> > >> I think > __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E > is a c++ mangled name for some specific method, but it's not included in > your library somehow. > >> > >> -steve > >> > >> On Feb 13, 2013, at 6:18 AM, "boy...@gm..." < > boy...@gm...> wrote: > >> > >>> Hello Steve, Tom, > >>> > >>> find /usr/local/lib -name *boost_python* -ls reveals that there is a > .dylib and .a versions, symlinked to /usr/local/lib, > >>> > >>> /usr/local/lib/libboost_python-mt.a -> > ../Cellar/boost/1.52.0/lib/libboost_python-mt.a > >>> /usr/local/lib/libboost_python-mt.dylib -> > ../Cellar/boost/1.52.0/lib/libboost_python-mt.dylib > >>> > >>> So Tom suggestion was right, the libraries have a "-mt" appended. > >>> > >>> I changed line 135 of setup.py to read, > >>> > >>> libraries = ['boost_python-mt','boost_signals-mt'] > >>> > >>> I re-built. This time the build finishes successfully, but there is > error when import visual in python: > >>> > >>> ---------------------------------- > >>> File > "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/__init__.py", > line 33, in <module> > >>> from visual.visual_all import * # this statement not included in > vis/__init__.py > >>> File > "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/visual_all.py", > line 10, in <module> > >>> from visual_common.cvisual import vector > >>> ImportError: > dlopen(/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so, > 2): Symbol not found: > __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E > >>> Referenced from: > /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so > >>> Expected in: flat namespace > >>> in > /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so > >>> --------------------------------- > >>> > >>> I think the function named > "__ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E" > is a hint that headers didn't get processed or some obscure problem with > building against a dynamic library (the .dylib) files. > >>> > >>> Any suggestions? > >>> > >>> The includes directory has the following structure, > >>> > >>> /usr/local/include/boost/<all boost files and folders> > >>> > >>> Should I specify the boost subdirectory as, > >>> > >>> [build_ext] > >>> include-dirs=/usr/local/include/boost <---- ? > >>> library-dirs=/usr/local/lib > >>> > >>> Should I only link against the static library (is that what the .a > files are?). If so, how to do that? > >>> > >>> Best wishes, > >>> > >>> Dan > >>> > >>> PS. I should probably say, this is a fresh install of 10.8.2, with a > latest Xcode (4.6), and latest homebrew (0.9.4, completely up-to-date). > >>> > >> > > > > > > > ------------------------------------------------------------------------------ > > Free Next-Gen Firewall Hardware Offer > > Buy your Sophos next-gen firewall before the end March 2013 > > and get the hardware for free! Learn more. > > http://p.sf.net/sfu/sophos-d2d-feb > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Steve S. <st...@sp...> - 2013-02-14 12:51:11
|
Hmm.. I've never hit that one. I haven't experimented with linking to dylibs for boost, so I'm probably not going to be much help there. Maybe Bruce will know if that's been tried. sorry! -steve On Feb 13, 2013, at 9:43 PM, boy...@gm... wrote: > Hello Steve, > > I did read that, but I have't tried yet. I'm interested in trying to install boost with homebrew. > > I made a few changes with the boost installation complied by homebrew (I not do their basic install for 10.8. Before I had chosen some options that I didn't really need). > > The strange c++ error has gone. Instead 'import visual' generated the following Fatal error: > > Fatal Python error: PyThreadState_Get: no current thread > Abort trap: 6 > > Do you think this could be because I linked with the dylibs. I remember when I did some ctypes work with python on OSX that there was a problem importing dylib files that gave a similar error. > > Best wishes, > > Dan > > > On 13 Feb 2013, at 22:42, Steve Spicklemire <st...@sp...> wrote: > >> Hi Dan, >> >> When you built boost did you use the bootstrap/b2 parameters suggest in MAC-OSX.txt or some variation? >> >> I think __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E is a c++ mangled name for some specific method, but it's not included in your library somehow. >> >> -steve >> >> On Feb 13, 2013, at 6:18 AM, "boy...@gm..." <boy...@gm...> wrote: >> >>> Hello Steve, Tom, >>> >>> find /usr/local/lib -name *boost_python* -ls reveals that there is a .dylib and .a versions, symlinked to /usr/local/lib, >>> >>> /usr/local/lib/libboost_python-mt.a -> ../Cellar/boost/1.52.0/lib/libboost_python-mt.a >>> /usr/local/lib/libboost_python-mt.dylib -> ../Cellar/boost/1.52.0/lib/libboost_python-mt.dylib >>> >>> So Tom suggestion was right, the libraries have a "-mt" appended. >>> >>> I changed line 135 of setup.py to read, >>> >>> libraries = ['boost_python-mt','boost_signals-mt'] >>> >>> I re-built. This time the build finishes successfully, but there is error when import visual in python: >>> >>> ---------------------------------- >>> File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/__init__.py", line 33, in <module> >>> from visual.visual_all import * # this statement not included in vis/__init__.py >>> File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/visual_all.py", line 10, in <module> >>> from visual_common.cvisual import vector >>> ImportError: dlopen(/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so, 2): Symbol not found: __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E >>> Referenced from: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so >>> Expected in: flat namespace >>> in /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so >>> --------------------------------- >>> >>> I think the function named "__ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E" is a hint that headers didn't get processed or some obscure problem with building against a dynamic library (the .dylib) files. >>> >>> Any suggestions? >>> >>> The includes directory has the following structure, >>> >>> /usr/local/include/boost/<all boost files and folders> >>> >>> Should I specify the boost subdirectory as, >>> >>> [build_ext] >>> include-dirs=/usr/local/include/boost <---- ? >>> library-dirs=/usr/local/lib >>> >>> Should I only link against the static library (is that what the .a files are?). If so, how to do that? >>> >>> Best wishes, >>> >>> Dan >>> >>> PS. I should probably say, this is a fresh install of 10.8.2, with a latest Xcode (4.6), and latest homebrew (0.9.4, completely up-to-date). >>> >> > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: <boy...@gm...> - 2013-02-14 04:43:40
|
Hello Steve, I did read that, but I have't tried yet. I'm interested in trying to install boost with homebrew. I made a few changes with the boost installation complied by homebrew (I not do their basic install for 10.8. Before I had chosen some options that I didn't really need). The strange c++ error has gone. Instead 'import visual' generated the following Fatal error: Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6 Do you think this could be because I linked with the dylibs. I remember when I did some ctypes work with python on OSX that there was a problem importing dylib files that gave a similar error. Best wishes, Dan On 13 Feb 2013, at 22:42, Steve Spicklemire <st...@sp...> wrote: > Hi Dan, > > When you built boost did you use the bootstrap/b2 parameters suggest in MAC-OSX.txt or some variation? > > I think __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E is a c++ mangled name for some specific method, but it's not included in your library somehow. > > -steve > > On Feb 13, 2013, at 6:18 AM, "boy...@gm..." <boy...@gm...> wrote: > >> Hello Steve, Tom, >> >> find /usr/local/lib -name *boost_python* -ls reveals that there is a .dylib and .a versions, symlinked to /usr/local/lib, >> >> /usr/local/lib/libboost_python-mt.a -> ../Cellar/boost/1.52.0/lib/libboost_python-mt.a >> /usr/local/lib/libboost_python-mt.dylib -> ../Cellar/boost/1.52.0/lib/libboost_python-mt.dylib >> >> So Tom suggestion was right, the libraries have a "-mt" appended. >> >> I changed line 135 of setup.py to read, >> >> libraries = ['boost_python-mt','boost_signals-mt'] >> >> I re-built. This time the build finishes successfully, but there is error when import visual in python: >> >> ---------------------------------- >> File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/__init__.py", line 33, in <module> >> from visual.visual_all import * # this statement not included in vis/__init__.py >> File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/visual_all.py", line 10, in <module> >> from visual_common.cvisual import vector >> ImportError: dlopen(/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so, 2): Symbol not found: __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E >> Referenced from: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so >> Expected in: flat namespace >> in /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so >> --------------------------------- >> >> I think the function named "__ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E" is a hint that headers didn't get processed or some obscure problem with building against a dynamic library (the .dylib) files. >> >> Any suggestions? >> >> The includes directory has the following structure, >> >> /usr/local/include/boost/<all boost files and folders> >> >> Should I specify the boost subdirectory as, >> >> [build_ext] >> include-dirs=/usr/local/include/boost <---- ? >> library-dirs=/usr/local/lib >> >> Should I only link against the static library (is that what the .a files are?). If so, how to do that? >> >> Best wishes, >> >> Dan >> >> PS. I should probably say, this is a fresh install of 10.8.2, with a latest Xcode (4.6), and latest homebrew (0.9.4, completely up-to-date). >> > |
From: Steve S. <st...@sp...> - 2013-02-13 13:43:04
|
Hi Dan, When you built boost did you use the bootstrap/b2 parameters suggest in MAC-OSX.txt or some variation? I think __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E is a c++ mangled name for some specific method, but it's not included in your library somehow. -steve On Feb 13, 2013, at 6:18 AM, "boy...@gm..." <boy...@gm...> wrote: > Hello Steve, Tom, > > find /usr/local/lib -name *boost_python* -ls reveals that there is a .dylib and .a versions, symlinked to /usr/local/lib, > > /usr/local/lib/libboost_python-mt.a -> ../Cellar/boost/1.52.0/lib/libboost_python-mt.a > /usr/local/lib/libboost_python-mt.dylib -> ../Cellar/boost/1.52.0/lib/libboost_python-mt.dylib > > So Tom suggestion was right, the libraries have a "-mt" appended. > > I changed line 135 of setup.py to read, > > libraries = ['boost_python-mt','boost_signals-mt'] > > I re-built. This time the build finishes successfully, but there is error when import visual in python: > > ---------------------------------- > File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/__init__.py", line 33, in <module> > from visual.visual_all import * # this statement not included in vis/__init__.py > File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/visual_all.py", line 10, in <module> > from visual_common.cvisual import vector > ImportError: dlopen(/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so, 2): Symbol not found: __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E > Referenced from: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so > Expected in: flat namespace > in /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so > --------------------------------- > > I think the function named "__ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E" is a hint that headers didn't get processed or some obscure problem with building against a dynamic library (the .dylib) files. > > Any suggestions? > > The includes directory has the following structure, > > /usr/local/include/boost/<all boost files and folders> > > Should I specify the boost subdirectory as, > > [build_ext] > include-dirs=/usr/local/include/boost <---- ? > library-dirs=/usr/local/lib > > Should I only link against the static library (is that what the .a files are?). If so, how to do that? > > Best wishes, > > Dan > > PS. I should probably say, this is a fresh install of 10.8.2, with a latest Xcode (4.6), and latest homebrew (0.9.4, completely up-to-date). > |
From: <boy...@gm...> - 2013-02-13 13:19:08
|
Hello Steve, Tom, find /usr/local/lib -name *boost_python* -ls reveals that there is a .dylib and .a versions, symlinked to /usr/local/lib, /usr/local/lib/libboost_python-mt.a -> ../Cellar/boost/1.52.0/lib/libboost_python-mt.a /usr/local/lib/libboost_python-mt.dylib -> ../Cellar/boost/1.52.0/lib/libboost_python-mt.dylib So Tom suggestion was right, the libraries have a "-mt" appended. I changed line 135 of setup.py to read, libraries = ['boost_python-mt','boost_signals-mt'] I re-built. This time the build finishes successfully, but there is error when import visual in python: ---------------------------------- File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/__init__.py", line 33, in <module> from visual.visual_all import * # this statement not included in vis/__init__.py File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual/visual_all.py", line 10, in <module> from visual_common.cvisual import vector ImportError: dlopen(/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so, 2): Symbol not found: __ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E Referenced from: /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so Expected in: flat namespace in /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/VPython-6.02-py2.7-macosx-10.8-x86_64.egg/visual_common/cvisual.so --------------------------------- I think the function named "__ZN5boost6python7objects15function_objectERKNS1_11py_functionERKSt4pairIPKNS0_6detail7keywordES9_E" is a hint that headers didn't get processed or some obscure problem with building against a dynamic library (the .dylib) files. Any suggestions? The includes directory has the following structure, /usr/local/include/boost/<all boost files and folders> Should I specify the boost subdirectory as, [build_ext] include-dirs=/usr/local/include/boost <---- ? library-dirs=/usr/local/lib Should I only link against the static library (is that what the .a files are?). If so, how to do that? Best wishes, Dan PS. I should probably say, this is a fresh install of 10.8.2, with a latest Xcode (4.6), and latest homebrew (0.9.4, completely up-to-date). On 13 Feb 2013, at 21:03, Steve Spicklemire <st...@sp...> wrote: > Hi Dan, > > What version of boost did you build? > > "Library not found" probably means /usr/local/lib is not the right place. ;-) > > Can you try something like: > > find /usr/local/lib -name libboost_python.a -ls > > to see where it's hiding, and then change setup.cfg to point to: > > library-dirs=/path/to/where/it/lives > > -steve > > On Feb 13, 2013, at 3:08 AM, "boy...@gm..." <boy...@gm...> wrote: > >> Hello everyone, >> >> Continuing from my earlier question, I have now installed all dependancies using a combination of homebrew (http://mxcl.github.com/homebrew), pip and good-old python setup.py installing… >> >> Things seem to build fine, but I have a linking problem with boost. My boost includes and library files live in the usual places /usr/local/include and /usr/local/lib (well symlinks managed by homebrew). >> >> Any ideas on how to tell the install script the location of boost? >> >> I have edited the site.cfg to read, >> >> [build_ext] >> include-dirs=/usr/local/include >> library-dirs=/usr/local/lib >> >> The list lines of the error reads, >> >> --- >> -L/usr/local/lib -lboost_python -lboost_signals -o build/lib.macosx-10.8-x86_64-2.7/visual_common/cvisual.so >> ld: library not found for -lboost_python >> clang: error: linker command failed with exit code 1 (use -v to see invocation) >> error: command 'c++' failed with exit status 1 >> --- >> >> Any ideas? >> >> Best wishes, >> >> Dan >> >> >> >> >> >> On 13 Feb 2013, at 14:39, Bruce Sherwood <Bru...@nc...> wrote: >> >>> Be sure to read the file OSX.txt in the tarball, which includes instructions on how to build the Boost libraries that you'll need. >>> >>> Bruce Sherwood >>> >>> >>> On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris <sc...@fl...> wrote: >>> I'll give that a try. I do have vPython 6 running now with an "official" 2.7.3 python. >>> >>> I appreciate your efforts quite a bit! I've used VTK and wxPython heavily in the last, and it's great to be able ti integrate wx and VPython! >>> >>> -Scott >>> >>> Scott Harris >>> sc...@fl... >>> 37 Doe Trail POB 1278 >>> Nederland CO 80466-1278 >>> 720/231-6533 (cell) >>> 303/258-0142 (office) >>> >>> On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <Bru...@nc...> wrote: >>> >>>> (I should mention that Adam Hausknecht's problem had nothing to do with VPython. The Tk package is broken on the Mac; for a fix, see http://www.python.org/getit/mac/tcltk/.) >>>> >>>> You could try building from source, because Steve Spicklemire has made this quite easy to do, except that you may have difficulties dealing with installing all the dependencies (wxPython 2.9.4, numpy, FontTools, ttfquery, Polygon). Get the source "tarball" from the Linux download page at vpython.org, unpack, and in a terminal cd to the source code, then execute "sudo python2.7 setup.py install". >>>> >>>> Bruce Sherwood >>>> >>>> >>>> On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...> wrote: >>>> I too use EPD. On my machine, the VPython installer doesn't detect EPD and won't install. I'm on OS X 10.8.2 >>>> >>>> This is my python: >>>> >>>> Enthought Python Distribution (EPD) free version -- www.enthought.com >>>> Version: 7.3-2 (32-bit) >>>> (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) >>>> >>>> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) >>>> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >>>> Type "credits", "demo" or "enthought" for more information. >>>> >>>> >>>> Getting VPython to work with EPD would be great. >>>> >>>> Thanks, >>>> -Scott >>>> Scott Harris >>>> sc...@fl... >>>> 37 Doe Trail POB 1278 >>>> Nederland CO 80466-1278 >>>> 720/231-6533 (cell) >>>> 303/258-0142 (office) >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Free Next-Gen Firewall Hardware Offer >>>> Buy your Sophos next-gen firewall before the end March 2013 >>>> and get the hardware for free! Learn more. >>>> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >>>> Visualpython-users mailing list >>>> Vis...@li... >>>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Steve S. <st...@sp...> - 2013-02-13 12:03:20
|
Hi Dan, What version of boost did you build? "Library not found" probably means /usr/local/lib is not the right place. ;-) Can you try something like: find /usr/local/lib -name libboost_python.a -ls to see where it's hiding, and then change setup.cfg to point to: library-dirs=/path/to/where/it/lives -steve On Feb 13, 2013, at 3:08 AM, "boy...@gm..." <boy...@gm...> wrote: > Hello everyone, > > Continuing from my earlier question, I have now installed all dependancies using a combination of homebrew (http://mxcl.github.com/homebrew), pip and good-old python setup.py installing… > > Things seem to build fine, but I have a linking problem with boost. My boost includes and library files live in the usual places /usr/local/include and /usr/local/lib (well symlinks managed by homebrew). > > Any ideas on how to tell the install script the location of boost? > > I have edited the site.cfg to read, > > [build_ext] > include-dirs=/usr/local/include > library-dirs=/usr/local/lib > > The list lines of the error reads, > > --- > -L/usr/local/lib -lboost_python -lboost_signals -o build/lib.macosx-10.8-x86_64-2.7/visual_common/cvisual.so > ld: library not found for -lboost_python > clang: error: linker command failed with exit code 1 (use -v to see invocation) > error: command 'c++' failed with exit status 1 > --- > > Any ideas? > > Best wishes, > > Dan > > > > > > On 13 Feb 2013, at 14:39, Bruce Sherwood <Bru...@nc...> wrote: > >> Be sure to read the file OSX.txt in the tarball, which includes instructions on how to build the Boost libraries that you'll need. >> >> Bruce Sherwood >> >> >> On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris <sc...@fl...> wrote: >> I'll give that a try. I do have vPython 6 running now with an "official" 2.7.3 python. >> >> I appreciate your efforts quite a bit! I've used VTK and wxPython heavily in the last, and it's great to be able ti integrate wx and VPython! >> >> -Scott >> >> Scott Harris >> sc...@fl... >> 37 Doe Trail POB 1278 >> Nederland CO 80466-1278 >> 720/231-6533 (cell) >> 303/258-0142 (office) >> >> On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <Bru...@nc...> wrote: >> >>> (I should mention that Adam Hausknecht's problem had nothing to do with VPython. The Tk package is broken on the Mac; for a fix, see http://www.python.org/getit/mac/tcltk/.) >>> >>> You could try building from source, because Steve Spicklemire has made this quite easy to do, except that you may have difficulties dealing with installing all the dependencies (wxPython 2.9.4, numpy, FontTools, ttfquery, Polygon). Get the source "tarball" from the Linux download page at vpython.org, unpack, and in a terminal cd to the source code, then execute "sudo python2.7 setup.py install". >>> >>> Bruce Sherwood >>> >>> >>> On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...> wrote: >>> I too use EPD. On my machine, the VPython installer doesn't detect EPD and won't install. I'm on OS X 10.8.2 >>> >>> This is my python: >>> >>> Enthought Python Distribution (EPD) free version -- www.enthought.com >>> Version: 7.3-2 (32-bit) >>> (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) >>> >>> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) >>> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >>> Type "credits", "demo" or "enthought" for more information. >>> >>> >>> Getting VPython to work with EPD would be great. >>> >>> Thanks, >>> -Scott >>> Scott Harris >>> sc...@fl... >>> 37 Doe Trail POB 1278 >>> Nederland CO 80466-1278 >>> 720/231-6533 (cell) >>> 303/258-0142 (office) >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Steve S. <st...@sp...> - 2013-02-13 11:46:28
|
Since you have a 32 build of enthought... you'll need to link with a 32 bit build of boost. The instructions in MAC-OSX.txt (unfortunately for you) describe building a universal boost to match the current python binaries available at python.org. Here's what's in MAC-OSX.txt: > ./bootstrap.sh --with-toolset=gcc --with-python-version=2.7 --with-python-root=/Library/Frameworks/Python.framework/Versio\ > ns/2.7 --with-python=python2.7 --with-libraries=python,signals > > to create the bjam tool and project-config.jam. > > In the file project-config.jam, change "using gcc ;" to "using gcc : 4.2 : g++-4.2 ;" > > Now execute this, to build Boost libraries for both 32-bit and 64-bit architectures: > > ./b2 link=static threading=multi toolset=darwin cxxflags="-arch i386 -arch x86_64" > Maybe try: ./bootstrap.sh --with-toolset=gcc --with-python-version=2.7 --with-python-root=/Library/Frameworks/Python.framework/Versio\ ns/7.3 --with-python=python2.7 --with-libraries=python,signals ./b2 link=static threading=multi toolset=darwin cxxflags="-arch i386" ?? I don't know.. I may try to build with enthought at some point.. but alas, no time soon. -steve On Feb 12, 2013, at 10:39 PM, Bruce Sherwood <Bru...@nc...> wrote: > Be sure to read the file OSX.txt in the tarball, which includes instructions on how to build the Boost libraries that you'll need. > > Bruce Sherwood > > > On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris <sc...@fl...> wrote: > I'll give that a try. I do have vPython 6 running now with an "official" 2.7.3 python. > > I appreciate your efforts quite a bit! I've used VTK and wxPython heavily in the last, and it's great to be able ti integrate wx and VPython! > > -Scott > > Scott Harris > sc...@fl... > 37 Doe Trail POB 1278 > Nederland CO 80466-1278 > 720/231-6533 (cell) > 303/258-0142 (office) > > On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <Bru...@nc...> wrote: > >> (I should mention that Adam Hausknecht's problem had nothing to do with VPython. The Tk package is broken on the Mac; for a fix, see http://www.python.org/getit/mac/tcltk/.) >> >> You could try building from source, because Steve Spicklemire has made this quite easy to do, except that you may have difficulties dealing with installing all the dependencies (wxPython 2.9.4, numpy, FontTools, ttfquery, Polygon). Get the source "tarball" from the Linux download page at vpython.org, unpack, and in a terminal cd to the source code, then execute "sudo python2.7 setup.py install". >> >> Bruce Sherwood >> >> >> On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...> wrote: >> I too use EPD. On my machine, the VPython installer doesn't detect EPD and won't install. I'm on OS X 10.8.2 >> >> This is my python: >> >> Enthought Python Distribution (EPD) free version -- www.enthought.com >> Version: 7.3-2 (32-bit) >> (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) >> >> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) >> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >> Type "credits", "demo" or "enthought" for more information. >> >> >> Getting VPython to work with EPD would be great. >> >> Thanks, >> -Scott >> Scott Harris >> sc...@fl... >> 37 Doe Trail POB 1278 >> Nederland CO 80466-1278 >> 720/231-6533 (cell) >> 303/258-0142 (office) >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Thomas S. <to...@fe...> - 2013-02-13 10:14:56
|
On Wed, Feb 13, 2013 at 11:08 AM, boy...@gm... <boy...@gm...> wrote: > Hello everyone, > > Continuing from my earlier question, I have now installed all dependancies > using a combination of homebrew (http://mxcl.github.com/homebrew), pip and > good-old python setup.py installing… > > Things seem to build fine, but I have a linking problem with boost. My boost > includes and library files live in the usual places /usr/local/include and > /usr/local/lib (well symlinks managed by homebrew). > > Any ideas on how to tell the install script the location of boost? > > I have edited the site.cfg to read, > > [build_ext] > include-dirs=/usr/local/include > library-dirs=/usr/local/lib > > The list lines of the error reads, > > --- > -L/usr/local/lib -lboost_python -lboost_signals -o > build/lib.macosx-10.8-x86_64-2.7/visual_common/cvisual.so > ld: library not found for -lboost_python > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > error: command 'c++' failed with exit status 1 > --- > > Any ideas? Looking into the right library directory seems to work. Are you sure, there is a libboost_python.so in there? It might also be that there is only a libboost_python-mt.so, so you need to link against that and change the "-lboost_python" to "-lboost_python-mt". Greetings, Tom > Best wishes, > > Dan > > > > > > On 13 Feb 2013, at 14:39, Bruce Sherwood <Bru...@nc...> wrote: > > Be sure to read the file OSX.txt in the tarball, which includes instructions > on how to build the Boost libraries that you'll need. > > Bruce Sherwood > > > On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris <sc...@fl...> > wrote: >> >> I'll give that a try. I do have vPython 6 running now with an "official" >> 2.7.3 python. >> >> I appreciate your efforts quite a bit! I've used VTK and wxPython heavily >> in the last, and it's great to be able ti integrate wx and VPython! >> >> -Scott >> >> Scott Harris >> sc...@fl... >> 37 Doe Trail POB 1278 >> Nederland CO 80466-1278 >> 720/231-6533 (cell) >> 303/258-0142 (office) >> >> On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <Bru...@nc...> >> wrote: >> >> (I should mention that Adam Hausknecht's problem had nothing to do with >> VPython. The Tk package is broken on the Mac; for a fix, see >> http://www.python.org/getit/mac/tcltk/.) >> >> You could try building from source, because Steve Spicklemire has made >> this quite easy to do, except that you may have difficulties dealing with >> installing all the dependencies (wxPython 2.9.4, numpy, FontTools, ttfquery, >> Polygon). Get the source "tarball" from the Linux download page at >> vpython.org, unpack, and in a terminal cd to the source code, then execute >> "sudo python2.7 setup.py install". >> >> Bruce Sherwood >> >> >> On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...> >> wrote: >>> >>> I too use EPD. On my machine, the VPython installer doesn't detect EPD >>> and won't install. I'm on OS X 10.8.2 >>> >>> This is my python: >>> >>> Enthought Python Distribution (EPD) free version -- www.enthought.com >>> Version: 7.3-2 (32-bit) >>> (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) >>> >>> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) >>> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >>> Type "credits", "demo" or "enthought" for more information. >>> >>> >>> Getting VPython to work with EPD would be great. >>> >>> Thanks, >>> -Scott >>> Scott Harris >>> sc...@fl... >>> 37 Doe Trail POB 1278 >>> Nederland CO 80466-1278 >>> 720/231-6533 (cell) >>> 303/258-0142 (office) >>> >>> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> >> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: <boy...@gm...> - 2013-02-13 10:08:20
|
Hello everyone, Continuing from my earlier question, I have now installed all dependancies using a combination of homebrew (http://mxcl.github.com/homebrew), pip and good-old python setup.py installing… Things seem to build fine, but I have a linking problem with boost. My boost includes and library files live in the usual places /usr/local/include and /usr/local/lib (well symlinks managed by homebrew). Any ideas on how to tell the install script the location of boost? I have edited the site.cfg to read, [build_ext] include-dirs=/usr/local/include library-dirs=/usr/local/lib The list lines of the error reads, --- -L/usr/local/lib -lboost_python -lboost_signals -o build/lib.macosx-10.8-x86_64-2.7/visual_common/cvisual.so ld: library not found for -lboost_python clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'c++' failed with exit status 1 --- Any ideas? Best wishes, Dan On 13 Feb 2013, at 14:39, Bruce Sherwood <Bru...@nc...> wrote: > Be sure to read the file OSX.txt in the tarball, which includes instructions on how to build the Boost libraries that you'll need. > > Bruce Sherwood > > > On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris <sc...@fl...> wrote: > I'll give that a try. I do have vPython 6 running now with an "official" 2.7.3 python. > > I appreciate your efforts quite a bit! I've used VTK and wxPython heavily in the last, and it's great to be able ti integrate wx and VPython! > > -Scott > > Scott Harris > sc...@fl... > 37 Doe Trail POB 1278 > Nederland CO 80466-1278 > 720/231-6533 (cell) > 303/258-0142 (office) > > On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <Bru...@nc...> wrote: > >> (I should mention that Adam Hausknecht's problem had nothing to do with VPython. The Tk package is broken on the Mac; for a fix, see http://www.python.org/getit/mac/tcltk/.) >> >> You could try building from source, because Steve Spicklemire has made this quite easy to do, except that you may have difficulties dealing with installing all the dependencies (wxPython 2.9.4, numpy, FontTools, ttfquery, Polygon). Get the source "tarball" from the Linux download page at vpython.org, unpack, and in a terminal cd to the source code, then execute "sudo python2.7 setup.py install". >> >> Bruce Sherwood >> >> >> On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...> wrote: >> I too use EPD. On my machine, the VPython installer doesn't detect EPD and won't install. I'm on OS X 10.8.2 >> >> This is my python: >> >> Enthought Python Distribution (EPD) free version -- www.enthought.com >> Version: 7.3-2 (32-bit) >> (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) >> >> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) >> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >> Type "credits", "demo" or "enthought" for more information. >> >> >> Getting VPython to work with EPD would be great. >> >> Thanks, >> -Scott >> Scott Harris >> sc...@fl... >> 37 Doe Trail POB 1278 >> Nederland CO 80466-1278 >> 720/231-6533 (cell) >> 303/258-0142 (office) >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Bruce S. <Bru...@nc...> - 2013-02-13 05:42:45
|
Thanks much for the report. I think we must not have tested scene.visible = False. It's very gratifying that you found that (essentially) all of your programs work. When we started on this conversion to wxPython, it wasn't obvious to me that it wouldn't require rather serious changes to the API, but we got away with little change. Bruce Sherwood On Tue, Feb 12, 2013 at 9:30 PM, Symion <kn...@ip...> wrote: > I have installed Visual Python version 6.02 onto Python version 2.7.3 as > instructed. > > This anomaly has probably been picked up already. > > 'scene.visible = False' does not seem to close the window. > > The only problems i have encountered are entirely related to my programs > not have a rate(n) inside a loop or > having a rate 'n' less than 1. > Also, a fonts issue regarding bad font names - but again that was easily > fixed by using either 'sans', 'serif' or 'monospace'. > > Apart from that, EVERY single Visual Python program I have written so > far - WORKS! > > This is great stuff!! > > Symion > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Bruce S. <Bru...@nc...> - 2013-02-13 05:39:45
|
Be sure to read the file OSX.txt in the tarball, which includes instructions on how to build the Boost libraries that you'll need. Bruce Sherwood On Tue, Feb 12, 2013 at 3:56 PM, Scott Harris <sc...@fl...>wrote: > I'll give that a try. I do have vPython 6 running now with an "official" > 2.7.3 python. > > I appreciate your efforts quite a bit! I've used VTK and wxPython heavily > in the last, and it's great to be able ti integrate wx and VPython! > > -Scott > > Scott Harris > sc...@fl... > 37 Doe Trail POB 1278 > Nederland CO 80466-1278 > 720/231-6533 (cell) > 303/258-0142 (office) > > On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <Bru...@nc...> > wrote: > > (I should mention that Adam Hausknecht's problem had nothing to do with > VPython. The Tk package is broken on the Mac; for a fix, see > http://www.python.org/getit/mac/tcltk/.) > > You could try building from source, because Steve Spicklemire has made > this quite easy to do, except that you may have difficulties dealing with > installing all the dependencies (wxPython 2.9.4, numpy, FontTools, > ttfquery, Polygon). Get the source "tarball" from the Linux download page > at vpython.org, unpack, and in a terminal cd to the source code, then > execute "sudo python2.7 setup.py install". > > Bruce Sherwood > > > On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...>wrote: > >> I too use EPD. On my machine, the VPython installer doesn't detect EPD >> and won't install. I'm on OS X 10.8.2 >> >> This is my python: >> >> Enthought Python Distribution (EPD) free version -- www.enthought.com >> Version: 7.3-2 (32-bit) >> (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) >> >> Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) >> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin >> Type "credits", "demo" or "enthought" for more information. >> >> >> Getting VPython to work with EPD would be great. >> >> Thanks, >> -Scott >> Scott Harris >> sc...@fl... >> 37 Doe Trail POB 1278 >> Nederland CO 80466-1278 >> 720/231-6533 (cell) >> 303/258-0142 (office) >> >> >> > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > |
From: Symion <kn...@ip...> - 2013-02-13 04:30:47
|
I have installed Visual Python version 6.02 onto Python version 2.7.3 as instructed. This anomaly has probably been picked up already. 'scene.visible = False' does not seem to close the window. The only problems i have encountered are entirely related to my programs not have a rate(n) inside a loop or having a rate 'n' less than 1. Also, a fonts issue regarding bad font names - but again that was easily fixed by using either 'sans', 'serif' or 'monospace'. Apart from that, EVERY single Visual Python program I have written so far - WORKS! This is great stuff!! Symion |
From: Scott H. <sc...@fl...> - 2013-02-12 23:23:43
|
I'll give that a try. I do have vPython 6 running now with an "official" 2.7.3 python. I appreciate your efforts quite a bit! I've used VTK and wxPython heavily in the last, and it's great to be able ti integrate wx and VPython! -Scott Scott Harris sc...@fl... 37 Doe Trail POB 1278 Nederland CO 80466-1278 720/231-6533 (cell) 303/258-0142 (office) On Feb 12, 2013, at 1:53 PM, Bruce Sherwood <Bru...@nc...> wrote: > (I should mention that Adam Hausknecht's problem had nothing to do with VPython. The Tk package is broken on the Mac; for a fix, see http://www.python.org/getit/mac/tcltk/.) > > You could try building from source, because Steve Spicklemire has made this quite easy to do, except that you may have difficulties dealing with installing all the dependencies (wxPython 2.9.4, numpy, FontTools, ttfquery, Polygon). Get the source "tarball" from the Linux download page at vpython.org, unpack, and in a terminal cd to the source code, then execute "sudo python2.7 setup.py install". > > Bruce Sherwood > > > On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...> wrote: > I too use EPD. On my machine, the VPython installer doesn't detect EPD and won't install. I'm on OS X 10.8.2 > > This is my python: > > Enthought Python Distribution (EPD) free version -- www.enthought.com > Version: 7.3-2 (32-bit) > (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) > > Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > Type "credits", "demo" or "enthought" for more information. > > > Getting VPython to work with EPD would be great. > > Thanks, > -Scott > Scott Harris > sc...@fl... > 37 Doe Trail POB 1278 > Nederland CO 80466-1278 > 720/231-6533 (cell) > 303/258-0142 (office) > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Bruce S. <Bru...@nc...> - 2013-02-12 20:53:35
|
(I should mention that Adam Hausknecht's problem had nothing to do with VPython. The Tk package is broken on the Mac; for a fix, see http://www.python.org/getit/mac/tcltk/.) You could try building from source, because Steve Spicklemire has made this quite easy to do, except that you may have difficulties dealing with installing all the dependencies (wxPython 2.9.4, numpy, FontTools, ttfquery, Polygon). Get the source "tarball" from the Linux download page at vpython.org, unpack, and in a terminal cd to the source code, then execute "sudo python2.7 setup.py install". Bruce Sherwood On Tue, Feb 12, 2013 at 1:05 PM, Scott Harris <sc...@fl...>wrote: > I too use EPD. On my machine, the VPython installer doesn't detect EPD and > won't install. I'm on OS X 10.8.2 > > This is my python: > > Enthought Python Distribution (EPD) free version -- www.enthought.com > Version: 7.3-2 (32-bit) > (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) > > Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > Type "credits", "demo" or "enthought" for more information. > > > Getting VPython to work with EPD would be great. > > Thanks, > -Scott > Scott Harris > sc...@fl... > 37 Doe Trail POB 1278 > Nederland CO 80466-1278 > 720/231-6533 (cell) > 303/258-0142 (office) > > > |
From: Scott H. <sc...@fl...> - 2013-02-12 20:32:39
|
I too use EPD. On my machine, the VPython installer doesn't detect EPD and won't install. I'm on OS X 10.8.2 This is my python: Enthought Python Distribution (EPD) free version -- www.enthought.com Version: 7.3-2 (32-bit) (type 'upgrade' or see www.enthought.com/epd/upgrade to get the full EPD) Python 2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 11:28:34) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "credits", "demo" or "enthought" for more information. Getting VPython to work with EPD would be great. Thanks, -Scott Scott Harris sc...@fl... 37 Doe Trail POB 1278 Nederland CO 80466-1278 720/231-6533 (cell) 303/258-0142 (office) On Feb 11, 2013, at 8:55 AM, Adam O Hausknecht <aha...@um...> wrote: > Hi, > > I have just attempted to install VPython 6.0.2 on a Intel Core I7 MacBoook Pro running Mac OS 10.8.2 and > get a message shown below: > > > --------------------------------------------------------- > Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "copyright", "credits" or "license()" for more information. > >>> ================================ RESTART ================================ > >>> > > Traceback (most recent call last): > File "Untitled", line 1 > from visual import * > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/__init__.py", line 1 > from .visual_all import * > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/visual_all.py", line 1 > from vis import version > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/__init__.py", line 3 > from .cvisual import (vector, dot, mag, mag2, norm, cross, rotate, > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/cvisual.so, 2): no suitable image found. Did find: > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/cvisual.so: mach-o, but wrong architecture > ---------------------------------------------------------------------------------------------------------------------- > > The program I tried is : > > ------------------------------- > from visual import * > sphere() > ---------------------------- > > Also, a VPythom folder with sample programs is NOT created. Thus, the "visual" help item on VIDLE'S help menu also fails. > > Finally, I also use Enthought's Python distribution for scientific computing. Could these interfere with each other? > Can Visual Python be installed within Enthought's distribution? I think Enthought uses a Numpy 1.6x. > > Regards and thanks for all your work! > > Adam Hausknecht > > Professor Adam O. Hausknecht > Department of Mathematics > UMass Dartmouth > 285 Old Westport Road > North Dartmouth, MA 02747 > Office: Arts and Sciences 394B > Email: aha...@um... > Phone: 508-999-8322 > > From: vis...@li... > To: vis...@li... > Sent: Monday, February 11, 2013 2:00:07 AM > Subject: Visualpython-users Digest, Vol 80, Issue 1 > > Send Visualpython-users mailing list submissions to > vis...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/visualpython-users > or, via email, send a message with subject or body 'help' to > vis...@li... > > You can reach the person managing the list at > vis...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Visualpython-users digest..." > > > Today's Topics: > > 1. On windows-8 tablet (Shin-ichiro Tanaka / ?????) > 2. New contributed program (Bruce Sherwood) > 3. (no subject) (Joel Kahn) > 4. VPython 6.02 with buttons, sliders, and new event handling > capabilities (Bruce Sherwood) > 5. Re: VPython 6.02 with buttons, sliders, and new event > handling capabilities (Bruce Sherwood) > 6. Re: VPython 6.02 with buttons, sliders, and new event > handling capabilities (Bruce Sherwood) > 7. Re: VPython 6.02 with buttons, sliders, and new event > handling capabilities (Bruce Sherwood) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 30 Jan 2013 15:34:07 +0900 > From: Shin-ichiro Tanaka / ????? <st...@sa...> > Subject: [Visualpython-users] On windows-8 tablet > To: vis...@li... > Message-ID: <93C...@sa...> > Content-Type: text/plain; charset=iso-2022-jp > > > Hi, > > I have been using Vpython on Windows 7 and XP machines, either > with EPD(enthght python disribution) and Pythonxy distribution. > > It is amazing. Then I installed Vpython(Ver 5.74 for win32 on > python2.73) on an windows-8 tablet (ASUS ME400c, Atom Z2760, > 2GByte memory). However, it does not work. The "Vypthon" window > opens but it hangs up. > > Does anyone know how to do with it? I keenly would like to show > the physical simulation to students on my physics lecture. > > Thanks in advance. > > ---------------------------------------------- > > Shin-ichiro Tanaka "?????" > Associate professor > The institute of Scientific and Industrial Research, Osaka University > TEL:06-6879-8491, FAX:06-6879-8494 > ?????????????567-0047 ?????????? > > > > ------------------------------ > > Message: 2 > Date: Wed, 6 Feb 2013 11:28:47 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: [Visualpython-users] New contributed program > To: vpusers <vis...@li...> > Message-ID: > <CAFDG03hCmtm+QJ_9WhymJKFm69pVCTYHMM-YAzNO+jH=xG...@ma...> > Content-Type: text/plain; charset="utf-8" > > Owen Long has contributed an interesting program that displays the odd > behavior of a book rotating in 3D space, now available in the Contributed > section of vpython.org. > > Because there are no torques acting on the book, the (vector) angular > momentum does not change, but the (vector) angular velocity does change, > and the visual effect is that the book tumbles in an unexpected way. > > You can see this effect in the real world. Try flipping a book or a tennis > racket in the air. You'll find that if the object rotates around its long > axis or the axis perpendicular to the largest side, the rotation is stable. > If however you flip it around the third axis, no matter how carefully you > try to flip it exactly around that axis, you'll see that the object tumbles. > > Bruce Sherwood > > P.S. Steve Spicklemire and I believe that we're very close to the next > release of the wxPython-based VPython 6. All that remains is some > documentation and some cleanups of keyboard issues. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Wed, 6 Feb 2013 15:48:46 -0800 (PST) > From: Joel Kahn <jj...@ya...> > Subject: [Visualpython-users] (no subject) > To: "ari...@su..." <ari...@su...>, > "do...@do..." <do...@do...>, > "vis...@li..." > <vis...@li...>, "con...@gl..." > <con...@gl...>, "sta...@op..." > <sta...@op...>, > "dr...@us..." <dr...@us...>, > "ca...@us..." <ca...@us...>, "us...@ip..." <us...@ip...> > Message-ID: > <136...@we...> > Content-Type: text/plain; charset="us-ascii" > > > > > http://trainer.com.pa/wck/yvylzm > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 4 > Date: Sat, 9 Feb 2013 23:24:42 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: [Visualpython-users] VPython 6.02 with buttons, sliders, and > new event handling capabilities > To: vpusers <vis...@li...> > Message-ID: > <CAFDG03jfZib4CRw2_-yXZc3K_wvLyq0ii3s=Nmh...@ma...> > Content-Type: text/plain; charset="utf-8" > > Now available on the download pages at vpython.org is VPython 6.02, the > product of a collaboration between Steve Spicklemire and me. This version > is based on the cross-platform library wxPython. It has two powerful new > features: > > (1) You can put a VPython 3D display in a window that also has wxPython > buttons, sliders, etc. that have a native look and feel on all platforms. > See the new example program widgets.py. (We haven't experimented with > automatic layout mechanisms provided by wxPython, which may require some > revision of the new VPython.) > > (2) In addition to the existing ways to handle mouse and keyboard events, > there are powerful new "callback" mechanisms for handling events. Among > much else, this provides a way to catch keyboard release events, which some > users have wanted for a long time. > > Our experience so far is that existing programs will run with VPython 6.02, > unless there is an animation loop that does not contain a rate() statement > (which is now obligatory), and if you import graph or controls or > filedialog you must first import visual or vis. We encourage you to try > your programs and provide test cases that do not run properly even after > making these two adaptations. > > There is one known bug with old programs, which is that materials.rough and > materials.marble do not display correctly on a Macintosh, and the cause is > currently unknown. > > There is one known bug with new programs, which is that pull-down menus (a > new feature made possible thanks to wxPython) do not work on a Macintosh. > This problem is partly understood, but there isn't yet a fix for the > problem. > > There is a likely bug on Linux, in that wxPython does not currently report > window metrics such as the height of a menu bar. For that reason, at the > moment these metrics are hard-coded and are likely to be wrong for some > Linux or some window manager on some Linux. Please let us know about your > experience in this regard. > > Bruce Sherwood > > P.S. At the start of every semester there is a big spike in VPython > installer downloads due to the start of classes in which VPython is used. > Last month there were about 10,000 downloads, and there were considerable > charges for excess data transfer from the vpython.org web site. For that > reason, the installers have been moved to sourceforge.net, which provides > free downloads for open-source projects like VPython. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 5 > Date: Sat, 9 Feb 2013 23:29:31 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, > and new event handling capabilities > To: vpusers <vis...@li...> > Message-ID: > <CAF...@ma...> > Content-Type: text/plain; charset="utf-8" > > I should add that VPython 6.02 works with 64-bit versions of Python on all > platforms. > > Bruce Sherwood > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 6 > Date: Sun, 10 Feb 2013 20:04:39 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, > and new event handling capabilities > To: vpusers <vis...@li...> > Message-ID: > <CAFDG03g-=HOK...@ma...> > Content-Type: text/plain; charset="utf-8" > > One other thing: There isn't a version of VPython 6 for Python 3.x because > there isn't yet a Python 3.x version of wxPython, on which VPython 6 is > based. The wxPython developers are actively working on a version for Python > 3.x, but I don't know when it will be available. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 7 > Date: Sun, 10 Feb 2013 23:59:58 -0700 > From: Bruce Sherwood <Bru...@nc...> > Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, > and new event handling capabilities > To: vpusers <vis...@li...> > Message-ID: > <CAF...@ma...> > Content-Type: text/plain; charset="utf-8" > > My mistake. I had misunderstood the status of the "Phoenix" project, a > rewrite of wxPython that can be used with Python 3. I just now tried using > the Phoenix version, and after some very minor changes just about > everything but labels worked (and that's probably easy to fix). > > Bruce Sherwood > > On Sun, Feb 10, 2013 at 8:04 PM, Bruce Sherwood <Bru...@nc...>wrote: > > > One other thing: There isn't a version of VPython 6 for Python 3.x because > > there isn't yet a Python 3.x version of wxPython, on which VPython 6 is > > based. The wxPython developers are actively working on a version for Python > > 3.x, but I don't know when it will be available. > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > ------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > End of Visualpython-users Digest, Vol 80, Issue 1 > ************************************************* > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Adam O H. <aha...@um...> - 2013-02-11 16:15:10
|
Hi, I have just attempted to install VPython 6.0.2 on a Intel Core I7 MacBoook Pro running Mac OS 10.8.2 and get a message shown below: --------------------------------------------------------- Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> Traceback (most recent call last): File "Untitled", line 1 from visual import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/__init__.py", line 1 from .visual_all import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/visual_all.py", line 1 from vis import version File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/__init__.py", line 3 from .cvisual import (vector, dot, mag, mag2, norm, cross, rotate, ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/cvisual.so, 2): no suitable image found. Did find: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/cvisual.so: mach-o, but wrong architecture ---------------------------------------------------------------------------------------------------------------------- The program I tried is : ------------------------------- from visual import * sphere() ---------------------------- Also, a VPythom folder with sample programs is NOT created. Thus, the "visual" help item on VIDLE'S help menu also fails. Finally, I also use Enthought's Python distribution for scientific computing. Could these interfere with each other? Can Visual Python be installed within Enthought's distribution? I think Enthought uses a Numpy 1.6x. Regards and thanks for all your work! Adam Hausknecht Professor Adam O. Hausknecht Department of Mathematics UMass Dartmouth 285 Old Westport Road North Dartmouth, MA 02747 Office: Arts and Sciences 394B Email: aha...@um... Phone: 508-999-8322 ----- Original Message ----- From: vis...@li... To: vis...@li... Sent: Monday, February 11, 2013 2:00:07 AM Subject: Visualpython-users Digest, Vol 80, Issue 1 Send Visualpython-users mailing list submissions to vis...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/visualpython-users or, via email, send a message with subject or body 'help' to vis...@li... You can reach the person managing the list at vis...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Visualpython-users digest..." Today's Topics: 1. On windows-8 tablet (Shin-ichiro Tanaka / ?????) 2. New contributed program (Bruce Sherwood) 3. (no subject) (Joel Kahn) 4. VPython 6.02 with buttons, sliders, and new event handling capabilities (Bruce Sherwood) 5. Re: VPython 6.02 with buttons, sliders, and new event handling capabilities (Bruce Sherwood) 6. Re: VPython 6.02 with buttons, sliders, and new event handling capabilities (Bruce Sherwood) 7. Re: VPython 6.02 with buttons, sliders, and new event handling capabilities (Bruce Sherwood) ---------------------------------------------------------------------- Message: 1 Date: Wed, 30 Jan 2013 15:34:07 +0900 From: Shin-ichiro Tanaka / ????? <st...@sa...> Subject: [Visualpython-users] On windows-8 tablet To: vis...@li... Message-ID: <93C...@sa...> Content-Type: text/plain; charset=iso-2022-jp Hi, I have been using Vpython on Windows 7 and XP machines, either with EPD(enthght python disribution) and Pythonxy distribution. It is amazing. Then I installed Vpython(Ver 5.74 for win32 on python2.73) on an windows-8 tablet (ASUS ME400c, Atom Z2760, 2GByte memory). However, it does not work. The "Vypthon" window opens but it hangs up. Does anyone know how to do with it? I keenly would like to show the physical simulation to students on my physics lecture. Thanks in advance. ---------------------------------------------- Shin-ichiro Tanaka "?????" Associate professor The institute of Scientific and Industrial Research, Osaka University TEL:06-6879-8491, FAX:06-6879-8494 ?????????????567-0047 ?????????? ------------------------------ Message: 2 Date: Wed, 6 Feb 2013 11:28:47 -0700 From: Bruce Sherwood <Bru...@nc...> Subject: [Visualpython-users] New contributed program To: vpusers <vis...@li...> Message-ID: <CAFDG03hCmtm+QJ_9WhymJKFm69pVCTYHMM-YAzNO+jH=xG...@ma...> Content-Type: text/plain; charset="utf-8" Owen Long has contributed an interesting program that displays the odd behavior of a book rotating in 3D space, now available in the Contributed section of vpython.org. Because there are no torques acting on the book, the (vector) angular momentum does not change, but the (vector) angular velocity does change, and the visual effect is that the book tumbles in an unexpected way. You can see this effect in the real world. Try flipping a book or a tennis racket in the air. You'll find that if the object rotates around its long axis or the axis perpendicular to the largest side, the rotation is stable. If however you flip it around the third axis, no matter how carefully you try to flip it exactly around that axis, you'll see that the object tumbles. Bruce Sherwood P.S. Steve Spicklemire and I believe that we're very close to the next release of the wxPython-based VPython 6. All that remains is some documentation and some cleanups of keyboard issues. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Wed, 6 Feb 2013 15:48:46 -0800 (PST) From: Joel Kahn <jj...@ya...> Subject: [Visualpython-users] (no subject) To: "ari...@su..." <ari...@su...>, "do...@do..." <do...@do...>, "vis...@li..." <vis...@li...>, "con...@gl..." <con...@gl...>, "sta...@op..." <sta...@op...>, "dr...@us..." <dr...@us...>, "ca...@us..." <ca...@us...>, "us...@ip..." <us...@ip...> Message-ID: <136...@we...> Content-Type: text/plain; charset="us-ascii" http://trainer.com.pa/wck/yvylzm -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Sat, 9 Feb 2013 23:24:42 -0700 From: Bruce Sherwood <Bru...@nc...> Subject: [Visualpython-users] VPython 6.02 with buttons, sliders, and new event handling capabilities To: vpusers <vis...@li...> Message-ID: <CAFDG03jfZib4CRw2_-yXZc3K_wvLyq0ii3s=Nmh...@ma...> Content-Type: text/plain; charset="utf-8" Now available on the download pages at vpython.org is VPython 6.02, the product of a collaboration between Steve Spicklemire and me. This version is based on the cross-platform library wxPython. It has two powerful new features: (1) You can put a VPython 3D display in a window that also has wxPython buttons, sliders, etc. that have a native look and feel on all platforms. See the new example program widgets.py. (We haven't experimented with automatic layout mechanisms provided by wxPython, which may require some revision of the new VPython.) (2) In addition to the existing ways to handle mouse and keyboard events, there are powerful new "callback" mechanisms for handling events. Among much else, this provides a way to catch keyboard release events, which some users have wanted for a long time. Our experience so far is that existing programs will run with VPython 6.02, unless there is an animation loop that does not contain a rate() statement (which is now obligatory), and if you import graph or controls or filedialog you must first import visual or vis. We encourage you to try your programs and provide test cases that do not run properly even after making these two adaptations. There is one known bug with old programs, which is that materials.rough and materials.marble do not display correctly on a Macintosh, and the cause is currently unknown. There is one known bug with new programs, which is that pull-down menus (a new feature made possible thanks to wxPython) do not work on a Macintosh. This problem is partly understood, but there isn't yet a fix for the problem. There is a likely bug on Linux, in that wxPython does not currently report window metrics such as the height of a menu bar. For that reason, at the moment these metrics are hard-coded and are likely to be wrong for some Linux or some window manager on some Linux. Please let us know about your experience in this regard. Bruce Sherwood P.S. At the start of every semester there is a big spike in VPython installer downloads due to the start of classes in which VPython is used. Last month there were about 10,000 downloads, and there were considerable charges for excess data transfer from the vpython.org web site. For that reason, the installers have been moved to sourceforge.net, which provides free downloads for open-source projects like VPython. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 5 Date: Sat, 9 Feb 2013 23:29:31 -0700 From: Bruce Sherwood <Bru...@nc...> Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, and new event handling capabilities To: vpusers <vis...@li...> Message-ID: <CAF...@ma...> Content-Type: text/plain; charset="utf-8" I should add that VPython 6.02 works with 64-bit versions of Python on all platforms. Bruce Sherwood -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 6 Date: Sun, 10 Feb 2013 20:04:39 -0700 From: Bruce Sherwood <Bru...@nc...> Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, and new event handling capabilities To: vpusers <vis...@li...> Message-ID: <CAFDG03g-=HOK...@ma...> Content-Type: text/plain; charset="utf-8" One other thing: There isn't a version of VPython 6 for Python 3.x because there isn't yet a Python 3.x version of wxPython, on which VPython 6 is based. The wxPython developers are actively working on a version for Python 3.x, but I don't know when it will be available. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 7 Date: Sun, 10 Feb 2013 23:59:58 -0700 From: Bruce Sherwood <Bru...@nc...> Subject: Re: [Visualpython-users] VPython 6.02 with buttons, sliders, and new event handling capabilities To: vpusers <vis...@li...> Message-ID: <CAF...@ma...> Content-Type: text/plain; charset="utf-8" My mistake. I had misunderstood the status of the "Phoenix" project, a rewrite of wxPython that can be used with Python 3. I just now tried using the Phoenix version, and after some very minor changes just about everything but labels worked (and that's probably easy to fix). Bruce Sherwood On Sun, Feb 10, 2013 at 8:04 PM, Bruce Sherwood <Bru...@nc...>wrote: > One other thing: There isn't a version of VPython 6 for Python 3.x because > there isn't yet a Python 3.x version of wxPython, on which VPython 6 is > based. The wxPython developers are actively working on a version for Python > 3.x, but I don't know when it will be available. > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ------------------------------ _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users End of Visualpython-users Digest, Vol 80, Issue 1 ************************************************* |
From: Bruce S. <Bru...@nc...> - 2013-02-11 16:02:40
|
If you try 6.02 on the Mac, you need the following information, which has been added to the Mac download page at vpython.org: If you have an existing VPython, you will need to delete the old folders visual, vis, and vidle from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages A similar comment applies to Linux. The issue is that our Mac installer and Linux build machinery places the folders visual, vis, and vidle (and visual_common) inside one folder, so the old folders don't get overwritten. The Windows installer overwrites the old folders. Bruce Sherwood |
From: Bruce S. <Bru...@nc...> - 2013-02-11 07:00:06
|
My mistake. I had misunderstood the status of the "Phoenix" project, a rewrite of wxPython that can be used with Python 3. I just now tried using the Phoenix version, and after some very minor changes just about everything but labels worked (and that's probably easy to fix). Bruce Sherwood On Sun, Feb 10, 2013 at 8:04 PM, Bruce Sherwood <Bru...@nc...>wrote: > One other thing: There isn't a version of VPython 6 for Python 3.x because > there isn't yet a Python 3.x version of wxPython, on which VPython 6 is > based. The wxPython developers are actively working on a version for Python > 3.x, but I don't know when it will be available. > > |
From: Bruce S. <Bru...@nc...> - 2013-02-11 03:04:47
|
One other thing: There isn't a version of VPython 6 for Python 3.x because there isn't yet a Python 3.x version of wxPython, on which VPython 6 is based. The wxPython developers are actively working on a version for Python 3.x, but I don't know when it will be available. |
From: Bruce S. <Bru...@nc...> - 2013-02-10 06:29:39
|
I should add that VPython 6.02 works with 64-bit versions of Python on all platforms. Bruce Sherwood |
From: Bruce S. <Bru...@nc...> - 2013-02-10 06:24:52
|
Now available on the download pages at vpython.org is VPython 6.02, the product of a collaboration between Steve Spicklemire and me. This version is based on the cross-platform library wxPython. It has two powerful new features: (1) You can put a VPython 3D display in a window that also has wxPython buttons, sliders, etc. that have a native look and feel on all platforms. See the new example program widgets.py. (We haven't experimented with automatic layout mechanisms provided by wxPython, which may require some revision of the new VPython.) (2) In addition to the existing ways to handle mouse and keyboard events, there are powerful new "callback" mechanisms for handling events. Among much else, this provides a way to catch keyboard release events, which some users have wanted for a long time. Our experience so far is that existing programs will run with VPython 6.02, unless there is an animation loop that does not contain a rate() statement (which is now obligatory), and if you import graph or controls or filedialog you must first import visual or vis. We encourage you to try your programs and provide test cases that do not run properly even after making these two adaptations. There is one known bug with old programs, which is that materials.rough and materials.marble do not display correctly on a Macintosh, and the cause is currently unknown. There is one known bug with new programs, which is that pull-down menus (a new feature made possible thanks to wxPython) do not work on a Macintosh. This problem is partly understood, but there isn't yet a fix for the problem. There is a likely bug on Linux, in that wxPython does not currently report window metrics such as the height of a menu bar. For that reason, at the moment these metrics are hard-coded and are likely to be wrong for some Linux or some window manager on some Linux. Please let us know about your experience in this regard. Bruce Sherwood P.S. At the start of every semester there is a big spike in VPython installer downloads due to the start of classes in which VPython is used. Last month there were about 10,000 downloads, and there were considerable charges for excess data transfer from the vpython.org web site. For that reason, the installers have been moved to sourceforge.net, which provides free downloads for open-source projects like VPython. |
From: Joel K. <jj...@ya...> - 2013-02-06 23:48:54
|
http://trainer.com.pa/wck/yvylzm |
From: Bruce S. <Bru...@nc...> - 2013-02-06 18:28:56
|
Owen Long has contributed an interesting program that displays the odd behavior of a book rotating in 3D space, now available in the Contributed section of vpython.org. Because there are no torques acting on the book, the (vector) angular momentum does not change, but the (vector) angular velocity does change, and the visual effect is that the book tumbles in an unexpected way. You can see this effect in the real world. Try flipping a book or a tennis racket in the air. You'll find that if the object rotates around its long axis or the axis perpendicular to the largest side, the rotation is stable. If however you flip it around the third axis, no matter how carefully you try to flip it exactly around that axis, you'll see that the object tumbles. Bruce Sherwood P.S. Steve Spicklemire and I believe that we're very close to the next release of the wxPython-based VPython 6. All that remains is some documentation and some cleanups of keyboard issues. |
From: Shin-ichiro T. / 田. <st...@sa...> - 2013-01-30 06:56:14
|
Hi, I have been using Vpython on Windows 7 and XP machines, either with EPD(enthght python disribution) and Pythonxy distribution. It is amazing. Then I installed Vpython(Ver 5.74 for win32 on python2.73) on an windows-8 tablet (ASUS ME400c, Atom Z2760, 2GByte memory). However, it does not work. The "Vypthon" window opens but it hangs up. Does anyone know how to do with it? I keenly would like to show the physical simulation to students on my physics lecture. Thanks in advance. ---------------------------------------------- Shin-ichiro Tanaka "田中慎一郎" Associate professor The institute of Scientific and Industrial Research, Osaka University TEL:06-6879-8491, FAX:06-6879-8494 大阪大学産業科学研究所 〒567-0047 茨木市美穂ヶ丘8−1 |
From: Bruce S. <Bru...@nc...> - 2013-01-27 17:25:54
|
I was asked whether VPython works on Windows 8. I have no reason to think it doesn't, but does anyone have firsthand knowledge? Thanks. Bruce Sherwood |