Edgewall Software

Ticket #7100 (closed defect: duplicate)

Opened 9 months ago

Last modified 9 months ago

problem in integerating trac with mod python(2.5) and apache(2.0)

Reported by: nagaraju.mudireddy@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.4
Severity: major Keywords: Installion problem, while integrating with mod python
Cc: nsandeep@…

Description (last modified by cboos) (diff)

After configuring trac to integrate with apache 2.0 and mod python, i am getting the following error and i an not able to understand how to resolve. So please can any one help me?

This is the error i am getting.

MOD_PYTHON ERROR

ProcessId:      32201
Interpreter:    'main_interpreter'

ServerName:     'localhost.localdomain'
DocumentRoot:   '/var/www/html'

URI:            '/venturia'
Location:       '/venturia'
Directory:      None
Filename:       '/var/www/html/venturia'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'trac.web.modpython_frontend'

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/lib/python2.5/site-packages/trac/web/modpython_frontend.py", line 88, in handler
    gateway.run(dispatch_request)

  File "/usr/lib/python2.5/site-packages/trac/web/wsgi.py", line 87, in run
    response = application(self.environ, self._start_response)

  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 391, in dispatch_request
    env = _open_environment(env_path, run_once=run_once)

  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 58, in _open_environment
    env_cache[env_path] = open_environment(env_path)

  File "/usr/lib/python2.5/site-packages/trac/env.py", line 463, in open_environment
    if env.needs_upgrade():

  File "/usr/lib/python2.5/site-packages/trac/env.py", line 341, in needs_upgrade
    db = self.get_db_cnx()

  File "/usr/lib/python2.5/site-packages/trac/env.py", line 203, in get_db_cnx
    return DatabaseManager(self).get_connection()

  File "/usr/lib/python2.5/site-packages/trac/db/api.py", line 76, in get_connection
    return self._cnx_pool.get_cnx(self.timeout or None)

  File "/usr/lib/python2.5/site-packages/trac/db/pool.py", line 101, in get_cnx
    cnx = self._connector.get_connection(**self._kwargs)

  File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 113, in get_connection
    return SQLiteConnection(path, params)

  File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 160, in __init__
    timeout=timeout)

SystemError: NULL result without error in PyObject_Call

Attachments

Change History

Changed 9 months ago by anonymous

  • status changed from new to closed
  • resolution set to invalid

"Support and installation questions should be asked on the mailing list or IRC channel, not filed as tickets. Also, please check whether the issue you've encountered has been reported before. "

Changed 9 months ago by cboos

  • priority changed from highest to normal
  • status changed from closed to reopened
  • resolution invalid deleted
  • description modified (diff)
  • milestone 0.10.5 deleted

Changed 9 months ago by cboos

  • status changed from reopened to closed
  • resolution set to duplicate

Duplicate of #5827.

Add/Change #7100 (problem in integerating trac with mod python(2.5) and apache(2.0))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.