[Mailman-Developers] Failed bin/test for mailman 3.0 alpha3

Barry Warsaw barry at python.org
Thu Sep 24 19:41:06 CEST 2009


On Sep 21, 2009, at 2:58 PM, Max Lanfranconi wrote:

> After installing Python 2.6 as required, I  downloaded and installed  
> mailman3.0 a3 on a Solaris 10 server with the following commands:

Hi Max,

> Running mailman.testing.layers.ConfigLayer tests:
>  Set up mailman.testing.layers.MockAndMonkeyLayer in 0.000 seconds.
>  Set up mailman.testing.layers.ConfigLayer Traceback (most recent  
> call last):
>  File "/export/home/bogart/mailman-3.0.0a3/eggs/zope.testing-3.8.3- 
> py2.6.egg/zope/testing/testrunner/runner.py", line 364, in run_layer
>    setup_layer(options, layer, setup_layers)
>  File "/export/home/bogart/mailman-3.0.0a3/eggs/zope.testing-3.8.3- 
> py2.6.egg/zope/testing/testrunner/runner.py", line 629, in setup_layer
>    layer.setUp()
>  File "/export/home/bogart/mailman-3.0.0a3/src/mailman/testing/ 
> layers.py", line 105, in setUp
>    initialize.initialize_2()
>  File "/export/home/bogart/mailman-3.0.0a3/src/mailman/core/ 
> initialize.py", line 104, in initialize_2
>    database.initialize(debug)
>  File "/export/home/bogart/mailman-3.0.0a3/src/mailman/database/ 
> __init__.py", line 70, in initialize
>    self._create(debug)
>  File "/export/home/bogart/mailman-3.0.0a3/src/mailman/database/ 
> __init__.py", line 109, in _create
>    database = create_database(url)
>  File "/export/home/bogart/mailman-3.0.0a3/eggs/storm-0.15-py2.6- 
> solaris-2.10-i86pc.egg/storm/database.py", line 436, in  
> create_database
>    return factory(uri)
>  File "/export/home/bogart/mailman-3.0.0a3/eggs/storm-0.15-py2.6- 
> solaris-2.10-i86pc.egg/storm/databases/sqlite.py", line 176, in  
> __init__
>    raise DatabaseModuleError("'pysqlite2' module not found")
> DatabaseModuleError: 'pysqlite2' module not found

This is really the core problem; the other two are likely cascade  
failures.

My guess is that your Solaris box does not have the sqlite3 library  
installed.  You can test this by firing up Python 2.6 and doing:

 >>> import sqlite3

if that gives you an import error, you'll need to find and install the  
sqlite3 libraries and headers, then re-build Python.

Hope that helps,
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20090924/b24caf83/attachment.pgp>


More information about the Mailman-Developers mailing list