Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7100 closed defect (duplicate)

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

Reported by: nagaraju.mudireddy@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.4
Severity: major Keywords: Installion problem, while integrating with mod python
Cc: nsandeep@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

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 (0)

Change History (3)

comment:1 by anonymous, 16 years ago

Resolution: invalid
Status: newclosed

"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. "

comment:2 by Christian Boos, 16 years ago

Description: modified (diff)
Milestone: 0.10.5
Priority: highestnormal
Resolution: invalid
Status: closedreopened

comment:3 by Christian Boos, 16 years ago

Resolution: duplicate
Status: reopenedclosed

Duplicate of #5827.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.