Edgewall Software

Opened 12 years ago

Closed 12 years ago

#8762 closed defect (duplicate)

trac suddenly failing

Reported by: thomas.besand@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.9.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Been using trac for a while now, without any problems. It's running under a virtual FreeBSD machine, which makes it difficult for me to update to the newest version. (http://www.vmware.com/appliances/directory/308) Today this error started to appear. I am not aware of any changes to the system. When choosing 'Browse Source' or 'Timeline' trac fails with the following error message:

svn_time_from_cstring() argument 1 must be string, not None
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/fcgi_frontend.py", line 40, in _handler
    dispatch_request(req.path_info, req, env)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 117, in process_request
    self._render_directory(req, repos, node, rev)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 149, in _render_directory
    changes = get_changes(self.env, repos, [i['rev'] for i in info])
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/util.py", line 31, in get_changes
    changeset = repos.get_changeset(rev)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 42, in get_changeset
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 82, in sync
    changeset = self.repos.get_changeset(current_rev)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 251, in get_changeset
    self.fs_ptr, self.pool)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 453, in __init__
    date = core.svn_time_from_cstring(date, self.pool()) / 1000000
  File "/usr/local/lib/python2.4/site-packages/libsvn/core.py", line 1044, in svn_time_from_cstring
    return apply(_core.svn_time_from_cstring, args)
TypeError: svn_time_from_cstring() argument 1 must be string, not None

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 12 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

See #3854, which luckily for you has a patch for 0.9.x ;-)

(That issue should have been fixed in 0.9.7 but that version was never released, as 0.10 was already quite stable at that time)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.