Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #545 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

nosetest errors in test_identity on mac os x

Reported by: alberto Owned by: anonymous
Priority: lowest Milestone: 0.9
Component: TurboGears Version:
Severity: minor Keywords:
Cc:

Description

Errors, not failures. Like these:

======================================================================
ERROR: Test that we have secured an url from anonymous users.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/alberto/src/turbogears/turbogears/identity/tests/test_identity.py
", line 75, in setUp
    testutil.create_request('/')
  File "/Users/alberto/src/turbogears/turbogears/testutil.py", line 30, in creat
e_request
    startup.startTurboGears()
  File "/Users/alberto/src/turbogears/turbogears/startup.py", line 175, in start
TurboGears
    ext.start_extension()
  File "/Users/alberto/src/turbogears/turbogears/visit.py", line 35, in start_ex
tension
    create_extension_model()
  File "/Users/alberto/src/turbogears/turbogears/visit.py", line 59, in create_e
xtension_model
    TG_Visit.createTable(ifNotExists=True)
  File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/main.py", l
ine 1322, in createTable
    conn.createTable(cls)
  File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/dbconnectio
n.py", line 523, in createTable
    self.query(self.createTableSQL(soClass))
  File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/dbconnectio
n.py", line 746, in query
    return self._dbConnection._query(self._connection, s)
  File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/dbconnectio
n.py", line 301, in _query
    self._executeRetry(conn, conn.cursor(), s)
  File "/Users/alberto/src/turbogears/thirdparty/sqlobject/sqlobject/dbconnectio
n.py", line 296, in _executeRetry
    return cursor.execute(query)
OperationalError: table tg_visit already exists
-------------------- >> begin captured stdout << ---------------------
2006-02-09 22:18:59,956 turbogears.visit INFO Visit Tracking starting

--------------------- >> end captured stdout << ----------------------

I get 5 of them

I'm sure it's something wrong with my config or something trivial to fix, but I can't find it. Just annoys me. Works fine in Ubuntu though.

Change History

comment:1 Changed 13 years ago by alberto

  • Status changed from new to closed
  • Resolution set to fixed

This is working now...

Note: See TracTickets for help on using tickets.