python sqlite crash

I’m getting a segfault crash when running Nuke and activating some logging. It looks like a conflict between Nuke’s python and the default python version being called for the sqlite portion. Forgive my newness to Nuke (never used, first attempt at debugging). I’ve distilled it down to the sqlite portion which when run should crash nuke:

import sqlite3
import datetime

database_file = ‘/tmp/sqlite_%s.sqlite’ % datetime.datetime.now()
database_connection = sqlite3.connect(database_file)
database_connection.execute(‘create table t1 (t1key INTEGER PRIMARY KEY);’)

The SQL I’m executing is for the sake of the crash. Any thoughts or previous experience would be greatly appreciated!

No Responses to “python sqlite crash”

Post a Comment