Modify

Opened 16 years ago

Closed 12 years ago

#4777 closed defect (invalid)

Unable to use any of the components

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: high Component: DatamoverPlugin
Severity: blocker Keywords:
Cc: Jun Omae Trac Release: 0.10

Description (last modified by Ryan J Ollos)

After installing the plug-in and logging into the admin interface, when I attempt to click on Tickets or Reports or any of the Data Mover options I get the following error:

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev-py2.4.egg/webadmin/web_ui.py", line 119, in process_request
    path_info)
  File "build/bdist.linux-ppc/egg/datamover/ticket.py", line 23, in process_admin_request
  File "build/bdist.linux-ppc/egg/datamover/api.py", line 32, in all_environments
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 58, in _open_environment
    env_cache[env_path] = open_environment(env_path)
  File "/usr/lib/python2.4/site-packages/trac/env.py", line 462, in open_environment
    env = Environment(env_path)
  File "/usr/lib/python2.4/site-packages/trac/env.py", line 139, in __init__
    self.setup_log()
  File "/usr/lib/python2.4/site-packages/trac/env.py", line 297, in setup_log
    format=format)
  File "/usr/lib/python2.4/site-packages/trac/log.py", line 27, in logger_factory
    hdlr = logging.FileHandler(logfile)
  File "/usr/lib/python2.4/logging/__init__.py", line 757, in __init__
    stream = open(filename, mode)
IOError: [Errno 13] Permission denied: u'trac.log'

I must be overlooking a configuration somewhere but can't find it. If anyone has any insight I would very much appreciate any and all help.

Thanks.

Attachments (0)

Change History (4)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 12 years ago by Ryan J Ollos

Cc: Jun Omae added; anonymous removed

jun66j5: I was just wondering if you've taken a look at the DatamoverPlugin. It looks like your TracMigratePlugin could supercede this one. We could mark this was as deprecated since it is no longer maintained, and direct users to your plugin.

comment:3 Changed 12 years ago by Jun Omae

Yes, the DatamoverPlugin is deprecated. However, it could move partially data to another one. TracMigratePlugin may be used to copy the entire of a Trac environment to new one.

That aside, it seems that this issue is just an installation issue and the destination Trac environment has been created with other than apache (or www-data, etc...).

$ chown -R <web-server-uid> /path/to/trac/parent/dir

comment:4 Changed 12 years ago by Ryan J Ollos

Resolution: invalid
Status: newclosed

Thanks, Jun.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.