Edgewall Software
Modify

Ticket #6143 (closed defect: cantfix)

Opened 4 years ago

Last modified 17 months ago

Error on browsing Plone collective

Reported by: enzo.cesanelli@… Owned by: cboos
Priority: normal Milestone:
Component: version control Version: 0.10.4
Severity: normal Keywords: svnauthz needinfo
Cc:
Release Notes:
API Changes:

Description (last modified by cboos) (diff)

If you try to browse the collective sorted by reversed date order on:
http://dev.plone.org/collective/browser/?order=date&desc=1

This error is generated:

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 143, 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 189, in _render_directory
    info = sorted(info, key=browse_order, reverse=desc)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 188, in browse_order
    return a['is_dir'] and dir_order or 0, file_order(a)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 176, in file_order
    return changes[a['rev']]['date_seconds']
KeyError: 'date_seconds' 

Attachments

Change History

comment:1 Changed 4 years ago by cboos

  • Component changed from general to version control
  • Description modified (diff)
  • Milestone changed from not applicable to 0.10.5
  • Owner changed from jonas to cboos

Another symptom of the changeset info being used but not provided (probably due to a permission check).

Note: see get_changes in trac/versioncontrol/web_ui/util.py.

comment:2 Changed 4 years ago by cboos

  • Milestone 0.10.5 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Actually this is problem that can be located to http://dev.plone.org/collective/browser/root/EasyShop/branches/diefenbach-3.0
and the fact that there's a missing changeset [51954].

Probably consecutive to another occurrence of the issue #5440.

comment:3 follow-up: Changed 4 years ago by enzo.cesanelli@…

I've noted the issue to Kai, the mantainer of EasyShop?. He fixed it and now the Plone Collective by date works again!

comment:4 in reply to: ↑ 3 Changed 4 years ago by cboos

Replying to enzo.cesanelli@gmail.com:

I've noted the issue to Kai, the mantainer of EasyShop?. He fixed it ...

I'm curious how. Did something had to be done at the SVN level or was it only a matter of doing the resync (full or for that revision only)?

comment:5 Changed 3 years ago by enzo.cesanelli@…

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Same issue, again... :(
Does not exist any way to prevent it?
Thanks,

Enzo

comment:6 Changed 3 years ago by cboos

This time it's PloneServicesCenter/trunk/i18n and r74514 which didn't "sync".
As usual, no idea why...

Is that changeset "normal" at the svn level?
i.e. does a svn log --xml --verbose -r74514 work? (what's the svn URL by the way?)

comment:7 Changed 3 years ago by cboos

  • Keywords svnauthz added
  • Milestone set to 0.11.4
  • Priority changed from high to normal

Looks like some changesets are available through the command line, some others not. Those which create problems in Trac are not, but some which are not available publicly are nevertheless reachable in Trac. Is there some svn_authz issue going on here?

comment:8 Changed 2 years ago by rblank

  • Keywords needinfo added

comment:9 Changed 17 months ago by cboos

  • Milestone next-minor-0.12.x deleted
  • Resolution set to cantfix
  • Status changed from reopened to closed

No feedback, closing again.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cboos. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.