Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2021 05:29:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253115] www/trac-devel: Fix dependency to SQLite3 support
Message-ID:  <bug-253115-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253115

            Bug ID: 253115
           Summary: www/trac-devel: Fix dependency to SQLite3 support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: samm@FreeBSD.org
          Reporter: nork@ninth-nine.com
          Assignee: samm@FreeBSD.org
             Flags: maintainer-feedback?(samm@FreeBSD.org)

Created attachment 222033
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222033&action=
=3Dedit
add a force dependency on databases/py-sqlite3.

Hi.
In recently www/trac-devel(1.5 and after), it's required SQLite3 module.
So, to fix dependency error even if we don't want a SQLite3 database,
please apply attached a patch.


=3D A error message with trac on uwsgi =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
*** Operational MODE: threaded ***
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/trac/db/sqlite_backend.py", =
line
37, in <module>
    import pysqlite2.dbapi2 as sqlite
ModuleNotFoundError: No module named 'pysqlite2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/trac/web/main.py", line 40, =
in
<module>
    from trac.env import open_environment
  File "/usr/local/lib/python3.7/site-packages/trac/env.py", line 42, in
<module>
    from trac.db.convert import copy_tables
  File "/usr/local/lib/python3.7/site-packages/trac/db/convert.py", line 18=
, in
<module>
    from trac.db import sqlite_backend
  File "/usr/local/lib/python3.7/site-packages/trac/db/sqlite_backend.py", =
line
39, in <module>
    import sqlite3 as sqlite
  File "/usr/local/lib/python3.7/sqlite3/__init__.py", line 23, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/local/lib/python3.7/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
unable to load app 0 (mountpoint=3D'') (callable not found or import error)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253115-7788>