From: Guenter S. <Gue...@ph...> - 2009-09-16 06:48:18
|
Tony Risinger wrote: > Yeah I opened that report but I haven't got any feedback yet. I am not surprised. Bug fixes in packages which are not essential to the facebook crowd proceed with glacial pace in ubuntu. > > I'm not sure what it means, but I took the python-visual 5.11 package from sid, tweaked the package slightly (python version was set to less than 2.6, I changed that to 2.7 so it would install, that's the only change I made) and tried it on ubuntu jaunty and karmic. > > Segfaults under python 2.6, but oddly works fine when ran under python 2.5. 32 and 64 bit both fail under 2.6, not sure off the top of my head if I was using the nvidia binary graphics driver or not, I don't think I was. > If you can clarify what exactly you did I am willing to try again. I built and installed a deb package from the sid source files like this: dpkg-source -x python-visual_5.11-1.dsc cd python-visual-5.11 dpkg-buildpackage -rfakeroot -b cd .. dpkg -i python-visual_5.11-1_amd64.deb I did not see a place where I could change 2.6 to 2.7 and it was not needed. In my case (using my laptop with ati graphics) it seg faults under python 2.5, runs under 2.6 but fails my little tests. Pretty much the opposite of what you found and no different from what I found by installing 5.12 from source. > As stated by another in that bug report: > > "Please consider raising the importance from medium to high. Not having this package working is a deal breaker in many educational environments." Just trying to move things along. See above. Guenter > > But now that I've typed this whole message, I now see that person's name was "gs", and is probably you :-) > > -----Original Message----- > From: Guenter Schneider [mailto:Gue...@ph...] > Sent: Tuesday, September 15, 2009 8:13 PM > To: vis...@li... > Subject: [Visualpython-users] vpython on ubuntu > > I have struggled to get vpython fully working on ubuntu for a while now. > Here is my summary what I learned. Let me say right away, as far as I > can tell it's not a vpython problem. > > First, unlike others on this list, I have no problems compiling vpython > 5.12. It works using debian Lenny on any computer I have tried. By > 'it works' I mean these simple tests do not result in seg. faults: > > TEST 1: > >>> from visual import * > >>> v = vector('x') > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ValueError: Vectors must be constructed from sequences of 2 or 3 float > members. > >>> > > TEST 2: > >>> from visual import * > >>> v=vector(1,2,3) > >>> for i in v: > ... print i > ... > 1.0 > 2.0 > 3.0 > >>> > > On ubuntu 9.04 it works on some computers but not on others. It doesn't > matter if I use 32 bit or 64 bit ubuntu 9.04. > > In fact the same pattern holds true in my tests for the python-visual > package that is distributed with ubuntu 9.04 (which is vpython 3.2.9). > It fails on all computers if a proprietary graphics driver is not > installed. Activating an nvidia proprietary graphics driver results in a > working vpython (as defined above), on system with ati graphics cards I > was not so lucky. I tried 6 different computers, 2 with nvidia graphics > and 4 with ati graphics. > > I got the same result for ubuntu 8.10. It always works with ubuntu 8.04.3. > > I filed a bug report with ubuntu against vpython since I have no idea > what is causing this problem. > > I could not try python-visual on karmic alpha (which 5.11) since that > leads to a seg fault like this > > >>> from visual import * > Segmentation fault > > There is already a bug report for this. > > Guenter > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® 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/devconf > _______________________________________________ > 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. |