[gpodder-devel] Where to find sqlite3 package?

Try replacing this:

  from sqlite3 import dbapi2 as sqlite

with this:

  from pysqlite2 import dbapi2 as sqlite

Please report if this works.

On 6/25/08, Wilfred van Rooijen <wvanrooijen at yahoo.com> wrote:
> Hi all,
>
>  OK, so I've updated to the latest version of gPodder
>  and applied the sqlite patch as Thomas suggested. Now
>  I get:
>
>  rooijen at love206a-rooijen ~/gpodder $ bin/gpodder
>  --local --verbose
>  [   2.976] Detected encoding: UTF-8
>  Traceback (most recent call last):
>   File "bin/gpodder", line 166, in ?
>     sys.exit( main())
>   File "bin/gpodder", line 125, in main
>     from gpodder import console
>   File "/home/rooijen/gpodder/src/gpodder/console.py",
>  line 21, in ?
>     from gpodder import download
>   File
>  "/home/rooijen/gpodder/src/gpodder/download.py", line
>  29, in ?
>     from gpodder.libgpodder import gl
>   File
>  "/home/rooijen/gpodder/src/gpodder/libgpodder.py",
>  line 39, in ?
>     from gpodder.dbsqlite import db
>   File
>  "/home/rooijen/gpodder/src/gpodder/dbsqlite.py", line
>  22, in ?
>     from sqlite3 import dbapi2 as sqlite
>  ImportError: No module named sqlite3
>  make: *** [test] Error 1
>
>  I use gentoo linux, Python 2.4.4 (#1, Mar  4 2008,
>  15:55:08) [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2,
>  and I've installed the pysqlite package:
>
>  rooijen at love206a-rooijen ~/gpodder $ locate pysqlite
>  /usr/lib/python2.4/site-packages/pysqlite2
>  /usr/lib/python2.4/site-packages/pysqlite2/dbapi2.py
>  /usr/lib/python2.4/site-packages/pysqlite2/_sqlite.so
>  /usr/lib/python2.4/site-packages/pysqlite2/__init__.pyc
>  /usr/lib/python2.4/site-packages/pysqlite2/__init__.pyo
>  /usr/lib/python2.4/site-packages/pysqlite2/__init__.py
>  /usr/lib/python2.4/site-packages/pysqlite2/dbapi2.pyc
>  /usr/lib/python2.4/site-packages/pysqlite2/dbapi2.pyo
>
>  Am I missing something else to run gpodder with the
>  sqlite patch?
>
>  Regards,
>  Wilfred
>
>
>
>  _______________________________________________
>  gpodder-devel mailing list
>  gpodder-devel at lists.berlios.de
>  https://lists.berlios.de/mailman/listinfo/gpodder-devel
>


-- 
hex, out.


Other related posts: