From: Baker D.J. <D.J...@so...> - 2010-10-20 11:42:06
|
Hello, Thank you to those who helped me with the installation of the python visual module. It turns out that I forgot to install one of the dependencies. Having got visual to install I now find that it will not run -- error output shown below. Is this a bug in python (v2.6.5) or boost (v1.35.0), and more to the point is there a relatively easy workaround? Please could someone advise me on the best course of action. I have a sinking feeling that the advice will be to upgrade python. Best -- David. >>> import visual Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/local/software/rh52/python/2.6.5/gcc/lib/python2.6/site-packages/visual/__init__.py", line 59, in <module> import cvisual AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only |
From: Thomas S. <to...@fe...> - 2010-10-20 12:25:48
|
On Wed, 20 Oct 2010 12:41:49 +0100 Baker D.J. wrote: > Hello, > > Thank you to those who helped me with the installation of the python > visual module. It turns out that I forgot to install one of the > dependencies. Having got visual to install I now find that it will > not run -- error output shown below. Is this a bug in python (v2.6.5) > or boost (v1.35.0), and more to the point is there a relatively easy > workaround? Please could someone advise me on the best course of > action. I have a sinking feeling that the advice will be to upgrade > python. > > Best -- David. > > >>> import visual > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/local/software/rh52/python/2.6.5/gcc/lib/python2.6/site-packages/visual/__init__.py", > line 59, in <module> import cvisual AttributeError: > 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only What dependencies did you install? It seems I cannot do a scratch build for epel5 because there is no gtkglextmm package... It was working for me with python 2.6, don't know if upgrading boost would be a option for you... -- Thomas Spura |
From: Bruce S. <bas...@nc...> - 2010-10-20 14:17:25
|
This looks familiar, though I don't remember the solution. If you search the archives I think you'll find this problem and its solution. I think it's a Boost problem. Bruce Sherwood On Wed, Oct 20, 2010 at 5:41 AM, Baker D.J. <D.J...@so...> wrote: > Hello, > > Thank you to those who helped me with the installation of the python visual module. It turns out that I forgot to install one of the dependencies. Having got visual to install I now find that it will not run -- error output shown below. Is this a bug in python (v2.6.5) or boost (v1.35.0), and more to the point is there a relatively easy workaround? Please could someone advise me on the best course of action. I have a sinking feeling that the advice will be to upgrade python. > > Best -- David. > >>>> import visual > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/local/software/rh52/python/2.6.5/gcc/lib/python2.6/site-packages/visual/__init__.py", line 59, in <module> > import cvisual > AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Martin C. <cos...@wa...> - 2010-10-20 14:50:35
|
On 20/10/10 16:17, Bruce Sherwood wrote: > > This looks familiar, though I don't remember the solution. If you > search the archives I think you'll find this problem and its solution. > I think it's a Boost problem. The patch needed for boost-1.35 to work with python-2.6.x (x >= 3) can be obtained from boost svn via the command (1 line) svn diff -r56304:56305 http://svn.boost.org/svn/boost/trunk/libs/python/src/object/class.cpp -- Martin > On Wed, Oct 20, 2010 at 5:41 AM, Baker D.J.<D.J...@so...> wrote: >> Hello, >> >> Thank you to those who helped me with the installation of the python visual module. It turns out that I forgot to install one of the dependencies. Having got visual to install I now find that it will not run -- error output shown below. Is this a bug in python (v2.6.5) or boost (v1.35.0), and more to the point is there a relatively easy workaround? Please could someone advise me on the best course of action. I have a sinking feeling that the advice will be to upgrade python. >> >> Best -- David. >> >>>>> import visual >> Traceback (most recent call last): >> File "<stdin>", line 1, in<module> >> File "/local/software/rh52/python/2.6.5/gcc/lib/python2.6/site-packages/visual/__init__.py", line 59, in<module> >> import cvisual >> AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only |
From: Baker D.J. <D.J...@so...> - 2010-10-20 16:16:57
|
Hello Martin, Top suggestion! Thank you. I updated my boost distribution with the patch, rebuild boost and then finally remade visual. I can now run one of the bouncing ball examples on the machine. I will contact the user to see if he can do some testing as well, however this all looks very good. Best -- David. -----Original Message----- From: Martin Costabel [mailto:cos...@wa...] Sent: 20 October 2010 15:50 To: Bruce Sherwood Cc: vpusers Subject: Re: [Visualpython-users] Visual won't load/run with python 2.6.5 On 20/10/10 16:17, Bruce Sherwood wrote: > > This looks familiar, though I don't remember the solution. If you > search the archives I think you'll find this problem and its solution. > I think it's a Boost problem. The patch needed for boost-1.35 to work with python-2.6.x (x >= 3) can be obtained from boost svn via the command (1 line) svn diff -r56304:56305 http://svn.boost.org/svn/boost/trunk/libs/python/src/object/class.cpp -- Martin > On Wed, Oct 20, 2010 at 5:41 AM, Baker D.J.<D.J...@so...> wrote: >> Hello, >> >> Thank you to those who helped me with the installation of the python visual module. It turns out that I forgot to install one of the dependencies. Having got visual to install I now find that it will not run -- error output shown below. Is this a bug in python (v2.6.5) or boost (v1.35.0), and more to the point is there a relatively easy workaround? Please could someone advise me on the best course of action. I have a sinking feeling that the advice will be to upgrade python. >> >> Best -- David. >> >>>>> import visual >> Traceback (most recent call last): >> File "<stdin>", line 1, in<module> >> File "/local/software/rh52/python/2.6.5/gcc/lib/python2.6/site-packages/visual/__init__.py", line 59, in<module> >> import cvisual >> AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only ------------------------------------------------------------------------------ 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 _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |