From: Bruce S. <Bru...@nc...> - 2010-04-05 13:00:13
|
Sorry, I don't have any good ideas. I think the research group somewhat accidentally stumbled on the answer to their question. I guess a possible area of concern is anything having to do with the graphics driver, or OpenGL. It's probably diagnostic of something that you have these problems with both Python 2.5 and 2.6, since one would expect differences. Bruce Sherwood On 4/5/2010 8:56 AM, Davidmh wrote: > First: I have had the same problem with the new version. Plus, I need > some libraries that are only available to 2.5. > > Respect to the installing, no, I haven't installed anything in both > computers recently. But, rethinking in it, it may be caused by an > update of any program. Do you have any ideas of how could I trace it? > Do you know how they knew what was the problem? > > > > On Mon, Apr 5, 2010 at 2:50 PM, Bruce Sherwood<Bru...@nc...> wrote: > >> This is not familiar. The only prior case I know of that seems a bit >> similar is that a group using VPython for research visualization had >> strange failures until they discovered that the problems were somehow >> caused by their having installed a particular video program, completely >> unrelated to Python. Do you recall recently installing a new program on >> each of your computers? >> >> Although I know of no reason why it should matter, you might upgrade to >> Python 2.6 and VPython 5.31. >> >> Bruce Sherwood >> >> On 4/5/2010 3:40 AM, Davidmh wrote: >> >>> Hello. >>> >>> Recently, when I tried to execute a working program depending on >>> VPython, it raised an error importing the library. That was not fixed >>> reinstalling the whole Python interpreter and libraries. >>> >>> It happened suddenly in my fixed computer, I cannot relate it to any >>> change in it, but in my laptop was still operative. Some weeks later, >>> I run a trivial program (just creating the scene and plotting an >>> sphere) in my laptop, worked; I ran it again just before and there was >>> the error I could not get rid of. >>> >>> >>> I use Python 2.5.4 and VPython 5.11 over WXP, Professional (fixed) and >>> Home (laptop), both with antivirus NOD32 4.0, and the error are: >>> >>> The first time I run the program in the Python IDLE: >>> >>> >>> >>>>>> import visual >>>>>> >>>>>> >>> Traceback (most recent call last): >>> File "<pyshell#0>", line 1, in<module> >>> import visual >>> File "F:\Archivos de >>> programa\Clasificados\Programación\Python\2.5\lib\site-packages\visual\__init__.py", >>> line 83, in<module> >>> cvisual._set_dataroot( _os_path.split( __file__ )[0] + _os_path.sep) >>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position >>> 47: ordinal not in range(128) >>> >>> >>> And if I try it again, I get: >>> >>> >>> >>>>>> import visual >>>>>> >>>>>> >>> Traceback (most recent call last): >>> File "<pyshell#1>", line 1, in<module> >>> import visual >>> File "F:\Archivos de >>> programa\Clasificados\Programación\Python\2.5\lib\site-packages\visual\__init__.py", >>> line 70, in<module> >>> del ui, crayola, primitives >>> NameError: name 'ui' is not defined >>> >>> >>> Any ideas of what is happening and how to solve it? Thank you very much. >>> >>> Regards. >>> >>> David Menéndez. >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >>> >>> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> |