logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Problem viewing SQLite database

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related
View previous topic :: View next topic  
Author Message
Primogenitor



Joined: 08 Jan 2005
Posts: 88

PostPosted: Wed Feb 02, 2005 12:23    Post subject: Problem viewing SQLite database Reply with quote

Im trying to use the SQLiteCC to view the database that NWNX has created, however it seems to crash SQLiteCC every time though NWNX has no problems with the database.

Here is a typical log from the ODBC plug in, this is the only data that is in the database:
Code:
NWNX ODBC2 plugin V.0.9.2.3
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org

o Logfile maximum size limit is: 524288 bytes
o Log level: Everything will be logged.
o Using SQLite connection.
o Hooking SCO....hooked at 5c4320
o Hooking RCO....hooked at 5c4200
o Connect successful.
o Got request: SELECT areaid FROM grid WHERE xaxis = 500 AND yaxis = 500 AND zaxis = 500 AND aaxis = 500 AND baxis = 500 AND caxis = 500
o Sent response (3 bytes): 998
o Got request: CREATE TABLE grid (areaid varchar(255),xaxis varchar(255),yaxis varchar(255),zaxis varchar(255),aaxis varchar(255),baxis varchar(255),caxis varchar(255))
! SQL Error: SQL error: table grid already exists
o Got request: CREATE TABLE arealists (areaid varchar(255),n varchar(255),s varchar(255),e varchar(255),w varchar(255),u varchar(255),d varchar(255),ap varchar(255),an varchar(255),bp varchar(255),bn varchar(255),cp varchar(255),cn varchar(255))
! SQL Error: SQL error: table arealists already exists
o Got request: INSERT INTO arealists VALUES (1, 0003, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000)
o Got request: INSERT INTO arealists VALUES (2, 0000, 0000, 0000, 0001, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000)
o Got request: INSERT INTO arealists VALUES (3, 0000, 0000, 0001, 0001, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000)
o Got request: INSERT INTO arealists VALUES (4, 0003, 0000, 0000, 0001, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000)
o Got request: INSERT INTO arealists VALUES (5, 0000, 0000, 0000, 0003, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000)
o Got request: INSERT INTO arealists VALUES (6, 0003, 0000, 0000, 0003, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000)

...snip.....

o Got request: INSERT INTO arealists VALUES (945, 0005, 0013, 0013, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000)
o Got request: INSERT INTO arealists VALUES (946, 0005, 0013, 0013, 0011, 0000, 0099, 0000, 0000, 0000, 0000, 0000, 0000)
o Got request: SELECT areaid FROM grid WHERE xaxis = 500 AND yaxis = 500 AND zaxis = 499 AND aaxis = 500 AND baxis = 500 AND caxis = 500
o Sent response (0 bytes):
o Got request: SELECT areaid FROM grid WHERE xaxis = 500 AND yaxis = 500 AND zaxis = 499 AND aaxis = 500 AND baxis = 500 AND caxis = 500
o Sent response (0 bytes):
o Disconnecting from database.
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Wed Feb 02, 2005 15:33    Post subject: Reply with quote

Did you fetch the version for SQLite 3 ?
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Primogenitor



Joined: 08 Jan 2005
Posts: 88

PostPosted: Wed Feb 02, 2005 15:58    Post subject: Reply with quote

There was only one version avliable, last built in august 2004, from http://bobmanc.home.comcast.net/sqlitecc.html The link from the nwnx_odbc2.html file ( http://home.student.uu.se/frax0795/ ) appears to be down at the moment. so I cant try that version.

I also tried the one at http://sqlitebrowser.sourceforge.net without any luck either, but that one does say v2.0 not v3.0 so its not a suprise.

EDIT: Also tried http://www.eztools-software.com/sqliteplus.htm without any luck either, but again doesnt say if its v2 or v3 of SQLite compatible.

EDIT2: Litequery from http://republika.pl/roed/ is v2 only as well.

EDIT3: SQLite Analyzer from http://www.kraslabs.com/sqlite_analyzer.html also doesnt appear to work, and says SQLite 2.7 or higher.

Anyone had any sucess with anything?
Back to top
View user's profile Send private message
Dazzle



Joined: 29 Dec 2004
Posts: 19

PostPosted: Wed Feb 02, 2005 16:19    Post subject: Reply with quote

Oink.

SQLiteCC fort SQLite3.

http://members.home.nl/t.m.brandts/

If you happen to need msvcp71.dll or msvcr71.dll, they're up there too. Just place them in your windows/system folder.
Back to top
View user's profile Send private message
Primogenitor



Joined: 08 Jan 2005
Posts: 88

PostPosted: Wed Feb 02, 2005 16:26    Post subject: Reply with quote

Excellent! Thank you Dazzle, that works perfectly. Now I can actually see what my data is Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group