From: anders <and...@gm...> - 2008-06-17 05:59:13
|
hi all, I'd like to report some problems that show up with both the faces_xx.py demos with visual-3.2.9 (I'm using Python 2.5.2 on 64-bit Ubuntu 8.04) I get mostly garbage: http://imagebin.org/21126 the other demos work fine, so I'm thinking my opengl hardware/drivers are ok. googling around it seems that this may be a problem with numpy on 64-bit machines? When trying to use the faces object I get the error message quoted below. anyone else seeing this too? any suggestions? regards, AW ------------- Traceback (most recent call last): File "faces_cone.py", line 22, in <module> model.pos[1::3, 0] = visual.sin(t[1:]) ValueError: matrices are not aligned for copy ---------------------- |
From: Bruce S. <Bru...@nc...> - 2008-06-17 14:36:40
|
With visual-3.2.9 you're using the older Numeric, not the newer numpy. It does seem plausible that there could be some problems with Numeric in a 64-bit environment, since it was developed and debugged long before 64-bit computers were generally available. I don't know what would have to be changed to get around this problem (and I myself don't have access to a 64-bit machine). It might be interesting to see what happens with the beta version of Visual, since it is based on numpy. Bruce Sherwood anders wrote: > hi all, > I'd like to report some problems that show up with both the faces_xx.py > demos with visual-3.2.9 (I'm using Python 2.5.2 on 64-bit Ubuntu 8.04) > > I get mostly garbage: > http://imagebin.org/21126 > > the other demos work fine, so I'm thinking my opengl hardware/drivers > are ok. > > googling around it seems that this may be a problem with numpy on 64-bit > machines? When trying to use the faces object I get the error message > quoted below. > > anyone else seeing this too? any suggestions? > > regards, > > AW > ------------- > Traceback (most recent call last): > File "faces_cone.py", line 22, in <module> > model.pos[1::3, 0] = visual.sin(t[1:]) > ValueError: matrices are not aligned for copy > ---------------------- > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Anders W. <and...@gm...> - 2008-06-17 17:37:17
|
> With visual-3.2.9 you're using the older Numeric, not the newer numpy. It > does seem plausible that there could be some problems with Numeric in a > 64-bit environment, since it was developed and debugged long before 64-bit > computers were generally available. I don't know what would have to be > changed to get around this problem (and I myself don't have access to a > 64-bit machine). > It might be interesting to see what happens with the beta version of > Visual, since it is based on numpy. Yes! I downloaded visual-4.beta26 and installed all the dependencies that ./configure insisted on (including numpy), then installed with 'sudo make install', and now all the demos work fine. related to version numbers, what does this number mean? >>> visual.__version__ '1.0.4' Anders |
From: Bruce S. <Bru...@nc...> - 2008-06-17 23:03:32
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I can't find where this comes from in the code, after searching everywhere for "version". If you instead invoke visual.version you'll get (4, beta26).<br> <br> Bruce Sherwood<br> <br> Anders Wallin wrote: <blockquote cite="mid:5ce...@ma..." type="cite"> <div class="gmail_quote"><br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">With visual-3.2.9 you're using the older Numeric, not the newer numpy. It does seem plausible that there could be some problems with Numeric in a 64-bit environment, since it was developed and debugged long before 64-bit computers were generally available. I don't know what would have to be changed to get around this problem (and I myself don't have access to a 64-bit machine).<br> It might be interesting to see what happens with the beta version of Visual, since it is based on numpy.</blockquote> <div><br> Yes! I downloaded visual-4.beta26 and installed all the dependencies that ./configure insisted on (including numpy), then installed with 'sudo make install', and now all the demos work fine.<br> <br> related to version numbers, what does this number mean?<br> >>> visual.__version__<br> '1.0.4'<br> <br> <br> Anders<br> </div> </div> <br> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. <a class="moz-txt-link-freetext" href="http://sourceforge.net/services/buy/index.php">http://sourceforge.net/services/buy/index.php</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Visualpython-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a> </pre> </blockquote> </body> </html> |