Skip to content

Instantly share code, notes, and snippets.

@aelmahmoudy
Created December 10, 2013 08:37
Show Gist options
  • Save aelmahmoudy/7887422 to your computer and use it in GitHub Desktop.
Save aelmahmoudy/7887422 to your computer and use it in GitHub Desktop.
Output with debug stubs
MODE 0.6
mdb-schema: invalid option -- 'S'
MODE 0.7
create table [main]
(
[bkid] ineteger,
[bk] text ,
[betaka] text ,
[inf] text ,
[auth] text ,
[authinf] text ,
[tafseernam] text ,
[islamshort] ineteger,
[onum] ineteger,
[over] ineteger,
[seal] text ,
[oauth] ineteger,
[bver] ineteger,
[pdf] ineteger,
[oauthver] ineteger,
[vername] text ,
[cat] text ,
[lng] text ,
[higrid] text ,
[ad] ineteger,
[aseal] text ,
[blnk] text ,
[pdfcs] ineteger,
[shrtcs] ineteger,bkid INTEGER, bk TEXT, shortname TEXT, cat INTEGER, betaka TEXT, inf TEXT, bkord INTEGER DEFAULT -1, authno INTEGER DEFAULT 0, auth TEXT, authinfo TEXT, higrid INTEGER DEFAULT 0, ad INTEGER DEFAULT 0, islamshort INTEGER DEFAULT 0, blnk TEXT
)
Traceback (most recent call last):
File "/home/ant1/Projects/deb/thawab/Thawab/gtkUi.py", line 347, in start
if not sh.toSqlite():
File "/home/ant1/Projects/deb/thawab/Thawab/shamelaUtils.py", line 304, in toSqlite
self.importTable(t, t.lower())
File "/home/ant1/Projects/deb/thawab/Thawab/shamelaUtils.py", line 257, in importTable
self.importTableSchema(Tb, tb, is_tmp, tb_prefix)
File "/home/ant1/Projects/deb/thawab/Thawab/shamelaUtils.py", line 245, in importTableSchema
try: self.c.execute(l)
sqlite3.OperationalError: duplicate column name: bkid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment