Edgewall Software

Opened 11 years ago

Closed 11 years ago

#8918 closed defect (invalid)

MissingSectionHeaderError: File contains no section headers. file: /etc/apache2/dav_svn.passwd, line: 1 'admin:$apr1$YpUK8IZU$y9uYohcvV5UBiq50lOci8.\n'

Reported by: kishore.yanna@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

While doing a GET operation on /admin/accounts/users, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'cat_id': u'accounts', 'panel_id': u'users', 'path_info': None}

User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5

System Information

Trac 0.11.5
Python 2.6.4 (r264:75706, Dec 7 2009, 19:02:09)
[GCC 4.4.1]
setuptools 0.6c9
SQLite 3.6.16
pysqlite 2.4.1
Genshi 0.5.1
mod_python 3.3.1
Pygments 1.1.1
Subversion 1.6.5 (r38866)
jQuery: 1.3.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 444, in _dispatch_request
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/dist-packages/trac/admin/web_ui.py", line 114, in process_request
  File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 117, in render_admin_panel
    return self._do_users(req)
  File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 233, in _do_users
    for username in self.account_manager.get_users():
  File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 108, in get_users
  File "build/bdist.linux-i686/egg/acct_mgr/svnserve.py", line 52, in get_users
    return [user for (user,password) in self._config.options('users')]
  File "build/bdist.linux-i686/egg/acct_mgr/svnserve.py", line 43, in _config
    self._userconf = Configuration(filename)
  File "/usr/lib/python2.6/dist-packages/trac/config.py", line 51, in __init__
  File "/usr/lib/python2.6/dist-packages/trac/config.py", line 230, in parse_if_needed
  File "/usr/lib/python2.6/ConfigParser.py", line 286, in read
    self._read(fp, filename)
  File "/usr/lib/python2.6/ConfigParser.py", line 482, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /etc/apache2/dav_svn.passwd, line: 1

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 11 years ago

Resolution: invalid
Status: newclosed

This is an InstallationIssue with th:AccountManagerPlugin. See there for configuration information.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.