Hello, and thank you for your response.
Following your suggestion(s) resulted in the following:

Python 2.4.3 (#2, May  5 2006, 01:54:14) [GCC 3.4.2 [FreeBSD] 20040728]
on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
import pysqlite2.dbapi2 as sqlite
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "/usr/local/lib/python2.4/site-packages/pysqlite2/dbapi2.py",
line 32, in ?
   from pysqlite2._sqlite import *
ImportError:
/usr/local/lib/python2.4/site-packages/pysqlite2/_sqlite.so: Undefined
symbol "PyGILSt
ate_Ensure"


Any thoughts?

Thanks again for your reply.

Quoting Jeroen Ruigrok/asmodai <[EMAIL PROTECTED]>:

[moving to users]

-On [20060607 21:41], [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
Quoting Jeroen Ruigrok/asmodai <[EMAIL PROTECTED]>:
-On [20060607 20:35], [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
The version of FreeBSD on this server is 5.4 (ports were cvsupped yesterday)
The required_by version of python sqlite is: py24-pysqlite-2.2.2
which is installed. Reading the docs on sqlite seems to indicate that the
call to sqlite should be sqlite3 *not* sqlite, as Trac seems to think.

Which is not the case.

Since trac imports pysqlite2.dbapi2 as sqlite, as I've laid out in my
previous
email. This is a feature of Python.

As there is _no_ sqlite command available anywhere on the system. I'm
thinking that: cd /usr/local/bin; ln -s sqlite3 sqlite; might solve
Trac's inability to know that the command sqlite doesn't exist. If this
solves the problem, I'll report back. So as to inform the maintainer here
to fix this asap; else be flooded with questions regarding this oversight.

This is not going to help since it is talking about the sqlite python module,
not a command line tool.

See /usr/local/lib/python2.4/site-packages/ and check if there's a pysqlite2
sub directory available.

No, I have py24-pysqlite-2.2.2 registered, as this is what the Trac port
indicates it needs. Also, I also had Python 2.4.3 installed and in use
prior to ever even looking at the Trac port. Is my version of Python too
new/ advanced for Trac?

Not at all.

[command line import]

I'll check your suggestion out prior to ln -s sqlite3 sqlite.

The symbolic link will accomplish nothing.

Thanks for the tip. If your suggestion checks out; why didn't this
occur during the installation?

My tip is merely a quick test to see if your normal Python setup can find
sqlite2.

I am thinking something in your environment might be messing with things and
something like that might not influence installation at all.

--
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/
Only in sleep can one find salvation that resembles Death...




-----------------------------------------------------------------
FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006
/////////////////////////////////////////////////////////////////

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to