On Mon, Jun 8, 2015 at 11:06 AM, Ryan Skadberg <[email protected]> wrote:
> I'm trying to build an RPM for 1.0.6.post2 and get this error on the test
> portion:
>
> ======================================================================
>
> FAIL: test_error_with_lazy_translation
> (trac.db.tests.sqlite_test.DatabaseFileTestCase)
>
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
>
> File
> "/root/rpmbuild/BUILD/Trac-1.0.6.post2/trac/db/tests/sqlite_test.py", line
> 95, in test_error_with_lazy_translation
>
> self.fail('ConfigurationError not raised')
>
> AssertionError: ConfigurationError not raised
>
>
> ======================================================================
>
> FAIL: test_no_permissions (trac.db.tests.sqlite_test.DatabaseFileTestCase)
>
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
>
> File
> "/root/rpmbuild/BUILD/Trac-1.0.6.post2/trac/db/tests/sqlite_test.py", line
> 77, in test_no_permissions
>
> self.fail('ConfigurationError not raised')
>
> AssertionError: ConfigurationError not raised
>
>
> ----------------------------------------------------------------------
>
> Ran 1725 tests in 136.370s
>
>
> FAILED (failures=2)
>
> SKIP: functional tests (Twill not installed)
>
>
> -----------------
>
>
> I can build 1.0.4 without issue, so it seems that something changed
> between 1.0.4 and 1.0.6.post2. Anyone have any thoughts?
>
>
> Thanks!
>
> Skadz
>
Those test cases were added in 1.0.6. I'm unsure of why they are failing in
your case though.
http://trac.edgewall.org/ticket/11415
Could you please try the following equivalent manual test case and let us
know your result?
- Create an environment "trac-admin env initenv"
- Delete the trac.db file "rm env/db/trac.db"
- Start tracd: "tracd -s -p 8000 env"
Which version of Python are you running?
- Ryan
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.