Re: [python-win32] Connecting to Bloomberg

2012-04-23 Thread michel.gba
Hi Tim and all, Thanks for your reply... I thought would be helpful looking at the error code from win32, I got. Basically, I'm getting error in the _init_.py line 85, 95, 108 and 245. See below. I got this error in all programs I try to implement win32com.client module. I'm quite new Python use

Re: [python-win32] Connecting to Bloomberg

2012-04-23 Thread Tim Roberts
michel@derivativepartners.com wrote: > Hi Tim and all, > Thanks for your reply... I thought would be helpful looking at the error code > from win32, I got. > Basically, I'm getting error in the _init_.py line 85, 95, 108 and 245. See > below. > I got this error in all programs I try to implem

[python-win32] Silent crashes in calls to a COM object in Python

2012-04-23 Thread Deniz Pelvan
Hello guys,I am having trouble with the Python interpreter crashing silently (no exceptions or errors thrown) when I make a call to a very CPU-intensive method in my COM/ATL component using Pywin32. The method is an FFT analysis for audio files and hits about 25% CPU on a single core and runs f

Re: [python-win32] Silent crashes in calls to a COM object in Python

2012-04-23 Thread Mark Hammond
Python and pywin32 don't impose any time limits for timeouts and I can't think of what could cause this other than (say) an exception handler in your script that ignores exceptions and terminates the process. Even if Python actually crashed I'd expect Windows to show the "app crashed" dialog.

Re: [python-win32] Silent crashes in calls to a COM object in Python

2012-04-23 Thread Deniz Pelvan
Hello Mark,As I mentioned, I ran my COM interface with another Win32 test app under a MSVC debugger for hours without any problem. I attached a debugger to the Python process but with Python, the script goes all the way to that call, waits about a minute in that call and then without throwing

Re: [python-win32] Silent crashes in calls to a COM object in Python

2012-04-23 Thread Mark Hammond
On 24/04/2012 2:55 PM, Deniz Pelvan wrote: Hello Mark, As I mentioned, I ran my COM interface with another Win32 test app under a MSVC debugger for hours without any problem. I attached a debugger to the Python process but with Python, the script goes all the way to that call, waits about a minut