From: Bryant M. <bm...@ya...> - 2009-10-23 04:45:20
|
Greetings: I am just getting started in Python and consiquently have many modules etc installed, not knowing what I really need. I had just discovered how to get eric4 and Vpython 5.13 installed using Python 2.6.3. On the 20th I was able to run the begining tutorials which included the import visual line with no problems. Last night I ended up with the object attribute error. Traceback (most recent call last): File "<pyshell#0>", line 1 from visual import * File "C:\Python26\lib\site-packages\visual\__init__.py", line 59 import cvisual AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only What had occured between was the installation/uninstall of an ACAD2010 trial package that included the C++ 2008 redidstribution package and updates. I already have Vstudio 2005. Also cmake 2.6 was installed. I have removed the C++ redistribution packages and the ACAD program and reinstalled all my python packages but am still unable to import visual. I dont know if any of this provides clues but I was able to import visual in 2.6.3 with no errors. Happy Trails Bryant |
From: Tony R. <To...@br...> - 2009-10-23 05:15:22
|
What is known so far is in this bug report and all the links therein: https://bugs.launchpad.net/ubuntu/+source/boost1.38/+bug/457688 There seems to be some incompatibility with python 2.6.3 and boost python 1.38-1.40; many projects utilizing python boost seem to be experiencing this. You may have had an older version of boost that later got updated. I have confirmed that using the trunk version of boost fixes this, although in windows you may need to downgrade boost to pre 1.38 (I believe this is where the regression occured but it may have been 1.39) On Oct 22, 2009, at 11:47 PM, "Bryant Mitol" <bm...@ya...> wrote: > Greetings: > I am just getting started in Python and consiquently have many > modules etc installed, not knowing what I really need. I had just > discovered how to get eric4 and Vpython 5.13 installed using Python > 2.6.3. On the 20th I was able to run the begining tutorials which > included the import visual line with no problems. Last night I ended > up with the object attribute error. > > Traceback (most recent call last): > File "<pyshell#0>", line 1 > from visual import * > File "C:\Python26\lib\site-packages\visual\__init__.py", line 59 > import cvisual > AttributeError: 'Boost.Python.StaticProperty' object attribute > '__doc__' > is read-only > > What had occured between was the installation/uninstall of an > ACAD2010 trial package that included the C++ 2008 redidstribution > package and updates. I already have Vstudio 2005. Also cmake 2.6 was > installed. I have removed the C++ redistribution packages and the > ACAD program and reinstalled all my python packages but am still > unable to import visual. I dont know if any of this provides clues > but I was able to import visual in 2.6.3 with no errors. > > Happy Trails > Bryant > --- > --- > --- > --------------------------------------------------------------------- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users Tony Risinger Application Development Specialist Tel: 507-535-7563 | Fax: 507-292-5747 | Toll Free: 866-241-0639 To...@Br... http://www.brokerbin.com/ CONFIDENTIAL INFORMATION: This electronic mail message and any attached files contain information intended for the exclusive use of the specific individual(s) or entity(s) to whom it is addressed and may contain information that is propriety, privileged or confidential or otherwise exempt from disclosure. If you are not the intended recipient, please notify the sender immediately, by reply electronic mail or by telephone, of any unintended recipients so we may correct our records. Also, delete the original electronic mail and any attachments without making any copies of the electronic mail message or attachments. |
From: Bruce S. <Bru...@nc...> - 2009-10-23 13:58:20
|
Because Visual at present cannot work with Python 2.6.3 (due to changes in Python in going from 2.6.2 to 2.6.2) I've placed on the download pages at vpython.org the advice to use 2.6.2. I'm guessing that there's a typo in the final comment "I was able to import visual in 2.6.3 with no errors." Presumably what was meant was "I was able to import visual in 2.6.2 with no errors." Bruce Sherwood Tony Risinger wrote: > What is known so far is in this bug report and all the links therein: > > https://bugs.launchpad.net/ubuntu/+source/boost1.38/+bug/457688 > > There seems to be some incompatibility with python 2.6.3 and boost > python 1.38-1.40; many projects utilizing python boost seem to be > experiencing this. > > You may have had an older version of boost that later got updated. I > have confirmed that using the trunk version of boost fixes this, > although in windows you may need to downgrade boost to pre 1.38 (I > believe this is where the regression occured but it may have been 1.39) > > On Oct 22, 2009, at 11:47 PM, "Bryant Mitol" <bm...@ya...> wrote: > >> Greetings: >> I am just getting started in Python and consiquently have many >> modules etc installed, not knowing what I really need. I had just >> discovered how to get eric4 and Vpython 5.13 installed using Python >> 2.6.3. On the 20th I was able to run the begining tutorials which >> included the import visual line with no problems. Last night I ended >> up with the object attribute error. >> >> Traceback (most recent call last): >> File "<pyshell#0>", line 1 >> from visual import * >> File "C:\Python26\lib\site-packages\visual\__init__.py", line 59 >> import cvisual >> AttributeError: 'Boost.Python.StaticProperty' object attribute >> '__doc__' >> is read-only >> >> What had occured between was the installation/uninstall of an >> ACAD2010 trial package that included the C++ 2008 redidstribution >> package and updates. I already have Vstudio 2005. Also cmake 2.6 was >> installed. I have removed the C++ redistribution packages and the >> ACAD program and reinstalled all my python packages but am still >> unable to import visual. I dont know if any of this provides clues >> but I was able to import visual in 2.6.3 with no errors. >> >> Happy Trails >> Bryant >> --- >> --- >> --- >> --------------------------------------------------------------------- >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > Tony Risinger > Application Development Specialist > Tel: 507-535-7563 | Fax: 507-292-5747 | Toll Free: 866-241-0639 > > To...@Br... > > http://www.brokerbin.com/ > > CONFIDENTIAL INFORMATION: This electronic mail message and any attached files contain information intended for the exclusive use of the specific individual(s) or entity(s) to whom it is addressed and may contain information that is propriety, privileged or confidential or otherwise exempt from disclosure. If you are not the intended recipient, please notify the sender immediately, by reply electronic mail or by telephone, of any unintended recipients so we may correct our records. Also, delete the original electronic mail and any attachments without making any copies of the electronic mail message or attachments. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Bruce S. <Bru...@nc...> - 2009-10-23 14:15:02
|
Aargh. I too am plagued by typos. Of course what I meant was "Python in going from 2.6.2 to 2.6.3". Bruce Sherwood Bruce Sherwood wrote: > Because Visual at present cannot work with Python 2.6.3 (due to changes in > Python in going from 2.6.2 to 2.6.2) I've placed on the download pages at > vpython.org the advice to use 2.6.2. I'm guessing that there's a typo in the > final comment "I was able to import visual in 2.6.3 with no errors." Presumably > what was meant was "I was able to import visual in 2.6.2 with no errors." > > Bruce Sherwood > > Tony Risinger wrote: >> What is known so far is in this bug report and all the links therein: >> >> https://bugs.launchpad.net/ubuntu/+source/boost1.38/+bug/457688 >> >> There seems to be some incompatibility with python 2.6.3 and boost >> python 1.38-1.40; many projects utilizing python boost seem to be >> experiencing this. >> >> You may have had an older version of boost that later got updated. I >> have confirmed that using the trunk version of boost fixes this, >> although in windows you may need to downgrade boost to pre 1.38 (I >> believe this is where the regression occured but it may have been 1.39) >> >> On Oct 22, 2009, at 11:47 PM, "Bryant Mitol" <bm...@ya...> wrote: >> >>> Greetings: >>> I am just getting started in Python and consiquently have many >>> modules etc installed, not knowing what I really need. I had just >>> discovered how to get eric4 and Vpython 5.13 installed using Python >>> 2.6.3. On the 20th I was able to run the begining tutorials which >>> included the import visual line with no problems. Last night I ended >>> up with the object attribute error. >>> >>> Traceback (most recent call last): >>> File "<pyshell#0>", line 1 >>> from visual import * >>> File "C:\Python26\lib\site-packages\visual\__init__.py", line 59 >>> import cvisual >>> AttributeError: 'Boost.Python.StaticProperty' object attribute >>> '__doc__' >>> is read-only >>> >>> What had occured between was the installation/uninstall of an >>> ACAD2010 trial package that included the C++ 2008 redidstribution >>> package and updates. I already have Vstudio 2005. Also cmake 2.6 was >>> installed. I have removed the C++ redistribution packages and the >>> ACAD program and reinstalled all my python packages but am still >>> unable to import visual. I dont know if any of this provides clues >>> but I was able to import visual in 2.6.3 with no errors. >>> >>> Happy Trails >>> Bryant >>> --- >>> --- >>> --- >>> --------------------------------------------------------------------- >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> Tony Risinger >> Application Development Specialist >> Tel: 507-535-7563 | Fax: 507-292-5747 | Toll Free: 866-241-0639 >> >> To...@Br... >> >> http://www.brokerbin.com/ >> >> CONFIDENTIAL INFORMATION: This electronic mail message and any attached files contain information intended for the exclusive use of the specific individual(s) or entity(s) to whom it is addressed and may contain information that is propriety, privileged or confidential or otherwise exempt from disclosure. If you are not the intended recipient, please notify the sender immediately, by reply electronic mail or by telephone, of any unintended recipients so we may correct our records. Also, delete the original electronic mail and any attachments without making any copies of the electronic mail message or attachments. >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |