building problem

Asked by lanig

Hello,

First, thanks a lot for this very nice piece of software. I tried to build it to add a range spinbox to the search widget but it failed though I do have libqt4-sql installed :

scons release=yes
scons: Reading SConscript files ...
ImportError: No module named QtSql:
  File "/home/alain/deb/tagainijisho-0.1.1/SConstruct", line 61:
    jisho = SConscript(['src/SConscript'], exports = ['QtEnv', 'SqlLibEnv', 'QtModules', 'version', 'jishoQm', 'jishoResources'])
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 596:
    return apply(method, args, kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 533:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 256:
    exec _file_ in call_stack[-1].globals
  File "/home/alain/deb/tagainijisho-0.1.1/src/SConscript", line 31:
    jmdictSources, jmdictDB = SConscript(['jmdict/SConscript'], exports = ['QtEnv', 'sqliteDriver'])
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 596:
    return apply(method, args, kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 533:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 256:
    exec _file_ in call_stack[-1].globals
  File "/home/alain/deb/tagainijisho-0.1.1/src/jmdict/SConscript", line 19:
    import createjmdictdb
  File "/home/alain/deb/tagainijisho-0.1.1/src/jmdict/createjmdictdb.py", line 24:
    from PyQt4.QtSql import *

scons -v
SCons by Steven Knight et al.:
 engine: v0.97.0d20071203.r2509, 2007/12/03 20:20:38, by broonie on mercator
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007 The SCons Foundation

Cordialement,

Alain

Question information

Language:
English Edit question
Status:
Solved
For:
Tagaini Jisho Edit question
Assignee:
No assignee Edit question
Solved by:
Gnurou
Solved:
Last query:
Last reply:
Revision history for this message
Best Gnurou (gnurou) said :
#1

You also need to install python-qt4-sql (from the package name, I assume you are using Debian or Ubuntu). The Qt4 SQL python wrapper is also needed in order to build the dictionary databases.

Revision history for this message
lanig (alainbe) said :
#2

Thanks Gnurou, that solved my question.

Revision history for this message
lanig (alainbe) said :
#3

BTW, is there a mailing-list for development or should I use launchpad. I would like to add a few features to tagainijisho and would like to discuss them.

Cordialement,

Alan

Revision history for this message
Gnurou (gnurou) said :
#4

There is no mailing-list as of know. If you want to discuss some new feature, I suggest you fill in a blueprint (https://blueprints.launchpad.net/tagaini-jisho) and implement it in your own Bazaar branch (the usual way to do on Launchpad). Once the feature is completed, it will then be merged into the trunk.