Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Hangs on insert when using RealDictCursor

#116

Submitted by: Jeff Shanab

Traceback (most recent call last):
  File "C:\Program Files (x86)\MVSArchiveServerD_x86-1.2.15\scripts\InstallDb.py", line 504, in <module>
    installer.checkSchemaVersion()
  File "C:\Program Files (x86)\MVSArchiveServerD_x86-1.2.15\scripts\InstallDb.py", line 319, in checkSchemaVersion
    updater.go(self)
  File "DbUpdates\1.2.13_1.2.15\DbUpdate.py", line 324, in go
    rowConverter.Upsert(destination)
  File "DbUpdates\1.2.13_1.2.15\DbUpdate.py", line 144, in Upsert
    dstCursor.execute(command, self.dstdict)
  File "C:\Python27\lib\site-packages\psycopg2\extras.py", line 222, in execute
    return _cursor.execute(self, query, vars)
KeyboardInterrupt

I have to stop it. 1 core of the CPU is maxed on python. I switched a working DictCursor to RealDictCursor so i could modify the columns during an upgrade

Reported by Psycopg website · July 20th, 2012 @ 09:04 PM

State: hold
Milestone: none
Assigned to: nobody

Activity

  1. Daniele Varrazzo
    Daniele Varrazzo

    Does it hang forever or just takes longer to complete?

    Can you provide a self-contained test case for the problem?

    Thank you.

    July 20th, 2012 @ 10:29 PM

  2. Daniele Varrazzo
    Daniele Varrazzo
    • State changed from new to hold

    I'm putting this bug on hold: I haven't got enough info to fix it. Please provide a test case if you care.

    August 14th, 2012 @ 09:21 PM