Re: [python-win32] and PyGUI notes - Re: PyGUI blobedit creashes with pywin32-214 but not 212 - traceback - related problems

2010-10-21 Thread Greg Ewing
On 22/10/10 01:47, Robert wrote: But perhaps long time and debugging to get real world usability (Win). One could use the (bugfixed) existing behaviour, plus __getattr__ on the ._win Component member etc for first and hope for platform independent behavior later (some 90%+x auto-translate code).

Re: [python-win32] PyGUI blobedit creashes with pywin32-214 but not 212 - traceback - related problems

2010-10-21 Thread Roger Upole
Greg Ewing wrote: > Roger Upole wrote: > >> You instantiate the MFC view object without a document, but in order >> to actually create a window and do anything useful with it, it needs >> a valid document. > > Are you absolutely sure about that? > > At the MFC level, I can't see anything to stop yo

Re: [python-win32] PyGUI blobedit creashes with pywin32-214 but not 212 - traceback - related problems

2010-10-21 Thread Greg Ewing
Roger Upole wrote: You instantiate the MFC view object without a document, but in order to actually create a window and do anything useful with it, it needs a valid document. Are you absolutely sure about that? At the MFC level, I can't see anything to stop you from instantiating a CView and

Re: [python-win32] PyGUI blobedit creashes with pywin32-214 but not 212 - traceback - related problems

2010-10-21 Thread Greg Ewing
Roger Upole wrote: The resource is actually in win32ui.pyd, rather than in Pythonwin itself. I've just verified that this method works from plain python.exe. That's great news! I thought I had already tried something very much like what you suggested, but maybe I hadn't hit upon the right res

Re: [python-win32] Behavior difference between Python using PyWin32 and PERL using OLE

2010-10-21 Thread Tim Roberts
White, Daryl (EPC COE) wrote: > > I’m using the ClearCase Automation Library and I’m getting different > behaviors between Python (via the PyWin32 library) and PERL (via the > OLE library). In the examples below, I’m trying to get a list of views > and purposely ensuring that I am not in a director

Re: [python-win32] PyGUI blobedit creashes with pywin32-214 but not 212 - traceback - related problems

2010-10-21 Thread Robert
Roger Upole wrote: "Robert" wrote in message news:i9kmoi$cl...@dough.gmane.org... B) a oneliner with just "import wx" crashes hard with F5 in Pythonwin IDE build 214/py2.6 - but not in build 212 (ntdll.dll) AppName: pythonwin.exe AppVer: 2.6.214.0 ModName: ntdll.dll ModVer: 5.1.2600.3520 O

[python-win32] and PyGUI notes - Re: PyGUI blobedit creashes with pywin32-214 but not 212 - traceback - related problems

2010-10-21 Thread Robert
Roger Upole wrote: "Greg Ewing" wrote in message news:4cbfa5e9.7090...@canterbury.ac.nz... On 21/10/10 14:02, Roger Upole wrote: The problem stems from these 2 lines in ScrollableViews.py: rev = ui.CreateRichEditView() win_dummy_doc = rev.GetDocument() The win32ui framework really should n