Opened 17 years ago
Closed 13 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 )
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 13 years ago by
| Description: | modified (diff) | 
|---|
comment:2 Changed 13 years ago by
| Cc: | Jun Omae added; anonymous removed | 
|---|
comment:3 Changed 13 years ago by
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



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.