Edgewall Software

Opened 4 years ago

Last modified 4 years ago

#13240 closed defect

AppVeyor: 13 errors due to TracError: Cannot load Python bindings for SQLite — at Version 1

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Milestone: 1.0.20
Component: general Version:
Severity: normal Keywords: appveyor
Cc: Branch:
Release Notes:

Fixed failures to load Python bindings for SQLite on Miniconda Python in AppVeyor.

API Changes:
Internal Changes:

Description

https://ci.appveyor.com/project/edgewall-org/trac/builds/29943185

======================================================================
ERROR: test_abs_href (trac.tests.env.EnvironmentTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\trac\trac\tests\env.py", line 61, in setUp
    self.env = Environment(env_path, create=True)
  File "C:\projects\trac\trac\core.py", line 124, in __call__
    self.__init__(*args, **kwargs)
  File "C:\projects\trac\trac\env.py", line 289, in __init__
    self.create(options)
  File "C:\projects\trac\trac\env.py", line 612, in create
    DatabaseManager(self).init_db()
  File "C:\projects\trac\trac\db\api.py", line 250, in init_db
    connector, args = self.get_connector()
  File "C:\projects\trac\trac\db\api.py", line 339, in get_connector
    raise TracError(connector.error)
TracError: Cannot load Python bindings for SQLite
...
Ran 1915 tests in 559.667s
FAILED (errors=13)
make: *** [Makefile:445: unit-test] Error 1

Change History (1)

comment:1 by Jun Omae, 4 years ago

Owner: set to Jun Omae
Release Notes: modified (diff)
Status: newassigned

Proposed changes in [6a274bf31/jomae.git] (jomae.git@t13240).

The issue is solved by adding $miniconda/Library/bin to PATH. I guess that location of sqlite3.dll has been changed since recent miniconda package.

Build results: https://ci.appveyor.com/project/jun66j5/trac/builds/29991176

Last edited 4 years ago by Jun Omae (previous) (diff)
Note: See TracTickets for help on using tickets.