Modify

Opened 5 years ago

Closed 16 months ago

#4777 closed defect (invalid)

Unable to use any of the components

Reported by: anonymous Owned by: coderanger
Priority: high Component: DatamoverPlugin
Severity: blocker Keywords:
Cc: jun66j5 Trac Release: 0.10

Description (last modified by rjollos)

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 16 months ago by rjollos

  • Description modified (diff)

comment:2 Changed 16 months ago by rjollos

  • Cc jun66j5 added

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 16 months ago by jun66j5

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 16 months ago by rjollos

  • Resolution set to invalid
  • Status changed from new to closed

Thanks, Jun.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.