Opened 8 years ago

Closed 4 years 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/", line 406, in dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", 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/", line 119, in process_request
  File "build/bdist.linux-ppc/egg/datamover/", line 23, in process_admin_request
  File "build/bdist.linux-ppc/egg/datamover/", line 32, in all_environments
  File "/usr/lib/python2.4/site-packages/trac/web/", line 58, in _open_environment
    env_cache[env_path] = open_environment(env_path)
  File "/usr/lib/python2.4/site-packages/trac/", line 462, in open_environment
    env = Environment(env_path)
  File "/usr/lib/python2.4/site-packages/trac/", line 139, in __init__
  File "/usr/lib/python2.4/site-packages/trac/", line 297, in setup_log
  File "/usr/lib/python2.4/site-packages/trac/", line 27, in logger_factory
    hdlr = logging.FileHandler(logfile)
  File "/usr/lib/python2.4/logging/", 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.


Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by rjollos

  • Description modified (diff)

comment:2 Changed 4 years ago by rjollos

  • Cc jun66j5 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 4 years 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 4 years ago by rjollos

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

Thanks, Jun.

Add Comment

Modify Ticket

as closed The owner will remain coderanger.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.