Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-261

monitord complains about missing _sqlite

XMLWordPrintable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 3.0
    • Affects Version/s: master
    • Component/s: Build Infrastructure
    • None

      This may be related to the build infrastructure. I've set up my build environment

      cd ~/src/trunk
      export PEGASUS_HOME=`/bin/pwd`; unset CLASSPATH; . setup-devel.sh

      updated to the latest check-out,

      svn update

      and created a binary distribution file

      ant clean dist

      However, something in the run-time python path setup must be wrong, because monitord dies on me:

      Traceback (most recent call last):
      File "/opt/pegasus/default/bin/pegasus-monitord", line 2390, in ?
      workdb = stampede_loader.Analyzer(output_db, perf=db_stats)
      File "/opt/pegasus/default/lib/python/netlogger/analysis/modules/stampede_loader.py", line 56, in _init_
      SQLAlchemyInit._init_(self, connString, initializeToPegasusDB)
      File "/opt/pegasus/default/lib/python/netlogger/analysis/modules/base.py", line 116, in __init_
      self.db = create_engine(connString, echo=self._dbg)
      File "/opt/pegasus/default/lib/python/sqlalchemy/engine/_init_.py", line 244, in create_engine
      return strategy.create(*args, **kwargs)
      File "/opt/pegasus/default/lib/python/sqlalchemy/engine/strategies.py", line 60, in create
      dbapi = dialect_cls.dbapi(**dbapi_args)
      File "/opt/pegasus/default/lib/python/sqlalchemy/dialects/sqlite/pysqlite.py", line 208, in dbapi
      raise e
      ImportError: No module named _sqlite

            Assignee:
            voeckler Jens Voeckler
            Reporter:
            voeckler Jens Voeckler
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: