Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6881 closed defect (invalid)

Trac site anomalies on certain admin saves - 3 errors encountered - Thanks folks

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

Description

#1 * On saving Basic Settings Traceback (most recent call last):

File "/var/lib/python-support/python2.5/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/web_ui.py", line 119, in process_request

path_info)

File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/basics.py", line 36, in process_admin_request

self.config.save()

File "/var/lib/python-support/python2.5/trac/config.py", line 159, in save

fileobj = file(self.filename, 'w')

IOError: [Errno 1] Operation not permitted: '/home/svn/HondaTrac/conf/trac.ini'

* #2 * Making a Component the default Traceback (most recent call last):

File "/var/lib/python-support/python2.5/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/web_ui.py", line 119, in process_request

path_info)

File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/ticket.py", line 87, in process_admin_request

self.config.save()

File "/var/lib/python-support/python2.5/trac/config.py", line 159, in save

fileobj = file(self.filename, 'w')

IOError: [Errno 1] Operation not permitted: '/home/svn/HondaTrac/conf/trac.ini' #3 Changing the default ticket type Python Traceback

Traceback (most recent call last):

File "/var/lib/python-support/python2.5/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/web_ui.py", line 119, in process_request

path_info)

File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev-py2.5.egg/webadmin/ticket.py", line 353, in process_admin_request

self.config.save()

File "/var/lib/python-support/python2.5/trac/config.py", line 159, in save

fileobj = file(self.filename, 'w')

IOError: [Errno 1] Operation not permitted: '/home/svn/HondaTrac/conf/trac.ini'

Attachments (0)

Change History (1)

comment:1 by osimons, 17 years ago

Component: trac-admingeneral
Resolution: invalid
Status: newclosed

This is a permission problem, and not a problem with Trac itself. The user running the web server does not have write permission on the environment trac.ini file.

Fix the permissions, and reopen ticket if this does not solve the issue for you - and, if so please note the Trac version you are using.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.