Edgewall Software
Modify

Opened 11 years ago

Last modified 14 months ago

#11240 new defect

ParsingError: File contains parsing errors: /home/svn/dbtg/mkhayati/conf/authz [line 18]: '[]\n'

Reported by: mkhayati Owned by:
Priority: normal Milestone: next-stable-1.6.x
Component: general Version: 0.11.7
Severity: normal Keywords: verify
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /login, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36

System Information

Trac 0.11.7
Python 2.6.6 (r266:84292, Dec 26 2010, 22:48:11)
[GCC 4.4.5]
setuptools 0.6
psycopg2 2.2.1
Genshi 0.6
mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
Pygments 1.3.1
Subversion 1.6.12 (r955767)
jQuery: 1.4.2

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 176, in dispatch
    chosen_handler)
  File "/usr/lib/python2.6/dist-packages/trac/web/main.py", line 296, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.6/dist-packages/trac/versioncontrol/api.py", line 86, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib/python2.6/dist-packages/trac/versioncontrol/api.py", line 157, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/lib/python2.6/dist-packages/trac/versioncontrol/svn_fs.py", line 296, in get_repository
    authname)
  File "/usr/lib/python2.6/dist-packages/trac/versioncontrol/svn_authz.py", line 47, in SubversionAuthorizer
    return RealSubversionAuthorizer(repos, authname, module_name, authz_file)
  File "/usr/lib/python2.6/dist-packages/trac/versioncontrol/svn_authz.py", line 88, in __init__
    self.conf_authz.read(cfg_file)
  File "/usr/lib/python2.6/ConfigParser.py", line 286, in read
    self._read(fp, filename)
  File "/usr/lib/python2.6/ConfigParser.py", line 510, in _read
    raise e
ParsingError: File contains parsing errors: /home/svn/dbtg/mkhayati/conf/authz
	[line 18]: '[]\n'

Attachments (0)

Change History (6)

comment:1 by Christian Boos, 11 years ago

Keywords: verify added
Milestone: next-minor-0.12.x

This may indeed deserve to be reported as a proper TracError instead of an internal error, as the source of the problem is external to Trac itself.

But maintenance for 0.11.x is closed, so first we have to check if this still happens in 0.12.x.

comment:2 by Ryan J Ollos, 10 years ago

The number of duplicate tickets for this issue had been noted in comment:1:ticket:11135.

comment:3 by Ryan J Ollos, 10 years ago

Milestone: next-minor-0.12.xnext-stable-1.0.x

comment:4 by Ryan J Ollos, 8 years ago

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

comment:5 by Ryan J Ollos, 5 years ago

Milestone: next-stable-1.2.xnext-stable-1.4.x

comment:6 by Ryan J Ollos, 14 months ago

Milestone: next-stable-1.4.xnext-stable-1.6.x

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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