Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#8210 closed defect (invalid)

MissingSectionHeaderError: File contains no section headers. file: /var/trac/.htpasswd, line: 1 'manas:Oyw8Ian6SOqMU\n'

Reported by: malayamanas@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121911 CentOS/3.0.5-1.el5.centos Firefox/3.0.5

System Information

Trac 0.11.4
Python 2.4.3 (#1, Jan 21 2009, 01:10:13)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]
setuptools 0.6c5
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.5.1
mod_python 3.2.8
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/admin/web_ui.py", line 113, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 117, in render_admin_panel
  File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 233, in _do_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
  File "build/bdist.linux-i686/egg/acct_mgr/svnserve.py", line 43, in _config
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/config.py", line 46, in __init__
    self.parse_if_needed()
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/config.py", line 212, in parse_if_needed
    self.parser.read(self.filename)
  File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
    self._read(fp, filename)
  File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /var/trac/.htpasswd, line: 1
'manas:Oyw8Ian6SOqMU\n'

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 16 years ago

Resolution: invalid
Status: newclosed

It really looks like an InstallationIssue: you're using a .htpasswd file instead of a .ini file…

Anyway, it's related to the th:AccountManagerPlugin, not to Trac.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.