From: Bruce S. <Bru...@nc...> - 2009-02-17 17:05:34
|
A quick somewhat uninformed guess is that it should just be class display(visual.display) but I'm not sure. I'm a bit surprised to see something like visual.ui.display in a user program. Certainly not documented. Bruce Sherwood Poul Riis wrote: > I just tried to rerun an old (rather crazy) project of mine (attached - > I'm sorry that names and comments are in Danish). Even if it used to run > it now gives an error message: > Traceback (most recent call last): > File "C:/Python25/Lib/site-packages/visual/examples/pingpong.py", line > 6, in <module> > from pygeo import * > File "C:\Python25\Lib\site-packages\pygeo\__init__.py", line 3, in > <module> > from pygeo.vpyframe import display > File "C:\Python25\Lib\site-packages\pygeo\vpyframe.py", line 38, in > <module> > class display( visual.ui.display): > AttributeError: 'module' object has no attribute 'ui' > My guess is that there is a compatibility problem with Visual 5 and PyGeo. > Can someone confirm that? > If yes, is there a workaround or shoudl I just reinstall Visual 3? > If no, what else could be the problem? > > And btw, Symion, this file includes a small example of the use of winsound. > > Poul Riis > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > > > ------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |