The version of SQLite you have cannot store Null values #87

Closed
opened 2013-03-30 02:53:13 +01:00 by mazz · 1 comment
mazz commented 2013-03-30 02:53:13 +01:00 (Migrated from github.com)

My issue is very similar to:

https://github.com/Bitmessage/PyBitmessage/issues/8

My system is OS X 10.8.2, Python 2.7.2

I'm getting the same complaint, but my SQLite version is pretty recent:

import sqlite3
sqlite3.sqlite_version
'3.7.12'
sqlite3.version
'2.6.0'
^D

full log of startup below:

[michael@varga (Fri Mar 29 21:39:18) ~/src/git/PyBitmessage]% ./bitmessagemain.py
Creating new config files in /Users/michael/Library/Application support/PyBitmessage/
Adding 66.65.120.151 to knownNodes based on DNS boostrap method
Adding 66.65.120.151 to knownNodes based on DNS boostrap method
Adding 60.242.109.18 to knownNodes based on DNS boostrap method
Adding 60.242.109.18 to knownNodes based on DNS boostrap method
Adding 76.27.132.40 to knownNodes based on DNS boostrap method
Adding 76.27.132.40 to knownNodes based on DNS boostrap method
Adding 84.48.88.49 to knownNodes based on DNS boostrap method
Adding 84.48.88.49 to knownNodes based on DNS boostrap method
reloading keys from keys.dat file
Created messages database file
Problem: The version of SQLite you have cannot store Null values. Please download and install the latest revision of your version of Python (for example, the latest Python 2.7 revision) and try again.
PyBitmessage will now exist very abruptly. You may now see threading errors related to this abrupt exit but the problem you need to solve is related to SQLite.

Exception KeyError: KeyError(4545462272,) in <module 'threading' from '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py'> ignored
[michael@varga (Fri Mar 29 21:41:56) ~/src/git/PyBitmessage]% python
Python 2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import sqlite3
sqlite3.sqlite_version
'3.7.12'
sqlite3.version
'2.6.0'
^D

Any suggestions?

My issue is very similar to: https://github.com/Bitmessage/PyBitmessage/issues/8 My system is OS X 10.8.2, Python 2.7.2 I'm getting the same complaint, but my SQLite version is pretty recent: > > > import sqlite3 > > > sqlite3.sqlite_version > > > '3.7.12' > > > sqlite3.version > > > '2.6.0' > > > ^D full log of startup below: [michael@varga (Fri Mar 29 21:39:18) ~/src/git/PyBitmessage]% ./bitmessagemain.py Creating new config files in /Users/michael/Library/Application support/PyBitmessage/ Adding 66.65.120.151 to knownNodes based on DNS boostrap method Adding 66.65.120.151 to knownNodes based on DNS boostrap method Adding 60.242.109.18 to knownNodes based on DNS boostrap method Adding 60.242.109.18 to knownNodes based on DNS boostrap method Adding 76.27.132.40 to knownNodes based on DNS boostrap method Adding 76.27.132.40 to knownNodes based on DNS boostrap method Adding 84.48.88.49 to knownNodes based on DNS boostrap method Adding 84.48.88.49 to knownNodes based on DNS boostrap method reloading keys from keys.dat file Created messages database file Problem: The version of SQLite you have cannot store Null values. Please download and install the latest revision of your version of Python (for example, the latest Python 2.7 revision) and try again. PyBitmessage will now exist very abruptly. You may now see threading errors related to this abrupt exit but the problem you need to solve is related to SQLite. Exception KeyError: KeyError(4545462272,) in <module 'threading' from '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py'> ignored [michael@varga (Fri Mar 29 21:41:56) ~/src/git/PyBitmessage]% python Python 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. > > > import sqlite3 > > > sqlite3.sqlite_version > > > '3.7.12' > > > sqlite3.version > > > '2.6.0' > > > ^D Any suggestions?
mazz commented 2013-03-30 04:35:20 +01:00 (Migrated from github.com)

I see the solution is to upgrade to Python 2.7.3

I see the solution is to upgrade to Python 2.7.3
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-12-15#87
No description provided.