From: gary r. <gr...@bi...> - 2004-04-22 00:17:20
|
Hi John and Paul, I changed the 'pass' to a 'continue' and a different problem has revealed itself. Now, in lieu of any plot window, I get a Windows dialog with title 'Windows Visual C++ Runtime Library' and content Runtime Error Program C:\APPS\PYTHON23\PYTHONW.EXE abnormal program termination Clicking the OK then generates a page fault. This seems a bit nasty. When I have time later today, I'll see what happens under Win2000 on my laptop. I should probably try another backend too. Gary *********** REPLY SEPARATOR *********** On 21/04/2004 at 10:04 John Hunter wrote: > >>>>> "gary" == gary ruben <gr...@bi...> writes: > > gary> I just uninstalled the 0.53b release and installed 0.53 > gary> There's still a problem on my Win98 system, but now it seems > gary> related to the new font manager: > > This is a bug (clearly!). I didn't catch it in my tests because it > only arises when you get an OSError on a win32 registry call, which I > never got. I believe Paul lifted this section of the code from > ttfquery. For a quick fix, in the win32InstalledFonts function, try > replacing > > try: > local = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, fontdir) > except OSError: > pass > > with > > try: > local = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, fontdir) > except OSError: > continue > > and let me know how things go. > > Paul, is the continue the correct behavior here? > > Thanks for the report, > JDH ------------------------------------ Gary Ruben gr...@bi... <http://users.bigpond.net.au/gazzar> |