Re: psycopg2 and Python 2.6a1
"James Henstridge" <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 06/03/2008, Patrick Hartling <[email protected]> wrote: > On Mar 4, 2008, at 11:16 PM, James Henstridge wrote: > > > On 05/03/2008, Patrick Hartling <[email protected]> wrote: > >> OK, I will try out the test suite. Thanks for the pointers on how to > >> use it. I did try running some psycopg2 example applications and got > >> similar crashes, but I did not look at those stack traces in detail. > > > > Okay, I'll wait for more details from you. > > > > As another data point, I compiled Python 2.6a1 on my desktop > > (Linux/amd64), and the psycopg2 test suite runs without problem. So > > we are most likely seeing either a Windows-only problem or a > > misconfiguration on your computer. > > > > I'd prefer that it be misconfiguration because it would probably be > easier to fix. I cannot think of what would be out of whack, though. > Things are great with Python 2.5. It is definitely encouraging to know > that psycopg2 works fine with Python 2.6a1 on Linux. > > I have attached the stack trace that I get from running the test > suite. It looks quite similar to what I saw when testing my > application, but I have not done a side-by-side comparison. I am > starting to wonder if the debug symbols are not showing up because > Visual Studio debugger does not know to load _psycopg.pyd. The output > tab does not show that among the loaded DLLs. Okay. That stack trace does not provide much more detail unfortunately :( One thing you could do is try setting the PSYCOPG_DEBUG environment variable to 1, which will turn on a lot of debugging output, which might help indicate where the crash is occurring. James.